mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 18:53:35 +00:00
vendor updates
This commit is contained in:
@ -406,7 +406,7 @@ type DataSource struct {
|
||||
// Disables backfilling and manual run scheduling
|
||||
// for the data source.
|
||||
ManualRunsDisabled bool `protobuf:"varint,17,opt,name=manual_runs_disabled,json=manualRunsDisabled" json:"manual_runs_disabled,omitempty"`
|
||||
// The minimum interval between two consecutive scheduled runs.
|
||||
// The minimum interval for scheduler to schedule runs.
|
||||
MinimumScheduleInterval *google_protobuf4.Duration `protobuf:"bytes,18,opt,name=minimum_schedule_interval,json=minimumScheduleInterval" json:"minimum_schedule_interval,omitempty"`
|
||||
}
|
||||
|
||||
@ -640,10 +640,8 @@ func (m *ListDataSourcesResponse) GetNextPageToken() string {
|
||||
type CreateTransferConfigRequest struct {
|
||||
// The BigQuery project id where the transfer configuration should be created.
|
||||
// Must be in the format /projects/{project_id}/locations/{location_id}
|
||||
// or
|
||||
// /projects/{project_id}/locations/-
|
||||
// In case when '-' is specified as location_id, location is infered from
|
||||
// the destination dataset region.
|
||||
// If specified location and location of the destination bigquery dataset
|
||||
// do not match - the request will fail.
|
||||
Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
|
||||
// Data transfer configuration to create.
|
||||
TransferConfig *TransferConfig `protobuf:"bytes,2,opt,name=transfer_config,json=transferConfig" json:"transfer_config,omitempty"`
|
||||
@ -1230,7 +1228,7 @@ type DataTransferServiceClient interface {
|
||||
GetTransferConfig(ctx context.Context, in *GetTransferConfigRequest, opts ...grpc.CallOption) (*TransferConfig, error)
|
||||
// Returns information about all data transfers in the project.
|
||||
ListTransferConfigs(ctx context.Context, in *ListTransferConfigsRequest, opts ...grpc.CallOption) (*ListTransferConfigsResponse, error)
|
||||
// Creates transfer runs for a time range [range_start_time, range_end_time].
|
||||
// Creates transfer runs for a time range [start_time, end_time].
|
||||
// For each date - or whatever granularity the data source supports - in the
|
||||
// range, one transfer run is created.
|
||||
// Note that runs are created per UTC time in the time range.
|
||||
@ -1398,7 +1396,7 @@ type DataTransferServiceServer interface {
|
||||
GetTransferConfig(context.Context, *GetTransferConfigRequest) (*TransferConfig, error)
|
||||
// Returns information about all data transfers in the project.
|
||||
ListTransferConfigs(context.Context, *ListTransferConfigsRequest) (*ListTransferConfigsResponse, error)
|
||||
// Creates transfer runs for a time range [range_start_time, range_end_time].
|
||||
// Creates transfer runs for a time range [start_time, end_time].
|
||||
// For each date - or whatever granularity the data source supports - in the
|
||||
// range, one transfer run is created.
|
||||
// Note that runs are created per UTC time in the time range.
|
||||
|
170
vendor/google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1/transfer.pb.go
generated
vendored
170
vendor/google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1/transfer.pb.go
generated
vendored
@ -9,7 +9,7 @@ import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf1 "github.com/golang/protobuf/ptypes/struct"
|
||||
import google_protobuf2 "github.com/golang/protobuf/ptypes/timestamp"
|
||||
import _ "google.golang.org/genproto/googleapis/rpc/status"
|
||||
import google_rpc "google.golang.org/genproto/googleapis/rpc/status"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
@ -51,8 +51,6 @@ type TransferState int32
|
||||
const (
|
||||
// State placeholder.
|
||||
TransferState_TRANSFER_STATE_UNSPECIFIED TransferState = 0
|
||||
// Data transfer is inactive.
|
||||
TransferState_INACTIVE TransferState = 1
|
||||
// Data transfer is scheduled and is waiting to be picked up by
|
||||
// data transfer backend.
|
||||
TransferState_PENDING TransferState = 2
|
||||
@ -68,7 +66,6 @@ const (
|
||||
|
||||
var TransferState_name = map[int32]string{
|
||||
0: "TRANSFER_STATE_UNSPECIFIED",
|
||||
1: "INACTIVE",
|
||||
2: "PENDING",
|
||||
3: "RUNNING",
|
||||
4: "SUCCEEDED",
|
||||
@ -77,7 +74,6 @@ var TransferState_name = map[int32]string{
|
||||
}
|
||||
var TransferState_value = map[string]int32{
|
||||
"TRANSFER_STATE_UNSPECIFIED": 0,
|
||||
"INACTIVE": 1,
|
||||
"PENDING": 2,
|
||||
"RUNNING": 3,
|
||||
"SUCCEEDED": 4,
|
||||
@ -130,6 +126,7 @@ func (TransferMessage_MessageSeverity) EnumDescriptor() ([]byte, []int) {
|
||||
// When a new transfer configuration is created, the specified
|
||||
// `destination_dataset_id` is created when needed and shared with the
|
||||
// appropriate data source service account.
|
||||
// Next id: 20
|
||||
type TransferConfig struct {
|
||||
// The resource name of the transfer config.
|
||||
// Transfer config names have the form
|
||||
@ -178,6 +175,8 @@ type TransferConfig struct {
|
||||
// Output only. Unique ID of the user on whose behalf transfer is done.
|
||||
// Applicable only to data sources that do not support service accounts.
|
||||
// When set to 0, the data source service account credentials are used.
|
||||
// May be negative. Note, that this identifier is not stable.
|
||||
// It may change over time even for the same user.
|
||||
UserId int64 `protobuf:"varint,11,opt,name=user_id,json=userId" json:"user_id,omitempty"`
|
||||
// Output only. Region in which BigQuery dataset is located.
|
||||
DatasetRegion string `protobuf:"bytes,14,opt,name=dataset_region,json=datasetRegion" json:"dataset_region,omitempty"`
|
||||
@ -280,22 +279,20 @@ func (m *TransferConfig) GetDatasetRegion() string {
|
||||
}
|
||||
|
||||
// Represents a data transfer run.
|
||||
// Next id: 23
|
||||
// Next id: 27
|
||||
type TransferRun struct {
|
||||
// The resource name of the transfer run.
|
||||
// Transfer run names have the form
|
||||
// `projects/{project_id}/locations/{location}/transferConfigs/{config_id}/runs/{run_id}`.
|
||||
// The name is ignored when creating a transfer run.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
// The BigQuery target dataset id.
|
||||
DestinationDatasetId string `protobuf:"bytes,2,opt,name=destination_dataset_id,json=destinationDatasetId" json:"destination_dataset_id,omitempty"`
|
||||
// Minimum time after which a transfer run can be started.
|
||||
ScheduleTime *google_protobuf2.Timestamp `protobuf:"bytes,3,opt,name=schedule_time,json=scheduleTime" json:"schedule_time,omitempty"`
|
||||
// Data transfer specific parameters.
|
||||
Params *google_protobuf1.Struct `protobuf:"bytes,9,opt,name=params" json:"params,omitempty"`
|
||||
// For batch transfer runs, specifies the date and time that
|
||||
// data should be ingested.
|
||||
RunTime *google_protobuf2.Timestamp `protobuf:"bytes,10,opt,name=run_time,json=runTime" json:"run_time,omitempty"`
|
||||
// Status of the transfer run.
|
||||
ErrorStatus *google_rpc.Status `protobuf:"bytes,21,opt,name=error_status,json=errorStatus" json:"error_status,omitempty"`
|
||||
// Output only. Time when transfer run was started.
|
||||
// Parameter ignored by server for input requests.
|
||||
StartTime *google_protobuf2.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
|
||||
@ -304,6 +301,10 @@ type TransferRun struct {
|
||||
EndTime *google_protobuf2.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
|
||||
// Output only. Last time the data transfer run state was updated.
|
||||
UpdateTime *google_protobuf2.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime" json:"update_time,omitempty"`
|
||||
// Output only. Data transfer specific parameters.
|
||||
Params *google_protobuf1.Struct `protobuf:"bytes,9,opt,name=params" json:"params,omitempty"`
|
||||
// Output only. The BigQuery target dataset id.
|
||||
DestinationDatasetId string `protobuf:"bytes,2,opt,name=destination_dataset_id,json=destinationDatasetId" json:"destination_dataset_id,omitempty"`
|
||||
// Output only. Data source id.
|
||||
DataSourceId string `protobuf:"bytes,7,opt,name=data_source_id,json=dataSourceId" json:"data_source_id,omitempty"`
|
||||
// Data transfer run state. Ignored for input requests.
|
||||
@ -311,7 +312,8 @@ type TransferRun struct {
|
||||
// Output only. Unique ID of the user on whose behalf transfer is done.
|
||||
// Applicable only to data sources that do not support service accounts.
|
||||
// When set to 0, the data source service account credentials are used.
|
||||
// May be negative.
|
||||
// May be negative. Note, that this identifier is not stable.
|
||||
// It may change over time even for the same user.
|
||||
UserId int64 `protobuf:"varint,11,opt,name=user_id,json=userId" json:"user_id,omitempty"`
|
||||
// Output only. Describes the schedule of this transfer run if it was
|
||||
// created as part of a regular schedule. For batch transfer runs that are
|
||||
@ -333,13 +335,6 @@ func (m *TransferRun) GetName() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *TransferRun) GetDestinationDatasetId() string {
|
||||
if m != nil {
|
||||
return m.DestinationDatasetId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *TransferRun) GetScheduleTime() *google_protobuf2.Timestamp {
|
||||
if m != nil {
|
||||
return m.ScheduleTime
|
||||
@ -347,16 +342,16 @@ func (m *TransferRun) GetScheduleTime() *google_protobuf2.Timestamp {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TransferRun) GetParams() *google_protobuf1.Struct {
|
||||
func (m *TransferRun) GetRunTime() *google_protobuf2.Timestamp {
|
||||
if m != nil {
|
||||
return m.Params
|
||||
return m.RunTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TransferRun) GetRunTime() *google_protobuf2.Timestamp {
|
||||
func (m *TransferRun) GetErrorStatus() *google_rpc.Status {
|
||||
if m != nil {
|
||||
return m.RunTime
|
||||
return m.ErrorStatus
|
||||
}
|
||||
return nil
|
||||
}
|
||||
@ -382,6 +377,20 @@ func (m *TransferRun) GetUpdateTime() *google_protobuf2.Timestamp {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TransferRun) GetParams() *google_protobuf1.Struct {
|
||||
if m != nil {
|
||||
return m.Params
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TransferRun) GetDestinationDatasetId() string {
|
||||
if m != nil {
|
||||
return m.DestinationDatasetId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *TransferRun) GetDataSourceId() string {
|
||||
if m != nil {
|
||||
return m.DataSourceId
|
||||
@ -460,62 +469,63 @@ func init() {
|
||||
}
|
||||
|
||||
var fileDescriptor1 = []byte{
|
||||
// 910 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0xdf, 0x6e, 0xe3, 0xc4,
|
||||
0x17, 0xfe, 0xb9, 0xf9, 0x7f, 0xf2, 0x67, 0xa3, 0xd1, 0x0f, 0x6a, 0xaa, 0x05, 0x42, 0x45, 0xa5,
|
||||
0xb0, 0x17, 0xb6, 0x5a, 0xba, 0x42, 0x68, 0x05, 0x28, 0x71, 0x9c, 0x60, 0xb4, 0xf5, 0x66, 0xc7,
|
||||
0x6e, 0x57, 0x8b, 0x2a, 0x59, 0x93, 0x78, 0xea, 0xb5, 0x94, 0xd8, 0xc1, 0x33, 0xee, 0x36, 0x97,
|
||||
0xbc, 0x0a, 0x97, 0x5c, 0xf0, 0x20, 0x5c, 0x70, 0xc9, 0x2b, 0xf0, 0x1a, 0x68, 0xc6, 0x76, 0x94,
|
||||
0xcd, 0x22, 0xa5, 0x95, 0xe0, 0x2a, 0x9e, 0x73, 0xbe, 0xef, 0x9b, 0x6f, 0xce, 0x39, 0x33, 0x81,
|
||||
0xf3, 0x20, 0x8e, 0x83, 0x05, 0xd5, 0xe7, 0x8b, 0x38, 0xf5, 0xf5, 0x59, 0x18, 0xfc, 0x94, 0xd2,
|
||||
0x64, 0xad, 0xfb, 0x84, 0x13, 0x9e, 0x90, 0x88, 0xdd, 0xd0, 0x44, 0xbf, 0x3d, 0xd5, 0x8b, 0x6f,
|
||||
0x6d, 0x95, 0xc4, 0x3c, 0x46, 0x27, 0x19, 0x4b, 0x93, 0x2c, 0xad, 0x60, 0x69, 0xdb, 0x2c, 0xed,
|
||||
0xf6, 0xf4, 0xe8, 0x71, 0x2e, 0x4e, 0x56, 0xa1, 0x4e, 0xa2, 0x28, 0xe6, 0x84, 0x87, 0x71, 0xc4,
|
||||
0x32, 0x91, 0x4d, 0x56, 0xae, 0x66, 0xe9, 0x8d, 0xce, 0x78, 0x92, 0xce, 0x79, 0x9e, 0xfd, 0x74,
|
||||
0x37, 0xcb, 0xc3, 0x25, 0x65, 0x9c, 0x2c, 0x57, 0x39, 0xe0, 0x30, 0x07, 0x24, 0xab, 0xb9, 0xce,
|
||||
0x38, 0xe1, 0x69, 0xae, 0x7b, 0xfc, 0x47, 0x19, 0x3a, 0x6e, 0xee, 0xc2, 0x88, 0xa3, 0x9b, 0x30,
|
||||
0x40, 0x08, 0xca, 0x11, 0x59, 0x52, 0x55, 0xe9, 0x29, 0xfd, 0x06, 0x96, 0xdf, 0xe8, 0x1c, 0x3e,
|
||||
0xf4, 0x29, 0xe3, 0x61, 0x24, 0x4d, 0x79, 0xc2, 0x3b, 0xa3, 0xdc, 0x0b, 0x7d, 0xf5, 0x40, 0xa2,
|
||||
0xfe, 0xbf, 0x95, 0x1d, 0x65, 0x49, 0xcb, 0x47, 0x9f, 0x41, 0xcb, 0x0f, 0xd9, 0x6a, 0x41, 0xd6,
|
||||
0x9e, 0x54, 0x2c, 0x49, 0x6c, 0x33, 0x8f, 0xd9, 0x42, 0xf8, 0x73, 0xe8, 0x08, 0x31, 0x8f, 0xc5,
|
||||
0x69, 0x32, 0xa7, 0x42, 0xb0, 0x22, 0x41, 0x2d, 0x11, 0x75, 0x64, 0xd0, 0xf2, 0x91, 0x0e, 0xd5,
|
||||
0x15, 0x49, 0xc8, 0x92, 0xa9, 0x8d, 0x9e, 0xd2, 0x6f, 0x9e, 0x1d, 0x6a, 0x79, 0x4d, 0x8b, 0x03,
|
||||
0x6b, 0x8e, 0x2c, 0x07, 0xce, 0x61, 0xe8, 0x08, 0xea, 0x6c, 0xfe, 0x86, 0xfa, 0xe9, 0x82, 0xaa,
|
||||
0x35, 0x29, 0xb8, 0x59, 0xa3, 0xaf, 0x40, 0x95, 0x5b, 0x26, 0xf4, 0x26, 0xa1, 0xec, 0x8d, 0xf7,
|
||||
0x36, 0x8c, 0xfc, 0xf8, 0xad, 0xe7, 0x93, 0x35, 0x53, 0x5b, 0x3d, 0xa5, 0x5f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97, 0xd2, 0x93, 0x78, 0xb8, 0x0a, 0x1b, 0xda, 0xd5, 0xe9, 0xef, 0x05,
|
||||
0xee, 0x5a, 0xe2, 0xae, 0x0b, 0xdc, 0xf5, 0x36, 0xee, 0xfa, 0xea, 0x74, 0x56, 0x95, 0xae, 0xbe,
|
||||
0xfc, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xf0, 0xc4, 0x0e, 0x43, 0x6d, 0x08, 0x00, 0x00,
|
||||
// 922 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xdd, 0x6e, 0xe3, 0x44,
|
||||
0x14, 0xc6, 0xf9, 0xcf, 0x71, 0x92, 0x8d, 0x46, 0x2c, 0x35, 0xd5, 0x02, 0xa1, 0xa2, 0x52, 0xd8,
|
||||
0x0b, 0x5b, 0x2d, 0x5d, 0x21, 0xb4, 0x02, 0x94, 0x1f, 0x27, 0x04, 0x6d, 0xb3, 0xd9, 0xb1, 0xdb,
|
||||
0xd5, 0xa2, 0x4a, 0xd6, 0x24, 0x9e, 0x7a, 0x2d, 0x25, 0xb6, 0x99, 0x19, 0x77, 0x9b, 0x87, 0xe0,
|
||||
0x25, 0xb8, 0xe4, 0x82, 0x07, 0xe1, 0x82, 0xd7, 0xe0, 0x35, 0x90, 0xc7, 0x76, 0x94, 0xcd, 0x56,
|
||||
0x4a, 0x8b, 0xc4, 0x55, 0xe7, 0xcc, 0xf9, 0xbe, 0xaf, 0xdf, 0x9c, 0x1f, 0x2b, 0x70, 0xe6, 0x85,
|
||||
0xa1, 0xb7, 0xa4, 0xc6, 0x62, 0x19, 0xc6, 0xae, 0x31, 0xf7, 0xbd, 0x5f, 0x63, 0xca, 0xd6, 0x86,
|
||||
0x4b, 0x04, 0x11, 0x8c, 0x04, 0xfc, 0x9a, 0x32, 0xe3, 0xe6, 0xc4, 0xc8, 0xcf, 0x7a, 0xc4, 0x42,
|
||||
0x11, 0xa2, 0xe3, 0x94, 0xa5, 0x4b, 0x96, 0x9e, 0xb3, 0xf4, 0x6d, 0x96, 0x7e, 0x73, 0x72, 0xf8,
|
||||
0x24, 0x13, 0x27, 0x91, 0x6f, 0x90, 0x20, 0x08, 0x05, 0x11, 0x7e, 0x18, 0xf0, 0x54, 0x64, 0x93,
|
||||
0x95, 0xd1, 0x3c, 0xbe, 0x36, 0xb8, 0x60, 0xf1, 0x42, 0x64, 0xd9, 0x2f, 0x76, 0xb3, 0xc2, 0x5f,
|
||||
0x51, 0x2e, 0xc8, 0x2a, 0xca, 0x00, 0x07, 0x19, 0x80, 0x45, 0x0b, 0x83, 0x0b, 0x22, 0xe2, 0x4c,
|
||||
0xf7, 0xe8, 0xef, 0x12, 0xb4, 0xec, 0xcc, 0xc5, 0x20, 0x0c, 0xae, 0x7d, 0x0f, 0x21, 0x28, 0x05,
|
||||
0x64, 0x45, 0x35, 0xa5, 0xa3, 0x74, 0xeb, 0x58, 0x9e, 0xd1, 0x19, 0x7c, 0xe2, 0x52, 0x2e, 0xfc,
|
||||
0x40, 0x9a, 0x72, 0x12, 0xef, 0x9c, 0x0a, 0xc7, 0x77, 0xb5, 0x82, 0x44, 0x7d, 0xbc, 0x95, 0x1d,
|
||||
0xa6, 0xc9, 0x89, 0x8b, 0xbe, 0x84, 0x86, 0xeb, 0xf3, 0x68, 0x49, 0xd6, 0x8e, 0x54, 0x2c, 0x4a,
|
||||
0xac, 0x9a, 0xdd, 0x4d, 0x13, 0xe1, 0xaf, 0xa0, 0x95, 0x88, 0x39, 0x3c, 0x8c, 0xd9, 0x82, 0x26,
|
||||
0x82, 0x65, 0x09, 0x6a, 0x24, 0xb7, 0x96, 0xbc, 0x9c, 0xb8, 0xc8, 0x80, 0x4a, 0x44, 0x18, 0x59,
|
||||
0x71, 0xad, 0xde, 0x51, 0xba, 0xea, 0xe9, 0x81, 0x9e, 0xd5, 0x34, 0x7f, 0xb0, 0x6e, 0xc9, 0x72,
|
||||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 0x2e, 0x8c,
|
||||
0xe3, 0xe0, 0xce, 0x69, 0xfa, 0x11, 0x9a, 0x79, 0x37, 0xd2, 0xf7, 0x16, 0xf7, 0xbe, 0xb7, 0x91,
|
||||
0x13, 0xe4, 0x83, 0x9f, 0x41, 0x6d, 0x53, 0x2b, 0xd8, 0xcb, 0xad, 0xb2, 0xac, 0x4e, 0xcf, 0xa0,
|
||||
0x41, 0x19, 0x0b, 0x99, 0x93, 0xae, 0x80, 0xf6, 0x58, 0x52, 0x51, 0x4e, 0x65, 0xd1, 0x42, 0xb7,
|
||||
0x64, 0x06, 0xab, 0x12, 0x97, 0x06, 0xe8, 0x3b, 0x00, 0x2e, 0x08, 0x13, 0xf7, 0x6d, 0x6d, 0x5d,
|
||||
0xa2, 0x73, 0xa3, 0x34, 0x70, 0x53, 0x62, 0x79, 0xbf, 0x51, 0x1a, 0xb8, 0x92, 0xb6, 0x33, 0x4d,
|
||||
0x95, 0x07, 0x4d, 0xd3, 0x83, 0x97, 0xe5, 0xbf, 0x2d, 0xf7, 0x87, 0x9b, 0x5b, 0xbd, 0x63, 0x73,
|
||||
0x37, 0xa3, 0x59, 0xfb, 0x1f, 0x47, 0x73, 0x7b, 0xdb, 0x1b, 0xef, 0x6f, 0xfb, 0xd1, 0x9f, 0x05,
|
||||
0x78, 0x94, 0xab, 0x9d, 0x53, 0xce, 0x89, 0x47, 0xd1, 0xf7, 0xd0, 0x58, 0xa5, 0xc7, 0xb4, 0xbe,
|
||||
0xca, 0xfe, 0x75, 0xcb, 0xf0, 0xb2, 0xc0, 0x73, 0xa8, 0x71, 0x7a, 0x43, 0x99, 0x2f, 0xd6, 0xb2,
|
||||
0x42, 0xad, 0xd3, 0xd1, 0x03, 0x9f, 0x95, 0x19, 0xd1, 0xb3, 0xbf, 0x56, 0xa6, 0x86, 0x37, 0xba,
|
||||
0xc9, 0xa7, 0x73, 0x63, 0x91, 0xde, 0x8a, 0xfc, 0xd3, 0x99, 0xdb, 0xa0, 0xb7, 0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f, 0x31, 0x38, 0x4b, 0x5a,
|
||||
0x3e, 0x53, 0x7e, 0x79, 0x95, 0xf1, 0xbc, 0x70, 0x49, 0x02, 0x4f, 0x0f, 0x99, 0x67, 0x78, 0x34,
|
||||
0x90, 0x03, 0x61, 0xa4, 0x29, 0x12, 0xf9, 0x7c, 0xcf, 0x0f, 0x80, 0xe7, 0xdb, 0xf1, 0xef, 0x85,
|
||||
0xf2, 0x78, 0xd0, 0x1f, 0xda, 0x7f, 0x14, 0x8e, 0xc7, 0xa9, 0xf6, 0x40, 0x7a, 0xea, 0xfb, 0xde,
|
||||
0x2b, 0xe9, 0x29, 0xd9, 0xa8, 0xdc, 0x86, 0x7e, 0x79, 0xf2, 0x57, 0x8e, 0xbb, 0x92, 0xb8, 0xab,
|
||||
0x1c, 0x77, 0xb5, 0x8d, 0xbb, 0xba, 0x3c, 0x99, 0x57, 0xa4, 0xab, 0x6f, 0xfe, 0x0d, 0x00, 0x00,
|
||||
0xff, 0xff, 0x0d, 0x74, 0xf0, 0x31, 0x95, 0x08, 0x00, 0x00,
|
||||
}
|
||||
|
1141
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/agent.pb.go
generated
vendored
Normal file
1141
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/agent.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
582
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/context.pb.go
generated
vendored
Normal file
582
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/context.pb.go
generated
vendored
Normal file
@ -0,0 +1,582 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/dialogflow/v2beta1/context.proto
|
||||
|
||||
package dialogflow
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf2 "github.com/golang/protobuf/ptypes/empty"
|
||||
import google_protobuf3 "google.golang.org/genproto/protobuf/field_mask"
|
||||
import google_protobuf4 "github.com/golang/protobuf/ptypes/struct"
|
||||
|
||||
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
|
||||
|
||||
// Represents a context.
|
||||
type Context struct {
|
||||
// Required. The unique identifier of the context. Format:
|
||||
// `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
|
||||
// or
|
||||
// `projects/<Project ID>/agent/runtimes/<Runtime ID>/sessions/<Session
|
||||
// ID>/contexts/<Context ID>`.
|
||||
// Note: Runtimes are under construction and will be available soon.
|
||||
// The Context ID is always converted to lowercase.
|
||||
// If <Runtime ID> is not specified, we assume default 'sandbox' runtime.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
// Optional. The number of conversational query requests after which the
|
||||
// context expires. If set to `0` (the default) the context expires
|
||||
// immediately. Contexts expire automatically after 10 minutes even if there
|
||||
// are no matching queries.
|
||||
LifespanCount int32 `protobuf:"varint,2,opt,name=lifespan_count,json=lifespanCount" json:"lifespan_count,omitempty"`
|
||||
// Optional. The collection of parameters associated with this context.
|
||||
// Refer to [this doc](https://dialogflow.com/docs/actions-and-parameters) for
|
||||
// syntax.
|
||||
Parameters *google_protobuf4.Struct `protobuf:"bytes,3,opt,name=parameters" json:"parameters,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Context) Reset() { *m = Context{} }
|
||||
func (m *Context) String() string { return proto.CompactTextString(m) }
|
||||
func (*Context) ProtoMessage() {}
|
||||
func (*Context) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
|
||||
|
||||
func (m *Context) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Context) GetLifespanCount() int32 {
|
||||
if m != nil {
|
||||
return m.LifespanCount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Context) GetParameters() *google_protobuf4.Struct {
|
||||
if m != nil {
|
||||
return m.Parameters
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// The request message for [Contexts.ListContexts][google.cloud.dialogflow.v2beta1.Contexts.ListContexts].
|
||||
type ListContextsRequest struct {
|
||||
// Required. The session to list all contexts from.
|
||||
// Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
|
||||
// `projects/<Project ID>/agent/runtimes/<Runtime ID>/sessions/<Session ID>`.
|
||||
// Note: Runtimes are under construction and will be available soon.
|
||||
// If <Runtime ID> is not specified, we assume default 'sandbox' runtime.
|
||||
Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
|
||||
// Optional. The maximum number of items to return in a single page. By
|
||||
// default 100 and at most 1000.
|
||||
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
|
||||
// Optional. The next_page_token value returned from a previous list request.
|
||||
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListContextsRequest) Reset() { *m = ListContextsRequest{} }
|
||||
func (m *ListContextsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListContextsRequest) ProtoMessage() {}
|
||||
func (*ListContextsRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} }
|
||||
|
||||
func (m *ListContextsRequest) GetParent() string {
|
||||
if m != nil {
|
||||
return m.Parent
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ListContextsRequest) GetPageSize() int32 {
|
||||
if m != nil {
|
||||
return m.PageSize
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ListContextsRequest) GetPageToken() string {
|
||||
if m != nil {
|
||||
return m.PageToken
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// The response message for [Contexts.ListContexts][google.cloud.dialogflow.v2beta1.Contexts.ListContexts].
|
||||
type ListContextsResponse struct {
|
||||
// The list of contexts. There will be a maximum number of items
|
||||
// returned based on the page_size field in the request.
|
||||
Contexts []*Context `protobuf:"bytes,1,rep,name=contexts" json:"contexts,omitempty"`
|
||||
// Token to retrieve the next page of results, or empty if there are no
|
||||
// more results in the list.
|
||||
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListContextsResponse) Reset() { *m = ListContextsResponse{} }
|
||||
func (m *ListContextsResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListContextsResponse) ProtoMessage() {}
|
||||
func (*ListContextsResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{2} }
|
||||
|
||||
func (m *ListContextsResponse) GetContexts() []*Context {
|
||||
if m != nil {
|
||||
return m.Contexts
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ListContextsResponse) GetNextPageToken() string {
|
||||
if m != nil {
|
||||
return m.NextPageToken
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// The request message for [Contexts.GetContext][google.cloud.dialogflow.v2beta1.Contexts.GetContext].
|
||||
type GetContextRequest struct {
|
||||
// Required. The name of the context. Format:
|
||||
// `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
|
||||
// or `projects/<Project ID>/agent/runtimes/<Runtime ID>/sessions/<Session
|
||||
// ID>/contexts/<Context ID>`. Note: Runtimes are under construction and will
|
||||
// be available soon. If <Runtime ID> is not specified, we assume default
|
||||
// 'sandbox' runtime.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
}
|
||||
|
||||
func (m *GetContextRequest) Reset() { *m = GetContextRequest{} }
|
||||
func (m *GetContextRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetContextRequest) ProtoMessage() {}
|
||||
func (*GetContextRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{3} }
|
||||
|
||||
func (m *GetContextRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// The request message for [Contexts.CreateContext][google.cloud.dialogflow.v2beta1.Contexts.CreateContext].
|
||||
type CreateContextRequest struct {
|
||||
// Required. The session to create a context for.
|
||||
// Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
|
||||
// `projects/<Project ID>/agent/runtimes/<Runtime ID>/sessions/<Session ID>`.
|
||||
// Note: Runtimes are under construction and will be available soon.
|
||||
// If <Runtime ID> is not specified, we assume default 'sandbox' runtime.
|
||||
Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
|
||||
// Required. The context to create.
|
||||
Context *Context `protobuf:"bytes,2,opt,name=context" json:"context,omitempty"`
|
||||
}
|
||||
|
||||
func (m *CreateContextRequest) Reset() { *m = CreateContextRequest{} }
|
||||
func (m *CreateContextRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*CreateContextRequest) ProtoMessage() {}
|
||||
func (*CreateContextRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{4} }
|
||||
|
||||
func (m *CreateContextRequest) GetParent() string {
|
||||
if m != nil {
|
||||
return m.Parent
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *CreateContextRequest) GetContext() *Context {
|
||||
if m != nil {
|
||||
return m.Context
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// The request message for [Contexts.UpdateContext][google.cloud.dialogflow.v2beta1.Contexts.UpdateContext].
|
||||
type UpdateContextRequest struct {
|
||||
// Required. The context to update.
|
||||
Context *Context `protobuf:"bytes,1,opt,name=context" json:"context,omitempty"`
|
||||
// Optional. The mask to control which fields get updated.
|
||||
UpdateMask *google_protobuf3.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"`
|
||||
}
|
||||
|
||||
func (m *UpdateContextRequest) Reset() { *m = UpdateContextRequest{} }
|
||||
func (m *UpdateContextRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*UpdateContextRequest) ProtoMessage() {}
|
||||
func (*UpdateContextRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{5} }
|
||||
|
||||
func (m *UpdateContextRequest) GetContext() *Context {
|
||||
if m != nil {
|
||||
return m.Context
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *UpdateContextRequest) GetUpdateMask() *google_protobuf3.FieldMask {
|
||||
if m != nil {
|
||||
return m.UpdateMask
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// The request message for [Contexts.DeleteContext][google.cloud.dialogflow.v2beta1.Contexts.DeleteContext].
|
||||
type DeleteContextRequest struct {
|
||||
// Required. The name of the context to delete. Format:
|
||||
// `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
|
||||
// or `projects/<Project ID>/agent/runtimes/<Runtime ID>/sessions/<Session
|
||||
// ID>/contexts/<Context ID>`. Note: Runtimes are under construction and will
|
||||
// be available soon. If <Runtime ID> is not specified, we assume default
|
||||
// 'sandbox' runtime.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
}
|
||||
|
||||
func (m *DeleteContextRequest) Reset() { *m = DeleteContextRequest{} }
|
||||
func (m *DeleteContextRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeleteContextRequest) ProtoMessage() {}
|
||||
func (*DeleteContextRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{6} }
|
||||
|
||||
func (m *DeleteContextRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// The request message for [Contexts.DeleteAllContexts][google.cloud.dialogflow.v2beta1.Contexts.DeleteAllContexts].
|
||||
type DeleteAllContextsRequest struct {
|
||||
// Required. The name of the session to delete all contexts from. Format:
|
||||
// `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project
|
||||
// ID>/agent/runtimes/<Runtime ID>/sessions/<Session ID>`. Note: Runtimes are
|
||||
// under construction and will be available soon. If <Runtime ID> is not
|
||||
// specified we assume default 'sandbox' runtime.
|
||||
Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
|
||||
}
|
||||
|
||||
func (m *DeleteAllContextsRequest) Reset() { *m = DeleteAllContextsRequest{} }
|
||||
func (m *DeleteAllContextsRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeleteAllContextsRequest) ProtoMessage() {}
|
||||
func (*DeleteAllContextsRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{7} }
|
||||
|
||||
func (m *DeleteAllContextsRequest) GetParent() string {
|
||||
if m != nil {
|
||||
return m.Parent
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Context)(nil), "google.cloud.dialogflow.v2beta1.Context")
|
||||
proto.RegisterType((*ListContextsRequest)(nil), "google.cloud.dialogflow.v2beta1.ListContextsRequest")
|
||||
proto.RegisterType((*ListContextsResponse)(nil), "google.cloud.dialogflow.v2beta1.ListContextsResponse")
|
||||
proto.RegisterType((*GetContextRequest)(nil), "google.cloud.dialogflow.v2beta1.GetContextRequest")
|
||||
proto.RegisterType((*CreateContextRequest)(nil), "google.cloud.dialogflow.v2beta1.CreateContextRequest")
|
||||
proto.RegisterType((*UpdateContextRequest)(nil), "google.cloud.dialogflow.v2beta1.UpdateContextRequest")
|
||||
proto.RegisterType((*DeleteContextRequest)(nil), "google.cloud.dialogflow.v2beta1.DeleteContextRequest")
|
||||
proto.RegisterType((*DeleteAllContextsRequest)(nil), "google.cloud.dialogflow.v2beta1.DeleteAllContextsRequest")
|
||||
}
|
||||
|
||||
// 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 Contexts service
|
||||
|
||||
type ContextsClient interface {
|
||||
// Returns the list of all contexts in the specified session.
|
||||
ListContexts(ctx context.Context, in *ListContextsRequest, opts ...grpc.CallOption) (*ListContextsResponse, error)
|
||||
// Retrieves the specified context.
|
||||
GetContext(ctx context.Context, in *GetContextRequest, opts ...grpc.CallOption) (*Context, error)
|
||||
// Creates a context.
|
||||
CreateContext(ctx context.Context, in *CreateContextRequest, opts ...grpc.CallOption) (*Context, error)
|
||||
// Updates the specified context.
|
||||
UpdateContext(ctx context.Context, in *UpdateContextRequest, opts ...grpc.CallOption) (*Context, error)
|
||||
// Deletes the specified context.
|
||||
DeleteContext(ctx context.Context, in *DeleteContextRequest, opts ...grpc.CallOption) (*google_protobuf2.Empty, error)
|
||||
// Deletes all active contexts in the specified session.
|
||||
DeleteAllContexts(ctx context.Context, in *DeleteAllContextsRequest, opts ...grpc.CallOption) (*google_protobuf2.Empty, error)
|
||||
}
|
||||
|
||||
type contextsClient struct {
|
||||
cc *grpc.ClientConn
|
||||
}
|
||||
|
||||
func NewContextsClient(cc *grpc.ClientConn) ContextsClient {
|
||||
return &contextsClient{cc}
|
||||
}
|
||||
|
||||
func (c *contextsClient) ListContexts(ctx context.Context, in *ListContextsRequest, opts ...grpc.CallOption) (*ListContextsResponse, error) {
|
||||
out := new(ListContextsResponse)
|
||||
err := grpc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Contexts/ListContexts", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *contextsClient) GetContext(ctx context.Context, in *GetContextRequest, opts ...grpc.CallOption) (*Context, error) {
|
||||
out := new(Context)
|
||||
err := grpc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Contexts/GetContext", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *contextsClient) CreateContext(ctx context.Context, in *CreateContextRequest, opts ...grpc.CallOption) (*Context, error) {
|
||||
out := new(Context)
|
||||
err := grpc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Contexts/CreateContext", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *contextsClient) UpdateContext(ctx context.Context, in *UpdateContextRequest, opts ...grpc.CallOption) (*Context, error) {
|
||||
out := new(Context)
|
||||
err := grpc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Contexts/UpdateContext", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *contextsClient) DeleteContext(ctx context.Context, in *DeleteContextRequest, opts ...grpc.CallOption) (*google_protobuf2.Empty, error) {
|
||||
out := new(google_protobuf2.Empty)
|
||||
err := grpc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Contexts/DeleteContext", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *contextsClient) DeleteAllContexts(ctx context.Context, in *DeleteAllContextsRequest, opts ...grpc.CallOption) (*google_protobuf2.Empty, error) {
|
||||
out := new(google_protobuf2.Empty)
|
||||
err := grpc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Contexts/DeleteAllContexts", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for Contexts service
|
||||
|
||||
type ContextsServer interface {
|
||||
// Returns the list of all contexts in the specified session.
|
||||
ListContexts(context.Context, *ListContextsRequest) (*ListContextsResponse, error)
|
||||
// Retrieves the specified context.
|
||||
GetContext(context.Context, *GetContextRequest) (*Context, error)
|
||||
// Creates a context.
|
||||
CreateContext(context.Context, *CreateContextRequest) (*Context, error)
|
||||
// Updates the specified context.
|
||||
UpdateContext(context.Context, *UpdateContextRequest) (*Context, error)
|
||||
// Deletes the specified context.
|
||||
DeleteContext(context.Context, *DeleteContextRequest) (*google_protobuf2.Empty, error)
|
||||
// Deletes all active contexts in the specified session.
|
||||
DeleteAllContexts(context.Context, *DeleteAllContextsRequest) (*google_protobuf2.Empty, error)
|
||||
}
|
||||
|
||||
func RegisterContextsServer(s *grpc.Server, srv ContextsServer) {
|
||||
s.RegisterService(&_Contexts_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _Contexts_ListContexts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ListContextsRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(ContextsServer).ListContexts(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.dialogflow.v2beta1.Contexts/ListContexts",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ContextsServer).ListContexts(ctx, req.(*ListContextsRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Contexts_GetContext_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(GetContextRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(ContextsServer).GetContext(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.dialogflow.v2beta1.Contexts/GetContext",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ContextsServer).GetContext(ctx, req.(*GetContextRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Contexts_CreateContext_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(CreateContextRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(ContextsServer).CreateContext(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.dialogflow.v2beta1.Contexts/CreateContext",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ContextsServer).CreateContext(ctx, req.(*CreateContextRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Contexts_UpdateContext_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(UpdateContextRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(ContextsServer).UpdateContext(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.dialogflow.v2beta1.Contexts/UpdateContext",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ContextsServer).UpdateContext(ctx, req.(*UpdateContextRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Contexts_DeleteContext_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(DeleteContextRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(ContextsServer).DeleteContext(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.dialogflow.v2beta1.Contexts/DeleteContext",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ContextsServer).DeleteContext(ctx, req.(*DeleteContextRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Contexts_DeleteAllContexts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(DeleteAllContextsRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(ContextsServer).DeleteAllContexts(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.dialogflow.v2beta1.Contexts/DeleteAllContexts",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ContextsServer).DeleteAllContexts(ctx, req.(*DeleteAllContextsRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _Contexts_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "google.cloud.dialogflow.v2beta1.Contexts",
|
||||
HandlerType: (*ContextsServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "ListContexts",
|
||||
Handler: _Contexts_ListContexts_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "GetContext",
|
||||
Handler: _Contexts_GetContext_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "CreateContext",
|
||||
Handler: _Contexts_CreateContext_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "UpdateContext",
|
||||
Handler: _Contexts_UpdateContext_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "DeleteContext",
|
||||
Handler: _Contexts_DeleteContext_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "DeleteAllContexts",
|
||||
Handler: _Contexts_DeleteAllContexts_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/cloud/dialogflow/v2beta1/context.proto",
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/cloud/dialogflow/v2beta1/context.proto", fileDescriptor1) }
|
||||
|
||||
var fileDescriptor1 = []byte{
|
||||
// 793 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcd, 0x6f, 0xd3, 0x48,
|
||||
0x14, 0xd7, 0xb8, 0xbb, 0xfd, 0x98, 0x34, 0xbb, 0xea, 0x6c, 0xd4, 0x8d, 0xd2, 0xae, 0x1a, 0x79,
|
||||
0xb5, 0x4b, 0x14, 0x09, 0x5b, 0x98, 0x2f, 0x41, 0x05, 0x52, 0x9b, 0xd0, 0xaa, 0x52, 0x91, 0xaa,
|
||||
0xb4, 0x70, 0xe8, 0x25, 0x9a, 0x26, 0x2f, 0x96, 0xa9, 0x33, 0x63, 0x3c, 0x13, 0x28, 0x45, 0x39,
|
||||
0xf0, 0x71, 0xe1, 0xc4, 0x01, 0x09, 0xc4, 0x09, 0x89, 0x03, 0x87, 0xfe, 0x3b, 0xfc, 0x0b, 0x3d,
|
||||
0x72, 0xe0, 0xc8, 0x0d, 0x64, 0x7b, 0x9c, 0x8f, 0xc6, 0x25, 0x49, 0xcb, 0xcd, 0x7e, 0xf3, 0x7b,
|
||||
0x6f, 0x7e, 0xbf, 0x37, 0xbf, 0x79, 0x36, 0xbe, 0x68, 0x73, 0x6e, 0xbb, 0x60, 0xd6, 0x5c, 0xde,
|
||||
0xaa, 0x9b, 0x75, 0x87, 0xba, 0xdc, 0x6e, 0xb8, 0xfc, 0xb1, 0xf9, 0xc8, 0xda, 0x03, 0x49, 0x2f,
|
||||
0x99, 0x35, 0xce, 0x24, 0x1c, 0x48, 0xc3, 0xf3, 0xb9, 0x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x10, 0xc8, 0x3f, 0x01, 0x09, 0x1b, 0xaa, 0x92, 0xef,
|
||||
0x03, 0x0b, 0x49, 0xcc, 0x54, 0x42, 0xf8, 0x4e, 0x10, 0xd0, 0x5f, 0x22, 0x9c, 0xe9, 0xdf, 0x4b,
|
||||
0x78, 0x9c, 0x09, 0x20, 0x65, 0x3c, 0xad, 0xce, 0x4b, 0x64, 0x51, 0x7e, 0xa2, 0x90, 0xb2, 0x0a,
|
||||
0xc6, 0x90, 0x13, 0x33, 0x54, 0x91, 0x4a, 0x27, 0x93, 0xfc, 0x8f, 0xff, 0x64, 0x70, 0x20, 0xab,
|
||||
0x3d, 0x14, 0xb4, 0x90, 0x42, 0x3a, 0x08, 0x6f, 0x75, 0x68, 0x5c, 0xc0, 0x73, 0xeb, 0x10, 0x93,
|
||||
0x88, 0xf5, 0x26, 0xb4, 0x5e, 0xf7, 0x71, 0xa6, 0xe4, 0x03, 0x95, 0x70, 0x02, 0x7b, 0x5a, 0x6f,
|
||||
0x56, 0xf1, 0x94, 0x22, 0x13, 0x6e, 0x3c, 0x8e, 0x8a, 0x38, 0x51, 0x7f, 0x87, 0x70, 0xe6, 0x9e,
|
||||
0x57, 0x1f, 0xdc, 0xb4, 0xa7, 0x38, 0x3a, 0x63, 0x71, 0xb2, 0x8c, 0x53, 0xad, 0xb0, 0x76, 0xe8,
|
||||
0x4e, 0x45, 0x32, 0x37, 0xe0, 0x92, 0xb5, 0xc0, 0xc0, 0x77, 0xa9, 0xd8, 0xaf, 0xe0, 0x08, 0x1e,
|
||||
0x3c, 0xeb, 0x45, 0x9c, 0x29, 0x83, 0x0b, 0x03, 0xc4, 0x92, 0x3a, 0x67, 0xe1, 0x6c, 0x84, 0x5d,
|
||||
0x71, 0xdd, 0x11, 0x9d, 0x65, 0x7d, 0x4f, 0xe1, 0xe9, 0x18, 0x4b, 0x9e, 0x69, 0x78, 0xb6, 0xd7,
|
||||
0x2a, 0xe4, 0xca, 0x50, 0xb5, 0x09, 0x2e,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 0xdf, 0x30, 0x1a, 0xa1, 0x37, 0x49, 0xc3, 0x2b, 0x37, 0x3f, 0x30,
|
||||
0xfc, 0xee, 0x04, 0x9f, 0xf6, 0xce, 0x75, 0x28, 0x9e, 0xf9, 0x3a, 0x14, 0x7f, 0xc1, 0x75, 0xf8,
|
||||
0x82, 0xf0, 0xdc, 0xc0, 0x1c, 0x25, 0x37, 0x46, 0x94, 0x3a, 0x38, 0x7b, 0xc7, 0x92, 0x3b, 0xde,
|
||||
0xc0, 0x2b, 0x9e, 0xdf, 0xfa, 0xab, 0x47, 0x08, 0xff, 0x5b, 0xe3, 0xcd, 0x61, 0xf2, 0x56, 0x67,
|
||||
0x95, 0xac, 0xad, 0x40, 0xc4, 0x16, 0xda, 0xdd, 0x50, 0x09, 0x36, 0x77, 0x29, 0xb3, 0x0d, 0xee,
|
||||
0xdb, 0xa6, 0x0d, 0x2c, 0x94, 0x68, 0x46, 0x4b, 0xd4, 0x73, 0xc4, 0xa9, 0xff, 0x8a, 0xcb, 0xdd,
|
||||
0xd0, 0x37, 0x84, 0x3e, 0x6a, 0x5a, 0x79, 0xed, 0x48, 0x5b, 0x5a, 0x8f, 0x6a, 0x96, 0x42, 0x12,
|
||||
0xe5, 0x2e, 0x89, 0xfb, 0x51, 0xd2, 0xde, 0x64, 0x58, 0xff, 0xf2, 0x8f, 0x00, 0x00, 0x00, 0xff,
|
||||
0xff, 0x61, 0xec, 0x01, 0x66, 0x8a, 0x0a, 0x00, 0x00,
|
||||
}
|
1271
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/entity_type.pb.go
generated
vendored
Normal file
1271
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/entity_type.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
2560
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/intent.pb.go
generated
vendored
Normal file
2560
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/intent.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1258
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/session.pb.go
generated
vendored
Normal file
1258
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/session.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
573
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/session_entity_type.pb.go
generated
vendored
Normal file
573
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/session_entity_type.pb.go
generated
vendored
Normal file
@ -0,0 +1,573 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/dialogflow/v2beta1/session_entity_type.proto
|
||||
|
||||
package dialogflow
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf2 "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
|
||||
|
||||
// The types of modifications for a session entity type.
|
||||
type SessionEntityType_EntityOverrideMode int32
|
||||
|
||||
const (
|
||||
// Not specified. This value should be never used.
|
||||
SessionEntityType_ENTITY_OVERRIDE_MODE_UNSPECIFIED SessionEntityType_EntityOverrideMode = 0
|
||||
// The collection of session entities overrides the collection of entities
|
||||
// in the corresponding developer entity type.
|
||||
SessionEntityType_ENTITY_OVERRIDE_MODE_OVERRIDE SessionEntityType_EntityOverrideMode = 1
|
||||
// The collection of session entities extends the collection of entities in
|
||||
// the corresponding developer entity type.
|
||||
// Calls to `ListSessionEntityTypes`, `GetSessionEntityType`,
|
||||
// `CreateSessionEntityType` and `UpdateSessionEntityType` return the full
|
||||
// collection of entities from the developer entity type in the agent's
|
||||
// default language and the session entity type.
|
||||
SessionEntityType_ENTITY_OVERRIDE_MODE_SUPPLEMENT SessionEntityType_EntityOverrideMode = 2
|
||||
)
|
||||
|
||||
var SessionEntityType_EntityOverrideMode_name = map[int32]string{
|
||||
0: "ENTITY_OVERRIDE_MODE_UNSPECIFIED",
|
||||
1: "ENTITY_OVERRIDE_MODE_OVERRIDE",
|
||||
2: "ENTITY_OVERRIDE_MODE_SUPPLEMENT",
|
||||
}
|
||||
var SessionEntityType_EntityOverrideMode_value = map[string]int32{
|
||||
"ENTITY_OVERRIDE_MODE_UNSPECIFIED": 0,
|
||||
"ENTITY_OVERRIDE_MODE_OVERRIDE": 1,
|
||||
"ENTITY_OVERRIDE_MODE_SUPPLEMENT": 2,
|
||||
}
|
||||
|
||||
func (x SessionEntityType_EntityOverrideMode) String() string {
|
||||
return proto.EnumName(SessionEntityType_EntityOverrideMode_name, int32(x))
|
||||
}
|
||||
func (SessionEntityType_EntityOverrideMode) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor5, []int{0, 0}
|
||||
}
|
||||
|
||||
// Represents a session entity type.
|
||||
//
|
||||
// Extends or replaces a developer entity type at the user session level (we
|
||||
// refer to the entity types defined at the agent level as "developer entity
|
||||
// types").
|
||||
//
|
||||
// Note: session entity types apply to all queries, regardless of the language.
|
||||
type SessionEntityType struct {
|
||||
// Required. The unique identifier of this session entity type. Format:
|
||||
// `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
|
||||
// Display Name>`, or
|
||||
// `projects/<Project ID>/agent/runtimes/<Runtime ID>sessions/<Session
|
||||
// ID>/entityTypes/<Entity Type Display Name>`.
|
||||
// Note: Runtimes are under construction and will be available soon.
|
||||
// If <Runtime ID> is not specified, we assume default 'sandbox' runtime.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
// Required. Indicates whether the additional data should override or
|
||||
// supplement the developer entity type definition.
|
||||
EntityOverrideMode SessionEntityType_EntityOverrideMode `protobuf:"varint,2,opt,name=entity_override_mode,json=entityOverrideMode,enum=google.cloud.dialogflow.v2beta1.SessionEntityType_EntityOverrideMode" json:"entity_override_mode,omitempty"`
|
||||
// Required. The collection of entities associated with this session entity
|
||||
// type.
|
||||
Entities []*EntityType_Entity `protobuf:"bytes,3,rep,name=entities" json:"entities,omitempty"`
|
||||
}
|
||||
|
||||
func (m *SessionEntityType) Reset() { *m = SessionEntityType{} }
|
||||
func (m *SessionEntityType) String() string { return proto.CompactTextString(m) }
|
||||
func (*SessionEntityType) ProtoMessage() {}
|
||||
func (*SessionEntityType) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{0} }
|
||||
|
||||
func (m *SessionEntityType) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *SessionEntityType) GetEntityOverrideMode() SessionEntityType_EntityOverrideMode {
|
||||
if m != nil {
|
||||
return m.EntityOverrideMode
|
||||
}
|
||||
return SessionEntityType_ENTITY_OVERRIDE_MODE_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *SessionEntityType) GetEntities() []*EntityType_Entity {
|
||||
if m != nil {
|
||||
return m.Entities
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// The request message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypes].
|
||||
type ListSessionEntityTypesRequest struct {
|
||||
// Required. The session to list all session entity types from.
|
||||
// Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
|
||||
// `projects/<Project ID>/agent/runtimes/<Runtime ID>/sessions/<Session ID>`.
|
||||
// Note: Runtimes are under construction and will be available soon.
|
||||
// If <Runtime ID> is not specified, we assume default 'sandbox' runtime.
|
||||
Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
|
||||
// Optional. The maximum number of items to return in a single page. By
|
||||
// default 100 and at most 1000.
|
||||
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
|
||||
// Optional. The next_page_token value returned from a previous list request.
|
||||
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListSessionEntityTypesRequest) Reset() { *m = ListSessionEntityTypesRequest{} }
|
||||
func (m *ListSessionEntityTypesRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListSessionEntityTypesRequest) ProtoMessage() {}
|
||||
func (*ListSessionEntityTypesRequest) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{1} }
|
||||
|
||||
func (m *ListSessionEntityTypesRequest) GetParent() string {
|
||||
if m != nil {
|
||||
return m.Parent
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ListSessionEntityTypesRequest) GetPageSize() int32 {
|
||||
if m != nil {
|
||||
return m.PageSize
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ListSessionEntityTypesRequest) GetPageToken() string {
|
||||
if m != nil {
|
||||
return m.PageToken
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// The response message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypes].
|
||||
type ListSessionEntityTypesResponse struct {
|
||||
// The list of session entity types. There will be a maximum number of items
|
||||
// returned based on the page_size field in the request.
|
||||
SessionEntityTypes []*SessionEntityType `protobuf:"bytes,1,rep,name=session_entity_types,json=sessionEntityTypes" json:"session_entity_types,omitempty"`
|
||||
// Token to retrieve the next page of results, or empty if there are no
|
||||
// more results in the list.
|
||||
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListSessionEntityTypesResponse) Reset() { *m = ListSessionEntityTypesResponse{} }
|
||||
func (m *ListSessionEntityTypesResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListSessionEntityTypesResponse) ProtoMessage() {}
|
||||
func (*ListSessionEntityTypesResponse) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{2} }
|
||||
|
||||
func (m *ListSessionEntityTypesResponse) GetSessionEntityTypes() []*SessionEntityType {
|
||||
if m != nil {
|
||||
return m.SessionEntityTypes
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ListSessionEntityTypesResponse) GetNextPageToken() string {
|
||||
if m != nil {
|
||||
return m.NextPageToken
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// The request message for [SessionEntityTypes.GetSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.GetSessionEntityType].
|
||||
type GetSessionEntityTypeRequest struct {
|
||||
// Required. The name of the session entity type. Format:
|
||||
// `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
|
||||
// Display Name>` or `projects/<Project ID>/agent/runtimes/<Runtime
|
||||
// ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`. Note:
|
||||
// Runtimes are under construction and will be available soon. If <Runtime ID>
|
||||
// is not specified, we assume default 'sandbox' runtime.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
}
|
||||
|
||||
func (m *GetSessionEntityTypeRequest) Reset() { *m = GetSessionEntityTypeRequest{} }
|
||||
func (m *GetSessionEntityTypeRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetSessionEntityTypeRequest) ProtoMessage() {}
|
||||
func (*GetSessionEntityTypeRequest) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{3} }
|
||||
|
||||
func (m *GetSessionEntityTypeRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// The request message for [SessionEntityTypes.CreateSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.CreateSessionEntityType].
|
||||
type CreateSessionEntityTypeRequest struct {
|
||||
// Required. The session to create a session entity type for.
|
||||
// Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
|
||||
// `projects/<Project ID>/agent/runtimes/<Runtime ID>/sessions/<Session ID>`.
|
||||
// Note: Runtimes are under construction and will be available soon.
|
||||
// If <Runtime ID> is not specified, we assume default 'sandbox' runtime.
|
||||
Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
|
||||
// Required. The session entity type to create.
|
||||
SessionEntityType *SessionEntityType `protobuf:"bytes,2,opt,name=session_entity_type,json=sessionEntityType" json:"session_entity_type,omitempty"`
|
||||
}
|
||||
|
||||
func (m *CreateSessionEntityTypeRequest) Reset() { *m = CreateSessionEntityTypeRequest{} }
|
||||
func (m *CreateSessionEntityTypeRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*CreateSessionEntityTypeRequest) ProtoMessage() {}
|
||||
func (*CreateSessionEntityTypeRequest) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{4} }
|
||||
|
||||
func (m *CreateSessionEntityTypeRequest) GetParent() string {
|
||||
if m != nil {
|
||||
return m.Parent
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *CreateSessionEntityTypeRequest) GetSessionEntityType() *SessionEntityType {
|
||||
if m != nil {
|
||||
return m.SessionEntityType
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// The request message for [SessionEntityTypes.UpdateSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.UpdateSessionEntityType].
|
||||
type UpdateSessionEntityTypeRequest struct {
|
||||
// Required. The entity type to update. Format:
|
||||
// `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
|
||||
// Display Name>` or `projects/<Project ID>/agent/runtimes/<Runtime
|
||||
// ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`. Note:
|
||||
// Runtimes are under construction and will be available soon. If <Runtime ID>
|
||||
// is not specified, we assume default 'sandbox' runtime.
|
||||
SessionEntityType *SessionEntityType `protobuf:"bytes,1,opt,name=session_entity_type,json=sessionEntityType" json:"session_entity_type,omitempty"`
|
||||
// Optional. The mask to control which fields get updated.
|
||||
UpdateMask *google_protobuf3.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"`
|
||||
}
|
||||
|
||||
func (m *UpdateSessionEntityTypeRequest) Reset() { *m = UpdateSessionEntityTypeRequest{} }
|
||||
func (m *UpdateSessionEntityTypeRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*UpdateSessionEntityTypeRequest) ProtoMessage() {}
|
||||
func (*UpdateSessionEntityTypeRequest) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{5} }
|
||||
|
||||
func (m *UpdateSessionEntityTypeRequest) GetSessionEntityType() *SessionEntityType {
|
||||
if m != nil {
|
||||
return m.SessionEntityType
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *UpdateSessionEntityTypeRequest) GetUpdateMask() *google_protobuf3.FieldMask {
|
||||
if m != nil {
|
||||
return m.UpdateMask
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// The request message for [SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.DeleteSessionEntityType].
|
||||
type DeleteSessionEntityTypeRequest struct {
|
||||
// Required. The name of the entity type to delete. Format:
|
||||
// `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
|
||||
// Display Name>` or `projects/<Project ID>/agent/runtimes/<Runtime
|
||||
// ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`. Note:
|
||||
// Runtimes are under construction and will be available soon. If <Runtime ID>
|
||||
// is not specified, we assume default 'sandbox' runtime.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
}
|
||||
|
||||
func (m *DeleteSessionEntityTypeRequest) Reset() { *m = DeleteSessionEntityTypeRequest{} }
|
||||
func (m *DeleteSessionEntityTypeRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeleteSessionEntityTypeRequest) ProtoMessage() {}
|
||||
func (*DeleteSessionEntityTypeRequest) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{6} }
|
||||
|
||||
func (m *DeleteSessionEntityTypeRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*SessionEntityType)(nil), "google.cloud.dialogflow.v2beta1.SessionEntityType")
|
||||
proto.RegisterType((*ListSessionEntityTypesRequest)(nil), "google.cloud.dialogflow.v2beta1.ListSessionEntityTypesRequest")
|
||||
proto.RegisterType((*ListSessionEntityTypesResponse)(nil), "google.cloud.dialogflow.v2beta1.ListSessionEntityTypesResponse")
|
||||
proto.RegisterType((*GetSessionEntityTypeRequest)(nil), "google.cloud.dialogflow.v2beta1.GetSessionEntityTypeRequest")
|
||||
proto.RegisterType((*CreateSessionEntityTypeRequest)(nil), "google.cloud.dialogflow.v2beta1.CreateSessionEntityTypeRequest")
|
||||
proto.RegisterType((*UpdateSessionEntityTypeRequest)(nil), "google.cloud.dialogflow.v2beta1.UpdateSessionEntityTypeRequest")
|
||||
proto.RegisterType((*DeleteSessionEntityTypeRequest)(nil), "google.cloud.dialogflow.v2beta1.DeleteSessionEntityTypeRequest")
|
||||
proto.RegisterEnum("google.cloud.dialogflow.v2beta1.SessionEntityType_EntityOverrideMode", SessionEntityType_EntityOverrideMode_name, SessionEntityType_EntityOverrideMode_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 SessionEntityTypes service
|
||||
|
||||
type SessionEntityTypesClient interface {
|
||||
// Returns the list of all session entity types in the specified session.
|
||||
ListSessionEntityTypes(ctx context.Context, in *ListSessionEntityTypesRequest, opts ...grpc.CallOption) (*ListSessionEntityTypesResponse, error)
|
||||
// Retrieves the specified session entity type.
|
||||
GetSessionEntityType(ctx context.Context, in *GetSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error)
|
||||
// Creates a session entity type.
|
||||
CreateSessionEntityType(ctx context.Context, in *CreateSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error)
|
||||
// Updates the specified session entity type.
|
||||
UpdateSessionEntityType(ctx context.Context, in *UpdateSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error)
|
||||
// Deletes the specified session entity type.
|
||||
DeleteSessionEntityType(ctx context.Context, in *DeleteSessionEntityTypeRequest, opts ...grpc.CallOption) (*google_protobuf2.Empty, error)
|
||||
}
|
||||
|
||||
type sessionEntityTypesClient struct {
|
||||
cc *grpc.ClientConn
|
||||
}
|
||||
|
||||
func NewSessionEntityTypesClient(cc *grpc.ClientConn) SessionEntityTypesClient {
|
||||
return &sessionEntityTypesClient{cc}
|
||||
}
|
||||
|
||||
func (c *sessionEntityTypesClient) ListSessionEntityTypes(ctx context.Context, in *ListSessionEntityTypesRequest, opts ...grpc.CallOption) (*ListSessionEntityTypesResponse, error) {
|
||||
out := new(ListSessionEntityTypesResponse)
|
||||
err := grpc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.SessionEntityTypes/ListSessionEntityTypes", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *sessionEntityTypesClient) GetSessionEntityType(ctx context.Context, in *GetSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error) {
|
||||
out := new(SessionEntityType)
|
||||
err := grpc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.SessionEntityTypes/GetSessionEntityType", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *sessionEntityTypesClient) CreateSessionEntityType(ctx context.Context, in *CreateSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error) {
|
||||
out := new(SessionEntityType)
|
||||
err := grpc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.SessionEntityTypes/CreateSessionEntityType", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *sessionEntityTypesClient) UpdateSessionEntityType(ctx context.Context, in *UpdateSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error) {
|
||||
out := new(SessionEntityType)
|
||||
err := grpc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.SessionEntityTypes/UpdateSessionEntityType", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *sessionEntityTypesClient) DeleteSessionEntityType(ctx context.Context, in *DeleteSessionEntityTypeRequest, opts ...grpc.CallOption) (*google_protobuf2.Empty, error) {
|
||||
out := new(google_protobuf2.Empty)
|
||||
err := grpc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.SessionEntityTypes/DeleteSessionEntityType", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for SessionEntityTypes service
|
||||
|
||||
type SessionEntityTypesServer interface {
|
||||
// Returns the list of all session entity types in the specified session.
|
||||
ListSessionEntityTypes(context.Context, *ListSessionEntityTypesRequest) (*ListSessionEntityTypesResponse, error)
|
||||
// Retrieves the specified session entity type.
|
||||
GetSessionEntityType(context.Context, *GetSessionEntityTypeRequest) (*SessionEntityType, error)
|
||||
// Creates a session entity type.
|
||||
CreateSessionEntityType(context.Context, *CreateSessionEntityTypeRequest) (*SessionEntityType, error)
|
||||
// Updates the specified session entity type.
|
||||
UpdateSessionEntityType(context.Context, *UpdateSessionEntityTypeRequest) (*SessionEntityType, error)
|
||||
// Deletes the specified session entity type.
|
||||
DeleteSessionEntityType(context.Context, *DeleteSessionEntityTypeRequest) (*google_protobuf2.Empty, error)
|
||||
}
|
||||
|
||||
func RegisterSessionEntityTypesServer(s *grpc.Server, srv SessionEntityTypesServer) {
|
||||
s.RegisterService(&_SessionEntityTypes_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _SessionEntityTypes_ListSessionEntityTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ListSessionEntityTypesRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(SessionEntityTypesServer).ListSessionEntityTypes(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.dialogflow.v2beta1.SessionEntityTypes/ListSessionEntityTypes",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(SessionEntityTypesServer).ListSessionEntityTypes(ctx, req.(*ListSessionEntityTypesRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _SessionEntityTypes_GetSessionEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(GetSessionEntityTypeRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(SessionEntityTypesServer).GetSessionEntityType(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.dialogflow.v2beta1.SessionEntityTypes/GetSessionEntityType",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(SessionEntityTypesServer).GetSessionEntityType(ctx, req.(*GetSessionEntityTypeRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _SessionEntityTypes_CreateSessionEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(CreateSessionEntityTypeRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(SessionEntityTypesServer).CreateSessionEntityType(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.dialogflow.v2beta1.SessionEntityTypes/CreateSessionEntityType",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(SessionEntityTypesServer).CreateSessionEntityType(ctx, req.(*CreateSessionEntityTypeRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _SessionEntityTypes_UpdateSessionEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(UpdateSessionEntityTypeRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(SessionEntityTypesServer).UpdateSessionEntityType(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.dialogflow.v2beta1.SessionEntityTypes/UpdateSessionEntityType",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(SessionEntityTypesServer).UpdateSessionEntityType(ctx, req.(*UpdateSessionEntityTypeRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _SessionEntityTypes_DeleteSessionEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(DeleteSessionEntityTypeRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(SessionEntityTypesServer).DeleteSessionEntityType(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.dialogflow.v2beta1.SessionEntityTypes/DeleteSessionEntityType",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(SessionEntityTypesServer).DeleteSessionEntityType(ctx, req.(*DeleteSessionEntityTypeRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _SessionEntityTypes_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "google.cloud.dialogflow.v2beta1.SessionEntityTypes",
|
||||
HandlerType: (*SessionEntityTypesServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "ListSessionEntityTypes",
|
||||
Handler: _SessionEntityTypes_ListSessionEntityTypes_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "GetSessionEntityType",
|
||||
Handler: _SessionEntityTypes_GetSessionEntityType_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "CreateSessionEntityType",
|
||||
Handler: _SessionEntityTypes_CreateSessionEntityType_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "UpdateSessionEntityType",
|
||||
Handler: _SessionEntityTypes_UpdateSessionEntityType_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "DeleteSessionEntityType",
|
||||
Handler: _SessionEntityTypes_DeleteSessionEntityType_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/cloud/dialogflow/v2beta1/session_entity_type.proto",
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/dialogflow/v2beta1/session_entity_type.proto", fileDescriptor5)
|
||||
}
|
||||
|
||||
var fileDescriptor5 = []byte{
|
||||
// 863 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcf, 0x6f, 0xe3, 0x44,
|
||||
0x14, 0x66, 0x5c, 0x58, 0xed, 0xce, 0xf2, 0xa3, 0x3b, 0x54, 0x69, 0x94, 0xd2, 0x34, 0x78, 0x11,
|
||||
0xaa, 0x72, 0xb0, 0xd5, 0xc0, 0x65, 0x59, 0x7e, 0x48, 0xdb, 0x38, 0xab, 0x48, 0x9b, 0x34, 0x72,
|
||||
0xd2, 0x15, 0x94, 0x83, 0xe5, 0xd4, 0xaf, 0x96, 0x69, 0xe2, 0x31, 0x9e, 0xc9, 0x2e, 0x29, 0xea,
|
||||
0xa5, 0xdc, 0xb8, 0x70, 0x40, 0xdc, 0x38, 0x71, 0xe0, 0x80, 0x04, 0xa7, 0xfe, 0x03, 0x1c, 0xf8,
|
||||
0x0b, 0x10, 0x37, 0x8e, 0x5c, 0x39, 0x22, 0x71, 0x03, 0x79, 0xec, 0x34, 0xa5, 0x1e, 0xdb, 0x21,
|
||||
0xdb, 0x9b, 0xe7, 0xcd, 0x7c, 0xef, 0xbd, 0xef, 0x9b, 0xf7, 0x9e, 0x07, 0xdf, 0x73, 0x29, 0x75,
|
||||
0x47, 0xa0, 0x1f, 0x8e, 0xe8, 0xc4, 0xd1, 0x1d, 0xcf, 0x1e, 0x51, 0xf7, 0x68, 0x44, 0x9f, 0xea,
|
||||
0x4f, 0x1a, 0x43, 0xe0, 0xf6, 0x8e, 0xce, 0x80, 0x31, 0x8f, 0xfa, 0x16, 0xf8, 0xdc, 0xe3, 0x53,
|
||||
0x8b, 0x4f, 0x03, 0xd0, 0x82, 0x90, 0x72, 0x4a, 0xb6, 0x62, 0xa8, 0x26, 0xa0, 0xda, 0x1c, 0xaa,
|
||||
0x25, 0xd0, 0xca, 0x6b, 0x89, 0x6f, 0x3b, 0xf0, 0x74, 0xdb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44, 0xea, 0xf2, 0x55, 0xf3, 0x8e, 0x6c, 0x04, 0x1c, 0x7c, 0xac, 0x5e,
|
||||
0x4b, 0x29, 0x49, 0x9d, 0x93, 0x3f, 0x15, 0xbc, 0x9e, 0x31, 0x99, 0x16, 0xd0, 0x31, 0x7f, 0xa6,
|
||||
0x2d, 0xa5, 0xe3, 0xef, 0xb1, 0x8e, 0xbf, 0xa1, 0x46, 0x67, 0xce, 0x5a, 0xf6, 0xf4, 0xfa, 0x9f,
|
||||
0x95, 0x27, 0xd7, 0x96, 0x36, 0x3e, 0x5c, 0x26, 0xca, 0x22, 0x25, 0x2a, 0xd7, 0xfb, 0x1f, 0x84,
|
||||
0xd7, 0x33, 0xc6, 0xe8, 0x02, 0x7a, 0xe7, 0x0f, 0xe0, 0x4a, 0x29, 0x35, 0xca, 0x8d, 0xe8, 0x59,
|
||||
0x38, 0xef, 0xdc, 0xfa, 0xb3, 0x74, 0x6e, 0xfd, 0x5a, 0x3a, 0xf7, 0xc1, 0x39, 0xc2, 0x77, 0x0f,
|
||||
0xe9, 0xb8, 0x88, 0xeb, 0x83, 0x52, 0x8a, 0x66, 0x2f, 0x62, 0xd5, 0x43, 0x07, 0xed, 0x04, 0xea,
|
||||
0xd2, 0x91, 0xed, 0xbb, 0x1a, 0x0d, 0x5d, 0xdd, 0x05, 0x5f, 0x70, 0xd6, 0xe3, 0x2d, 0x3b, 0xf0,
|
||||
0x58, 0xe6, 0x73, 0xfa, 0xfe, 0xdc, 0xf4, 0x37, 0x42, 0xdf, 0x29, 0x4a, 0xb3, 0xf5, 0x83, 0xb2,
|
||||
0xf5, 0x30, 0xf6, 0xb9, 0x2b, 0xd2, 0x69, 0xce, 0xd3, 0x79, 0x1c, 0x83, 0x86, 0x37, 0x84, 0xff,
|
||||
0xb7, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x65, 0x3a, 0xa2, 0x54, 0x27, 0x0c, 0x00, 0x00,
|
||||
}
|
209
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/webhook.pb.go
generated
vendored
Normal file
209
vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/webhook.pb.go
generated
vendored
Normal file
@ -0,0 +1,209 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/dialogflow/v2beta1/webhook.proto
|
||||
|
||||
package dialogflow
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf4 "github.com/golang/protobuf/ptypes/struct"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// The request message for a webhook call.
|
||||
type WebhookRequest struct {
|
||||
// The unique identifier of detectIntent request session.
|
||||
// Can be used to identify end-user inside webhook implementation.
|
||||
// Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
|
||||
Session string `protobuf:"bytes,4,opt,name=session" json:"session,omitempty"`
|
||||
// The unique identifier of the response. Contains the same value as
|
||||
// `[Streaming]DetectIntentResponse.response_id`.
|
||||
ResponseId string `protobuf:"bytes,1,opt,name=response_id,json=responseId" json:"response_id,omitempty"`
|
||||
// The result of the conversational query or event processing. Contains the
|
||||
// same value as `[Streaming]DetectIntentResponse.query_result`.
|
||||
QueryResult *QueryResult `protobuf:"bytes,2,opt,name=query_result,json=queryResult" json:"query_result,omitempty"`
|
||||
// Optional. The contents of the original request that was passed to
|
||||
// `[Streaming]DetectIntent` call.
|
||||
OriginalDetectIntentRequest *OriginalDetectIntentRequest `protobuf:"bytes,3,opt,name=original_detect_intent_request,json=originalDetectIntentRequest" json:"original_detect_intent_request,omitempty"`
|
||||
}
|
||||
|
||||
func (m *WebhookRequest) Reset() { *m = WebhookRequest{} }
|
||||
func (m *WebhookRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*WebhookRequest) ProtoMessage() {}
|
||||
func (*WebhookRequest) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{0} }
|
||||
|
||||
func (m *WebhookRequest) GetSession() string {
|
||||
if m != nil {
|
||||
return m.Session
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *WebhookRequest) GetResponseId() string {
|
||||
if m != nil {
|
||||
return m.ResponseId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *WebhookRequest) GetQueryResult() *QueryResult {
|
||||
if m != nil {
|
||||
return m.QueryResult
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *WebhookRequest) GetOriginalDetectIntentRequest() *OriginalDetectIntentRequest {
|
||||
if m != nil {
|
||||
return m.OriginalDetectIntentRequest
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// The response message for a webhook call.
|
||||
type WebhookResponse struct {
|
||||
// Optional. The text to be shown on the screen. This value is passed directly
|
||||
// to `QueryResult.fulfillment_text`.
|
||||
FulfillmentText string `protobuf:"bytes,1,opt,name=fulfillment_text,json=fulfillmentText" json:"fulfillment_text,omitempty"`
|
||||
// Optional. The collection of rich messages to present to the user. This
|
||||
// value is passed directly to `QueryResult.fulfillment_messages`.
|
||||
FulfillmentMessages []*Intent_Message `protobuf:"bytes,2,rep,name=fulfillment_messages,json=fulfillmentMessages" json:"fulfillment_messages,omitempty"`
|
||||
// Optional. This value is passed directly to `QueryResult.webhook_source`.
|
||||
Source string `protobuf:"bytes,3,opt,name=source" json:"source,omitempty"`
|
||||
// Optional. This value is passed directly to `QueryResult.webhook_payload`.
|
||||
Payload *google_protobuf4.Struct `protobuf:"bytes,4,opt,name=payload" json:"payload,omitempty"`
|
||||
// Optional. The collection of output contexts. This value is passed directly
|
||||
// to `QueryResult.output_contexts`.
|
||||
OutputContexts []*Context `protobuf:"bytes,5,rep,name=output_contexts,json=outputContexts" json:"output_contexts,omitempty"`
|
||||
// Optional. Makes the platform immediately invoke another `DetectIntent` call
|
||||
// internally with the specified event as input.
|
||||
FollowupEventInput *EventInput `protobuf:"bytes,6,opt,name=followup_event_input,json=followupEventInput" json:"followup_event_input,omitempty"`
|
||||
}
|
||||
|
||||
func (m *WebhookResponse) Reset() { *m = WebhookResponse{} }
|
||||
func (m *WebhookResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*WebhookResponse) ProtoMessage() {}
|
||||
func (*WebhookResponse) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{1} }
|
||||
|
||||
func (m *WebhookResponse) GetFulfillmentText() string {
|
||||
if m != nil {
|
||||
return m.FulfillmentText
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *WebhookResponse) GetFulfillmentMessages() []*Intent_Message {
|
||||
if m != nil {
|
||||
return m.FulfillmentMessages
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *WebhookResponse) GetSource() string {
|
||||
if m != nil {
|
||||
return m.Source
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *WebhookResponse) GetPayload() *google_protobuf4.Struct {
|
||||
if m != nil {
|
||||
return m.Payload
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *WebhookResponse) GetOutputContexts() []*Context {
|
||||
if m != nil {
|
||||
return m.OutputContexts
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *WebhookResponse) GetFollowupEventInput() *EventInput {
|
||||
if m != nil {
|
||||
return m.FollowupEventInput
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Represents the contents of the original request that was passed to
|
||||
// the `[Streaming]DetectIntent` call.
|
||||
type OriginalDetectIntentRequest struct {
|
||||
// The source of this request, e.g., `google`, `facebook`, `slack`. It is set
|
||||
// by Dialogflow-owned servers. Possible values of this field correspond to
|
||||
// [Intent.Message.Platform][google.cloud.dialogflow.v2beta1.Intent.Message.Platform].
|
||||
Source string `protobuf:"bytes,1,opt,name=source" json:"source,omitempty"`
|
||||
// Optional. This field is set to the value of `QueryParameters.payload` field
|
||||
// passed in the request.
|
||||
Payload *google_protobuf4.Struct `protobuf:"bytes,3,opt,name=payload" json:"payload,omitempty"`
|
||||
}
|
||||
|
||||
func (m *OriginalDetectIntentRequest) Reset() { *m = OriginalDetectIntentRequest{} }
|
||||
func (m *OriginalDetectIntentRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*OriginalDetectIntentRequest) ProtoMessage() {}
|
||||
func (*OriginalDetectIntentRequest) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{2} }
|
||||
|
||||
func (m *OriginalDetectIntentRequest) GetSource() string {
|
||||
if m != nil {
|
||||
return m.Source
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *OriginalDetectIntentRequest) GetPayload() *google_protobuf4.Struct {
|
||||
if m != nil {
|
||||
return m.Payload
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*WebhookRequest)(nil), "google.cloud.dialogflow.v2beta1.WebhookRequest")
|
||||
proto.RegisterType((*WebhookResponse)(nil), "google.cloud.dialogflow.v2beta1.WebhookResponse")
|
||||
proto.RegisterType((*OriginalDetectIntentRequest)(nil), "google.cloud.dialogflow.v2beta1.OriginalDetectIntentRequest")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/cloud/dialogflow/v2beta1/webhook.proto", fileDescriptor6) }
|
||||
|
||||
var fileDescriptor6 = []byte{
|
||||
// 538 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0x41, 0x6f, 0xd3, 0x30,
|
||||
0x14, 0x56, 0x52, 0xd8, 0x34, 0x77, 0x5a, 0x91, 0x99, 0x20, 0xda, 0x10, 0xad, 0xca, 0xa5, 0x88,
|
||||
0x91, 0x68, 0xe5, 0x08, 0xa7, 0xad, 0x80, 0x7a, 0x40, 0xdb, 0x02, 0x02, 0x09, 0x09, 0x45, 0x6e,
|
||||
0xe2, 0x66, 0x16, 0xae, 0x5f, 0x1a, 0xdb, 0xeb, 0x76, 0xe4, 0x87, 0x20, 0x21, 0x8e, 0xfb, 0x85,
|
||||
0x1c, 0x51, 0x6c, 0x87, 0xf4, 0x52, 0xb2, 0xe3, 0x7b, 0xfe, 0xbe, 0xef, 0x7d, 0xfe, 0xfc, 0x8c,
|
||||
0x5e, 0xe6, 0x00, 0x39, 0xa7, 0x51, 0xca, 0x41, 0x67, 0x51, 0xc6, 0x08, 0x87, 0x7c, 0xce, 0x61,
|
||||
0x15, 0x5d, 0x8d, 0x67, 0x54, 0x91, 0xe3, 0x68, 0x45, 0x67, 0x97, 0x00, 0xdf, 0xc3, 0xa2, 0x04,
|
||||
0x05, 0xb8, 0x6f, 0xe1, 0xa1, 0x81, 0x87, 0x0d, 0x3c, 0x74, 0xf0, 0x83, 0x27, 0x4e, 0x8f, 0x14,
|
||||
0x2c, 0x22, 0x42, 0x80, 0x22, 0x8a, 0x81, 0x90, 0x96, 0x7e, 0xd0, 0x3a, 0x2d, 0x05, 0xa1, 0xe8,
|
||||
0xb5, 0x72, 0xf0, 0xa3, 0x36, 0x38, 0x13, 0x8a, 0x0a, 0x75, 0x57, 0x71, 0x49, 0xa5, 0x64, 0x20,
|
||||
0x1c, 0xbc, 0x76, 0x6a, 0xaa, 0x99, 0x9e, 0x47, 0x52, 0x95, 0x3a, 0x75, 0x62, 0xc3, 0x5f, 0x3e,
|
||||
0xda, 0xfb, 0x62, 0xaf, 0x1e, 0xd3, 0xa5, 0xa6, 0x52, 0xe1, 0x00, 0x6d, 0x3b, 0x85, 0xe0, 0xde,
|
||||
0xc0, 0x1b, 0xed, 0xc4, 0x75, 0x89, 0xfb, 0xa8, 0x5b, 0x52, 0x59, 0x80, 0x90, 0x34, 0x61, 0x59,
|
||||
0xe0, 0x99, 0x53, 0x54, 0xb7, 0xa6, 0x19, 0x3e, 0x43, 0xbb, 0x4b, 0x4d, 0xcb, 0x9b, 0xa4, 0xa4,
|
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, 0xd5, 0xe9,
|
||||
0xa9, 0x25, 0xc4, 0x7b, 0x56, 0xc0, 0x95, 0x12, 0x7f, 0x43, 0xfb, 0x73, 0xe0, 0x1c, 0x56, 0xba,
|
||||
0x48, 0xe8, 0x55, 0x15, 0x02, 0x13, 0x85, 0x56, 0xc1, 0x96, 0xb1, 0xf4, 0xa2, 0x55, 0xf7, 0x6d,
|
||||
0xc5, 0x99, 0x56, 0x94, 0x18, 0xd7, 0x42, 0x4d, 0x6f, 0x78, 0x89, 0x0e, 0xff, 0xf3, 0xb6, 0x6b,
|
||||
0xd9, 0x78, 0x9b, 0xb2, 0xe9, 0xdc, 0x2d, 0x9b, 0x93, 0x5b, 0x0f, 0x3d, 0x4b, 0x61, 0xd1, 0x66,
|
||||
0xf8, 0x64, 0xd7, 0xad, 0xcb, 0x79, 0x25, 0x74, 0xee, 0x7d, 0x9d, 0x3a, 0x42, 0x0e, 0x9c, 0x88,
|
||||
0x3c, 0x84, 0x32, 0x8f, 0x72, 0x2a, 0xcc, 0x98, 0xc8, 0x1e, 0x91, 0x82, 0xc9, 0x8d, 0x1f, 0xfa,
|
||||
0x75, 0xd3, 0xfa, 0xe3, 0x79, 0xbf, 0x7d, 0x7f, 0xf2, 0xee, 0xd6, 0xef, 0xbf, 0xb7, 0x9a, 0xa7,
|
||||
0xc6, 0xc4, 0xa4, 0x31, 0xf1, 0xd9, 0x92, 0x66, 0x5b, 0x46, 0xff, 0xd5, 0xdf, 0x00, 0x00, 0x00,
|
||||
0xff, 0xff, 0x52, 0x6e, 0x3d, 0x85, 0xfa, 0x04, 0x00, 0x00,
|
||||
}
|
1823
vendor/google.golang.org/genproto/googleapis/cloud/ml/v1beta1/job_service.pb.go
generated
vendored
1823
vendor/google.golang.org/genproto/googleapis/cloud/ml/v1beta1/job_service.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
1050
vendor/google.golang.org/genproto/googleapis/cloud/ml/v1beta1/model_service.pb.go
generated
vendored
1050
vendor/google.golang.org/genproto/googleapis/cloud/ml/v1beta1/model_service.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
161
vendor/google.golang.org/genproto/googleapis/cloud/ml/v1beta1/operation_metadata.pb.go
generated
vendored
161
vendor/google.golang.org/genproto/googleapis/cloud/ml/v1beta1/operation_metadata.pb.go
generated
vendored
@ -1,161 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/ml/v1beta1/operation_metadata.proto
|
||||
|
||||
package ml
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf2 "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
|
||||
|
||||
// The operation type.
|
||||
type OperationMetadata_OperationType int32
|
||||
|
||||
const (
|
||||
// Unspecified operation type.
|
||||
OperationMetadata_OPERATION_TYPE_UNSPECIFIED OperationMetadata_OperationType = 0
|
||||
// An operation to create a new version.
|
||||
OperationMetadata_CREATE_VERSION OperationMetadata_OperationType = 1
|
||||
// An operation to delete an existing version.
|
||||
OperationMetadata_DELETE_VERSION OperationMetadata_OperationType = 2
|
||||
// An operation to delete an existing model.
|
||||
OperationMetadata_DELETE_MODEL OperationMetadata_OperationType = 3
|
||||
)
|
||||
|
||||
var OperationMetadata_OperationType_name = map[int32]string{
|
||||
0: "OPERATION_TYPE_UNSPECIFIED",
|
||||
1: "CREATE_VERSION",
|
||||
2: "DELETE_VERSION",
|
||||
3: "DELETE_MODEL",
|
||||
}
|
||||
var OperationMetadata_OperationType_value = map[string]int32{
|
||||
"OPERATION_TYPE_UNSPECIFIED": 0,
|
||||
"CREATE_VERSION": 1,
|
||||
"DELETE_VERSION": 2,
|
||||
"DELETE_MODEL": 3,
|
||||
}
|
||||
|
||||
func (x OperationMetadata_OperationType) String() string {
|
||||
return proto.EnumName(OperationMetadata_OperationType_name, int32(x))
|
||||
}
|
||||
func (OperationMetadata_OperationType) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor2, []int{0, 0}
|
||||
}
|
||||
|
||||
// Represents the metadata of the long-running operation.
|
||||
type OperationMetadata struct {
|
||||
// The time the operation was submitted.
|
||||
CreateTime *google_protobuf2.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime" json:"create_time,omitempty"`
|
||||
// The time operation processing started.
|
||||
StartTime *google_protobuf2.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
|
||||
// The time operation processing completed.
|
||||
EndTime *google_protobuf2.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
|
||||
// Indicates whether a request to cancel this operation has been made.
|
||||
IsCancellationRequested bool `protobuf:"varint,4,opt,name=is_cancellation_requested,json=isCancellationRequested" json:"is_cancellation_requested,omitempty"`
|
||||
// The operation type.
|
||||
OperationType OperationMetadata_OperationType `protobuf:"varint,5,opt,name=operation_type,json=operationType,enum=google.cloud.ml.v1beta1.OperationMetadata_OperationType" json:"operation_type,omitempty"`
|
||||
// Contains the name of the model associated with the operation.
|
||||
ModelName string `protobuf:"bytes,6,opt,name=model_name,json=modelName" json:"model_name,omitempty"`
|
||||
// Contains the version associated with the operation.
|
||||
Version *Version `protobuf:"bytes,7,opt,name=version" json:"version,omitempty"`
|
||||
}
|
||||
|
||||
func (m *OperationMetadata) Reset() { *m = OperationMetadata{} }
|
||||
func (m *OperationMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*OperationMetadata) ProtoMessage() {}
|
||||
func (*OperationMetadata) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
|
||||
|
||||
func (m *OperationMetadata) GetCreateTime() *google_protobuf2.Timestamp {
|
||||
if m != nil {
|
||||
return m.CreateTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *OperationMetadata) GetStartTime() *google_protobuf2.Timestamp {
|
||||
if m != nil {
|
||||
return m.StartTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *OperationMetadata) GetEndTime() *google_protobuf2.Timestamp {
|
||||
if m != nil {
|
||||
return m.EndTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *OperationMetadata) GetIsCancellationRequested() bool {
|
||||
if m != nil {
|
||||
return m.IsCancellationRequested
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *OperationMetadata) GetOperationType() OperationMetadata_OperationType {
|
||||
if m != nil {
|
||||
return m.OperationType
|
||||
}
|
||||
return OperationMetadata_OPERATION_TYPE_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *OperationMetadata) GetModelName() string {
|
||||
if m != nil {
|
||||
return m.ModelName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *OperationMetadata) GetVersion() *Version {
|
||||
if m != nil {
|
||||
return m.Version
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*OperationMetadata)(nil), "google.cloud.ml.v1beta1.OperationMetadata")
|
||||
proto.RegisterEnum("google.cloud.ml.v1beta1.OperationMetadata_OperationType", OperationMetadata_OperationType_name, OperationMetadata_OperationType_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/cloud/ml/v1beta1/operation_metadata.proto", fileDescriptor2) }
|
||||
|
||||
var fileDescriptor2 = []byte{
|
||||
// 457 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x5f, 0x6b, 0xdb, 0x30,
|
||||
0x14, 0xc5, 0xe7, 0xb6, 0x6b, 0x1b, 0x75, 0x0d, 0x99, 0x1f, 0x56, 0x2f, 0x6c, 0xab, 0xe9, 0x53,
|
||||
0x60, 0x60, 0xaf, 0x1d, 0x83, 0x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0xbb, 0x64, 0x82, 0x6f, 0x07, 0xbb, 0x37, 0x4b, 0x74, 0x5a, 0x28, 0xb1, 0x11,
|
||||
0x8d, 0xd6, 0xac, 0x8b, 0x77, 0xf3, 0x66, 0x63, 0x31, 0xe9, 0xea, 0x66, 0xa9, 0xf7, 0xeb, 0xb2,
|
||||
0xc5, 0x2a, 0xc5, 0xa9, 0xac, 0x22, 0xd5, 0x54, 0x71, 0x05, 0xd2, 0x5e, 0x34, 0x76, 0x25, 0x5a,
|
||||
0x33, 0xbd, 0xf1, 0x47, 0x5f, 0x09, 0x3e, 0xdf, 0xb7, 0xae, 0xcf, 0xff, 0x02, 0x00, 0x00, 0xff,
|
||||
0xff, 0x89, 0xf8, 0x21, 0xa7, 0x5f, 0x03, 0x00, 0x00,
|
||||
}
|
343
vendor/google.golang.org/genproto/googleapis/cloud/ml/v1beta1/prediction_service.pb.go
generated
vendored
343
vendor/google.golang.org/genproto/googleapis/cloud/ml/v1beta1/prediction_service.pb.go
generated
vendored
@ -1,343 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/ml/v1beta1/prediction_service.proto
|
||||
|
||||
package ml
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_api3 "google.golang.org/genproto/googleapis/api/httpbody"
|
||||
|
||||
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
|
||||
|
||||
// Request for predictions to be issued against a trained model.
|
||||
//
|
||||
// The body of the request is a single JSON object with a single top-level
|
||||
// field:
|
||||
//
|
||||
// <dl>
|
||||
// <dt>instances</dt>
|
||||
// <dd>A JSON array containing values representing the instances to use for
|
||||
// prediction.</dd>
|
||||
// </dl>
|
||||
//
|
||||
// The structure of each element of the instances list is determined by your
|
||||
// model's input definition. Instances can include named inputs or can contain
|
||||
// only unlabeled values.
|
||||
//
|
||||
// Not all data includes named inputs. Some instances will be simple
|
||||
// JSON values (boolean, number, or string). However, instances are often lists
|
||||
// of simple values, or complex nested lists. Here are some examples of request
|
||||
// bodies:
|
||||
//
|
||||
// CSV data with each row encoded as a string value:
|
||||
// <pre>
|
||||
// {"instances": ["1.0,true,\\"x\\"", "-2.0,false,\\"y\\""]}
|
||||
// </pre>
|
||||
// Plain text:
|
||||
// <pre>
|
||||
// {"instances": ["the quick brown fox", "la bruja le dio"]}
|
||||
// </pre>
|
||||
// Sentences encoded as lists of words (vectors of strings):
|
||||
// <pre>
|
||||
// {
|
||||
// "instances": [
|
||||
// ["the","quick","brown"],
|
||||
// ["la","bruja","le"],
|
||||
// ...
|
||||
// ]
|
||||
// }
|
||||
// </pre>
|
||||
// Floating point scalar values:
|
||||
// <pre>
|
||||
// {"instances": [0.0, 1.1, 2.2]}
|
||||
// </pre>
|
||||
// Vectors of integers:
|
||||
// <pre>
|
||||
// {
|
||||
// "instances": [
|
||||
// [0, 1, 2],
|
||||
// [3, 4, 5],
|
||||
// ...
|
||||
// ]
|
||||
// }
|
||||
// </pre>
|
||||
// Tensors (in this case, two-dimensional tensors):
|
||||
// <pre>
|
||||
// {
|
||||
// "instances": [
|
||||
// [
|
||||
// [0, 1, 2],
|
||||
// [3, 4, 5]
|
||||
// ],
|
||||
// ...
|
||||
// ]
|
||||
// }
|
||||
// </pre>
|
||||
// Images can be represented different ways. In this encoding scheme the first
|
||||
// two dimensions represent the rows and columns of the image, and the third
|
||||
// contains lists (vectors) of the R, G, and B values for each pixel.
|
||||
// <pre>
|
||||
// {
|
||||
// "instances": [
|
||||
// [
|
||||
// [
|
||||
// [138, 30, 66],
|
||||
// [130, 20, 56],
|
||||
// ...
|
||||
// ],
|
||||
// [
|
||||
// [126, 38, 61],
|
||||
// [122, 24, 57],
|
||||
// ...
|
||||
// ],
|
||||
// ...
|
||||
// ],
|
||||
// ...
|
||||
// ]
|
||||
// }
|
||||
// </pre>
|
||||
// JSON strings must be encoded as UTF-8. To send binary data, you must
|
||||
// base64-encode the data and mark it as binary. To mark a JSON string
|
||||
// as binary, replace it with a JSON object with a single attribute named `b64`:
|
||||
// <pre>{"b64": "..."} </pre>
|
||||
// For example:
|
||||
//
|
||||
// Two Serialized tf.Examples (fake data, for illustrative purposes only):
|
||||
// <pre>
|
||||
// {"instances": [{"b64": "X5ad6u"}, {"b64": "IA9j4nx"}]}
|
||||
// </pre>
|
||||
// Two JPEG image byte strings (fake data, for illustrative purposes only):
|
||||
// <pre>
|
||||
// {"instances": [{"b64": "ASa8asdf"}, {"b64": "JLK7ljk3"}]}
|
||||
// </pre>
|
||||
// If your data includes named references, format each instance as a JSON object
|
||||
// with the named references as the keys:
|
||||
//
|
||||
// JSON input data to be preprocessed:
|
||||
// <pre>
|
||||
// {
|
||||
// "instances": [
|
||||
// {
|
||||
// "a": 1.0,
|
||||
// "b": true,
|
||||
// "c": "x"
|
||||
// },
|
||||
// {
|
||||
// "a": -2.0,
|
||||
// "b": false,
|
||||
// "c": "y"
|
||||
// }
|
||||
// ]
|
||||
// }
|
||||
// </pre>
|
||||
// Some models have an underlying TensorFlow graph that accepts multiple input
|
||||
// tensors. In this case, you should use the names of JSON name/value pairs to
|
||||
// identify the input tensors, as shown in the following exmaples:
|
||||
//
|
||||
// For a graph with input tensor aliases "tag" (string) and "image"
|
||||
// (base64-encoded string):
|
||||
// <pre>
|
||||
// {
|
||||
// "instances": [
|
||||
// {
|
||||
// "tag": "beach",
|
||||
// "image": {"b64": "ASa8asdf"}
|
||||
// },
|
||||
// {
|
||||
// "tag": "car",
|
||||
// "image": {"b64": "JLK7ljk3"}
|
||||
// }
|
||||
// ]
|
||||
// }
|
||||
// </pre>
|
||||
// For a graph with input tensor aliases "tag" (string) and "image"
|
||||
// (3-dimensional array of 8-bit ints):
|
||||
// <pre>
|
||||
// {
|
||||
// "instances": [
|
||||
// {
|
||||
// "tag": "beach",
|
||||
// "image": [
|
||||
// [
|
||||
// [138, 30, 66],
|
||||
// [130, 20, 56],
|
||||
// ...
|
||||
// ],
|
||||
// [
|
||||
// [126, 38, 61],
|
||||
// [122, 24, 57],
|
||||
// ...
|
||||
// ],
|
||||
// ...
|
||||
// ]
|
||||
// },
|
||||
// {
|
||||
// "tag": "car",
|
||||
// "image": [
|
||||
// [
|
||||
// [255, 0, 102],
|
||||
// [255, 0, 97],
|
||||
// ...
|
||||
// ],
|
||||
// [
|
||||
// [254, 1, 101],
|
||||
// [254, 2, 93],
|
||||
// ...
|
||||
// ],
|
||||
// ...
|
||||
// ]
|
||||
// },
|
||||
// ...
|
||||
// ]
|
||||
// }
|
||||
// </pre>
|
||||
// If the call is successful, the response body will contain one prediction
|
||||
// entry per instance in the request body. If prediction fails for any
|
||||
// instance, the response body will contain no predictions and will contian
|
||||
// a single error entry instead.
|
||||
type PredictRequest struct {
|
||||
// Required. The resource name of a model or a version.
|
||||
//
|
||||
// Authorization: requires `Viewer` role on the parent project.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
//
|
||||
// Required. The prediction request body.
|
||||
HttpBody *google_api3.HttpBody `protobuf:"bytes,2,opt,name=http_body,json=httpBody" json:"http_body,omitempty"`
|
||||
}
|
||||
|
||||
func (m *PredictRequest) Reset() { *m = PredictRequest{} }
|
||||
func (m *PredictRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*PredictRequest) ProtoMessage() {}
|
||||
func (*PredictRequest) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0} }
|
||||
|
||||
func (m *PredictRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *PredictRequest) GetHttpBody() *google_api3.HttpBody {
|
||||
if m != nil {
|
||||
return m.HttpBody
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*PredictRequest)(nil), "google.cloud.ml.v1beta1.PredictRequest")
|
||||
}
|
||||
|
||||
// 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 OnlinePredictionService service
|
||||
|
||||
type OnlinePredictionServiceClient interface {
|
||||
// Performs prediction on the data in the request.
|
||||
//
|
||||
// **** REMOVE FROM GENERATED DOCUMENTATION
|
||||
Predict(ctx context.Context, in *PredictRequest, opts ...grpc.CallOption) (*google_api3.HttpBody, error)
|
||||
}
|
||||
|
||||
type onlinePredictionServiceClient struct {
|
||||
cc *grpc.ClientConn
|
||||
}
|
||||
|
||||
func NewOnlinePredictionServiceClient(cc *grpc.ClientConn) OnlinePredictionServiceClient {
|
||||
return &onlinePredictionServiceClient{cc}
|
||||
}
|
||||
|
||||
func (c *onlinePredictionServiceClient) Predict(ctx context.Context, in *PredictRequest, opts ...grpc.CallOption) (*google_api3.HttpBody, error) {
|
||||
out := new(google_api3.HttpBody)
|
||||
err := grpc.Invoke(ctx, "/google.cloud.ml.v1beta1.OnlinePredictionService/Predict", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for OnlinePredictionService service
|
||||
|
||||
type OnlinePredictionServiceServer interface {
|
||||
// Performs prediction on the data in the request.
|
||||
//
|
||||
// **** REMOVE FROM GENERATED DOCUMENTATION
|
||||
Predict(context.Context, *PredictRequest) (*google_api3.HttpBody, error)
|
||||
}
|
||||
|
||||
func RegisterOnlinePredictionServiceServer(s *grpc.Server, srv OnlinePredictionServiceServer) {
|
||||
s.RegisterService(&_OnlinePredictionService_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _OnlinePredictionService_Predict_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(PredictRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(OnlinePredictionServiceServer).Predict(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.ml.v1beta1.OnlinePredictionService/Predict",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(OnlinePredictionServiceServer).Predict(ctx, req.(*PredictRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _OnlinePredictionService_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "google.cloud.ml.v1beta1.OnlinePredictionService",
|
||||
HandlerType: (*OnlinePredictionServiceServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "Predict",
|
||||
Handler: _OnlinePredictionService_Predict_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/cloud/ml/v1beta1/prediction_service.proto",
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/cloud/ml/v1beta1/prediction_service.proto", fileDescriptor3) }
|
||||
|
||||
var fileDescriptor3 = []byte{
|
||||
// 312 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0x4d, 0x4a, 0x03, 0x31,
|
||||
0x14, 0xc7, 0x49, 0x11, 0xb5, 0x11, 0x5c, 0x04, 0xb1, 0xb5, 0x08, 0x96, 0xba, 0xb0, 0x74, 0x91,
|
||||
0xd8, 0xba, 0xb2, 0xe2, 0xa6, 0x2b, 0x77, 0x0e, 0x75, 0x21, 0xb8, 0x29, 0xe9, 0x4c, 0x48, 0x23,
|
||||
0x99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||
0x3f, 0x3e, 0xbf, 0x36, 0x8d, 0x7e, 0xef, 0x7c, 0xdb, 0xdd, 0x9b, 0x37, 0x7c, 0x6b, 0x0b, 0x78,
|
||||
0x16, 0xa9, 0x2b, 0xd9, 0x60, 0xf0, 0x3e, 0x8e, 0x75, 0x8e, 0xd1, 0x60, 0xb2, 0xc2, 0x67, 0x29,
|
||||
0xe4, 0x35, 0x4d, 0x7f, 0x33, 0x1e, 0x98, 0x1c, 0xd7, 0xfc, 0x26, 0xbe, 0xa9, 0x04, 0x3d, 0x5d,
|
||||
0x47, 0x4c, 0x82, 0xe6, 0x46, 0x52, 0x28, 0x24, 0x93, 0xc2, 0x54, 0x3d, 0xb2, 0xb0, 0xe2, 0x56,
|
||||
0x95, 0xb5, 0xe7, 0xbc, 0xc9, 0xf5, 0x7c, 0xb7, 0xfa, 0xeb, 0xea, 0x3b, 0x00, 0x00, 0xff, 0xff,
|
||||
0x00, 0x26, 0x25, 0x67, 0xf3, 0x01, 0x00, 0x00,
|
||||
}
|
178
vendor/google.golang.org/genproto/googleapis/cloud/ml/v1beta1/project_service.pb.go
generated
vendored
178
vendor/google.golang.org/genproto/googleapis/cloud/ml/v1beta1/project_service.pb.go
generated
vendored
@ -1,178 +0,0 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/ml/v1beta1/project_service.proto
|
||||
|
||||
package ml
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
|
||||
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
|
||||
|
||||
// Requests service account information associated with a project.
|
||||
type GetConfigRequest struct {
|
||||
// Required. The project name.
|
||||
//
|
||||
// Authorization: requires `Viewer` role on the specified project.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
}
|
||||
|
||||
func (m *GetConfigRequest) Reset() { *m = GetConfigRequest{} }
|
||||
func (m *GetConfigRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetConfigRequest) ProtoMessage() {}
|
||||
func (*GetConfigRequest) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{0} }
|
||||
|
||||
func (m *GetConfigRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Returns service account information associated with a project.
|
||||
type GetConfigResponse struct {
|
||||
// The service account Cloud ML uses to access resources in the project.
|
||||
ServiceAccount string `protobuf:"bytes,1,opt,name=service_account,json=serviceAccount" json:"service_account,omitempty"`
|
||||
// The project number for `service_account`.
|
||||
ServiceAccountProject int64 `protobuf:"varint,2,opt,name=service_account_project,json=serviceAccountProject" json:"service_account_project,omitempty"`
|
||||
}
|
||||
|
||||
func (m *GetConfigResponse) Reset() { *m = GetConfigResponse{} }
|
||||
func (m *GetConfigResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetConfigResponse) ProtoMessage() {}
|
||||
func (*GetConfigResponse) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{1} }
|
||||
|
||||
func (m *GetConfigResponse) GetServiceAccount() string {
|
||||
if m != nil {
|
||||
return m.ServiceAccount
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *GetConfigResponse) GetServiceAccountProject() int64 {
|
||||
if m != nil {
|
||||
return m.ServiceAccountProject
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*GetConfigRequest)(nil), "google.cloud.ml.v1beta1.GetConfigRequest")
|
||||
proto.RegisterType((*GetConfigResponse)(nil), "google.cloud.ml.v1beta1.GetConfigResponse")
|
||||
}
|
||||
|
||||
// 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 ProjectManagementService service
|
||||
|
||||
type ProjectManagementServiceClient interface {
|
||||
// Get the service account information associated with your project. You need
|
||||
// this information in order to grant the service account persmissions for
|
||||
// the Google Cloud Storage location where you put your model training code
|
||||
// for training the model with Google Cloud Machine Learning.
|
||||
GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*GetConfigResponse, error)
|
||||
}
|
||||
|
||||
type projectManagementServiceClient struct {
|
||||
cc *grpc.ClientConn
|
||||
}
|
||||
|
||||
func NewProjectManagementServiceClient(cc *grpc.ClientConn) ProjectManagementServiceClient {
|
||||
return &projectManagementServiceClient{cc}
|
||||
}
|
||||
|
||||
func (c *projectManagementServiceClient) GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*GetConfigResponse, error) {
|
||||
out := new(GetConfigResponse)
|
||||
err := grpc.Invoke(ctx, "/google.cloud.ml.v1beta1.ProjectManagementService/GetConfig", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for ProjectManagementService service
|
||||
|
||||
type ProjectManagementServiceServer interface {
|
||||
// Get the service account information associated with your project. You need
|
||||
// this information in order to grant the service account persmissions for
|
||||
// the Google Cloud Storage location where you put your model training code
|
||||
// for training the model with Google Cloud Machine Learning.
|
||||
GetConfig(context.Context, *GetConfigRequest) (*GetConfigResponse, error)
|
||||
}
|
||||
|
||||
func RegisterProjectManagementServiceServer(s *grpc.Server, srv ProjectManagementServiceServer) {
|
||||
s.RegisterService(&_ProjectManagementService_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _ProjectManagementService_GetConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(GetConfigRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(ProjectManagementServiceServer).GetConfig(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.ml.v1beta1.ProjectManagementService/GetConfig",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ProjectManagementServiceServer).GetConfig(ctx, req.(*GetConfigRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _ProjectManagementService_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "google.cloud.ml.v1beta1.ProjectManagementService",
|
||||
HandlerType: (*ProjectManagementServiceServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "GetConfig",
|
||||
Handler: _ProjectManagementService_GetConfig_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/cloud/ml/v1beta1/project_service.proto",
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/cloud/ml/v1beta1/project_service.proto", fileDescriptor4) }
|
||||
|
||||
var fileDescriptor4 = []byte{
|
||||
// 327 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x4f, 0x4a, 0x43, 0x31,
|
||||
0x10, 0xc6, 0x79, 0x55, 0x84, 0x66, 0xe1, 0x9f, 0x88, 0xb4, 0x14, 0xc1, 0x52, 0xa4, 0xd6, 0xa2,
|
||||
0x09, 0x55, 0x10, 0x54, 0x5c, 0x58, 0x17, 0xae, 0x84, 0x52, 0x77, 0x6e, 0x4a, 0xfa, 0x1c, 0xc3,
|
||||
0x93, 0x24, 0x13, 0x5f, 0xd2, 0x6e, 0xc4, 0x8d, 0x27,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, 0xef, 0xaf, 0xd6, 0xfe, 0x0f, 0x1a, 0x2c, 0x36,
|
||||
0x0e, 0x5e, 0x3f, 0xbf, 0xde, 0x4b, 0x4d, 0xba, 0x3b, 0x5b, 0xff, 0xf3, 0x64, 0x1f, 0x17, 0x71,
|
||||
0x7c, 0xc7, 0xdb, 0x2f, 0x67, 0x72, 0xaa, 0xea, 0x3a, 0xb2, 0x93, 0xa2, 0x5e, 0x68, 0x2f, 0x6c,
|
||||
0x36, 0x7d, 0xa2, 0xbb, 0x19, 0xfd, 0x44, 0x17, 0xbd, 0xc9, 0x15, 0x7a, 0xc9, 0xdd, 0x69, 0xd4,
|
||||
0x48, 0x54, 0xc2, 0x48, 0x86, 0xb9, 0xe4, 0x12, 0x4c, 0x71, 0x23, 0x1e, 0x4a, 0xc2, 0x66, 0x6e,
|
||||
0xe1, 0x33, 0x9c, 0x6b, 0x35, 0x5c, 0x29, 0xa8, 0xe3, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x76,
|
||||
0x59, 0xc4, 0x91, 0x31, 0x02, 0x00, 0x00,
|
||||
}
|
58
vendor/google.golang.org/genproto/googleapis/cloud/oslogin/common/common.pb.go
generated
vendored
58
vendor/google.golang.org/genproto/googleapis/cloud/oslogin/common/common.pb.go
generated
vendored
@ -1,11 +1,11 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/oslogin/common.proto
|
||||
// source: google/cloud/oslogin/common/common.proto
|
||||
|
||||
/*
|
||||
Package common is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/cloud/oslogin/common.proto
|
||||
google/cloud/oslogin/common/common.proto
|
||||
|
||||
It has these top-level messages:
|
||||
PosixAccount
|
||||
@ -163,32 +163,34 @@ func init() {
|
||||
proto.RegisterType((*SshPublicKey)(nil), "google.cloud.oslogin.common.SshPublicKey")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/cloud/oslogin/common.proto", fileDescriptor0) }
|
||||
func init() { proto.RegisterFile("google/cloud/oslogin/common/common.proto", fileDescriptor0) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
// 373 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xcf, 0x6b, 0x14, 0x31,
|
||||
0x14, 0xc7, 0x19, 0xd7, 0xb6, 0x3b, 0x71, 0x15, 0x09, 0x3d, 0x84, 0x56, 0x71, 0x2d, 0x08, 0x7b,
|
||||
0x9a, 0x11, 0x3c, 0x7a, 0x6a, 0xf1, 0x52, 0x14, 0x5c, 0x46, 0xbd, 0x78, 0x19, 0xd2, 0xe4, 0x99,
|
||||
0x7d, 0x38, 0xc9, 0x1b, 0x92, 0x0c, 0x74, 0xfe, 0x72, 0xaf, 0x92, 0x64, 0x56, 0x3d, 0x48, 0x4f,
|
||||
0x93, 0xef, 0xe7, 0xfb, 0xcd, 0xf0, 0x7e, 0x84, 0xbd, 0x36, 0x44, 0x66, 0x80, 0x56, 0x0d, 0x34,
|
||||
0xe9, 0x96, 0xc2, 0x40, 0x06, 0x5d, 0xab, 0xc8, 0x5a, 0x72, 0xcd, 0xe8, 0x29, 0x12, 0xbf, 0x2c,
|
||||
0x91, 0x26, 0x47, 0x9a, 0x25, 0xd2, 0x94, 0xc8, 0xc5, 0x8b, 0xe5, 0xbe, 0x1c, 0xb1, 0x95, 0xce,
|
||||
0x51, 0x94, 0x11, 0xc9, 0x85, 0x72, 0xf5, 0xea, 0x57, 0xc5, 0x36, 0x7b, 0x0a, 0x78, 0x7f, 0xad,
|
||||
0x14, 0x4d, 0x2e, 0x72, 0xc1, 0xce, 0x46, 0x8f, 0x56, 0xfa, 0x59, 0x54, 0xdb, 0x6a, 0xb7, 0xee,
|
||||
0x8e, 0x92, 0x5f, 0xb0, 0xf5, 0x14, 0xc0, 0x3b, 0x69, 0x41, 0x3c, 0xda, 0x56, 0xbb, 0xba, 0xfb,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89, 0x1a, 0x1a, 0xa4,
|
||||
0x33, 0x0d, 0x79, 0xd3, 0x1a, 0x70, 0x79, 0x79, 0x6d, 0xb1, 0xe4, 0x88, 0xe1, 0xbf, 0xaf, 0xe3,
|
||||
0x7d, 0xf9, 0xdc, 0x9d, 0xe6, 0xf4, 0xbb, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x0a, 0xe8, 0xeb,
|
||||
0xaa, 0x4a, 0x02, 0x00, 0x00,
|
||||
// 406 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x41, 0x6b, 0x14, 0x31,
|
||||
0x14, 0xc7, 0x99, 0xae, 0x6d, 0x77, 0xe2, 0x2a, 0x12, 0x7a, 0x08, 0x5d, 0xc5, 0xa5, 0x20, 0xec,
|
||||
0x69, 0x46, 0xf0, 0xe8, 0xa9, 0xad, 0x20, 0x45, 0xc1, 0x65, 0xd4, 0x8b, 0x2c, 0x2c, 0xd3, 0xe4,
|
||||
0x99, 0x7d, 0x38, 0xc9, 0x1b, 0x92, 0x0c, 0x74, 0xbf, 0x92, 0x07, 0x3f, 0x88, 0x5f, 0xc8, 0xab,
|
||||
0x24, 0x99, 0x51, 0x0f, 0xd2, 0x53, 0xf2, 0xff, 0xff, 0xfe, 0xf3, 0x92, 0x97, 0x37, 0x6c, 0xad,
|
||||
0x89, 0x74, 0x07, 0xb5, 0xec, 0x68, 0x50, 0x35, 0xf9, 0x8e, 0x34, 0xda, 0x5a, 0x92, 0x31, 0x34,
|
||||
0x2d, 0x55, 0xef, 0x28, 0x10, 0x5f, 0xe6, 0x64, 0x95, 0x92, 0xd5, 0x98, 0xac, 0x72, 0xe4, 0xfc,
|
||||
0xe9, 0x58, 0xa6, 0xed, 0xb1, 0x6e, 0xad, 0xa5, 0xd0, 0x06, 0x24, 0xeb, 0xf3, 0xa7, 0x17, 0xbf,
|
||||
0x0a, 0xb6,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, 0xf2, 0x15, 0x7b, 0xf8, 0x15, 0xad, 0x06, 0xd7, 0x3b, 0xb4, 0x21, 0x3d, 0x47, 0xd9, 0xfc,
|
||||
0x6b, 0x5d, 0xfd, 0x28, 0xd8, 0x73, 0x49, 0xa6, 0xba, 0x67, 0x62, 0x57, 0x8b, 0x0f, 0xfe, 0x7d,
|
||||
0xd4, 0x9b, 0x38, 0xa1, 0x2f, 0x97, 0x63, 0x54, 0x53, 0xd7, 0x5a, 0x5d, 0x91, 0xd3, 0xb5, 0x06,
|
||||
0x9b, 0xa6, 0x57, 0x67, 0xd4, 0xf6, 0xe8, 0xff, 0xfb, 0x97, 0xbc, 0xce, 0xcb, 0xf7, 0xa3, 0xe5,
|
||||
0xdb, 0x5c, 0xe3, 0x3a, 0x1d, 0x37, 0x96, 0xaf, 0xae, 0x13, 0xfd, 0x39, 0xd1, 0x6d, 0xa2, 0xdb,
|
||||
0x91, 0x6e, 0x33, 0xbd, 0x3d, 0x49, 0x27, 0xbd, 0xfa, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xdc, 0x30,
|
||||
0xf7, 0x5b, 0x8e, 0x02, 0x00, 0x00,
|
||||
}
|
||||
|
584
vendor/google.golang.org/genproto/googleapis/cloud/oslogin/v1/oslogin.pb.go
generated
vendored
Normal file
584
vendor/google.golang.org/genproto/googleapis/cloud/oslogin/v1/oslogin.pb.go
generated
vendored
Normal file
@ -0,0 +1,584 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/oslogin/v1/oslogin.proto
|
||||
|
||||
/*
|
||||
Package oslogin is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/cloud/oslogin/v1/oslogin.proto
|
||||
|
||||
It has these top-level messages:
|
||||
LoginProfile
|
||||
DeletePosixAccountRequest
|
||||
DeleteSshPublicKeyRequest
|
||||
GetLoginProfileRequest
|
||||
GetSshPublicKeyRequest
|
||||
ImportSshPublicKeyRequest
|
||||
ImportSshPublicKeyResponse
|
||||
UpdateSshPublicKeyRequest
|
||||
*/
|
||||
package oslogin
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_cloud_oslogin_common "google.golang.org/genproto/googleapis/cloud/oslogin/common"
|
||||
import google_protobuf1 "github.com/golang/protobuf/ptypes/empty"
|
||||
import google_protobuf2 "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 user profile information used for logging in to a virtual machine on
|
||||
// Google Compute Engine.
|
||||
type LoginProfile struct {
|
||||
// The primary email address that uniquely identifies the user.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
// The list of POSIX accounts associated with the user.
|
||||
PosixAccounts []*google_cloud_oslogin_common.PosixAccount `protobuf:"bytes,2,rep,name=posix_accounts,json=posixAccounts" json:"posix_accounts,omitempty"`
|
||||
// A map from SSH public key fingerprint to the associated key object.
|
||||
SshPublicKeys map[string]*google_cloud_oslogin_common.SshPublicKey `protobuf:"bytes,3,rep,name=ssh_public_keys,json=sshPublicKeys" json:"ssh_public_keys,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
// Indicates if the user is suspended. A suspended user cannot log in but
|
||||
// their profile information is retained.
|
||||
Suspended bool `protobuf:"varint,4,opt,name=suspended" json:"suspended,omitempty"`
|
||||
}
|
||||
|
||||
func (m *LoginProfile) Reset() { *m = LoginProfile{} }
|
||||
func (m *LoginProfile) String() string { return proto.CompactTextString(m) }
|
||||
func (*LoginProfile) ProtoMessage() {}
|
||||
func (*LoginProfile) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
|
||||
func (m *LoginProfile) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *LoginProfile) GetPosixAccounts() []*google_cloud_oslogin_common.PosixAccount {
|
||||
if m != nil {
|
||||
return m.PosixAccounts
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *LoginProfile) GetSshPublicKeys() map[string]*google_cloud_oslogin_common.SshPublicKey {
|
||||
if m != nil {
|
||||
return m.SshPublicKeys
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *LoginProfile) GetSuspended() bool {
|
||||
if m != nil {
|
||||
return m.Suspended
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// A request message for deleting a POSIX account entry.
|
||||
type DeletePosixAccountRequest struct {
|
||||
// A reference to the POSIX account to update. POSIX accounts are identified
|
||||
// by the project ID they are associated with. A reference to the POSIX
|
||||
// account is in format `users/{user}/projects/{project}`.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
}
|
||||
|
||||
func (m *DeletePosixAccountRequest) Reset() { *m = DeletePosixAccountRequest{} }
|
||||
func (m *DeletePosixAccountRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeletePosixAccountRequest) ProtoMessage() {}
|
||||
func (*DeletePosixAccountRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
|
||||
func (m *DeletePosixAccountRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// A request message for deleting an SSH public key.
|
||||
type DeleteSshPublicKeyRequest struct {
|
||||
// The fingerprint of the public key to update. Public keys are identified by
|
||||
// their SHA-256 fingerprint. The fingerprint of the public key is in format
|
||||
// `users/{user}/sshPublicKeys/{fingerprint}`.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
}
|
||||
|
||||
func (m *DeleteSshPublicKeyRequest) Reset() { *m = DeleteSshPublicKeyRequest{} }
|
||||
func (m *DeleteSshPublicKeyRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeleteSshPublicKeyRequest) ProtoMessage() {}
|
||||
func (*DeleteSshPublicKeyRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||
|
||||
func (m *DeleteSshPublicKeyRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// A request message for retrieving the login profile information for a user.
|
||||
type GetLoginProfileRequest struct {
|
||||
// The unique ID for the user in format `users/{user}`.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
}
|
||||
|
||||
func (m *GetLoginProfileRequest) Reset() { *m = GetLoginProfileRequest{} }
|
||||
func (m *GetLoginProfileRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetLoginProfileRequest) ProtoMessage() {}
|
||||
func (*GetLoginProfileRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
||||
|
||||
func (m *GetLoginProfileRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// A request message for retrieving an SSH public key.
|
||||
type GetSshPublicKeyRequest struct {
|
||||
// The fingerprint of the public key to retrieve. Public keys are identified
|
||||
// by their SHA-256 fingerprint. The fingerprint of the public key is in
|
||||
// format `users/{user}/sshPublicKeys/{fingerprint}`.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
}
|
||||
|
||||
func (m *GetSshPublicKeyRequest) Reset() { *m = GetSshPublicKeyRequest{} }
|
||||
func (m *GetSshPublicKeyRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetSshPublicKeyRequest) ProtoMessage() {}
|
||||
func (*GetSshPublicKeyRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
||||
|
||||
func (m *GetSshPublicKeyRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// A request message for importing an SSH public key.
|
||||
type ImportSshPublicKeyRequest struct {
|
||||
// The unique ID for the user in format `users/{user}`.
|
||||
Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
|
||||
// The SSH public key and expiration time.
|
||||
SshPublicKey *google_cloud_oslogin_common.SshPublicKey `protobuf:"bytes,2,opt,name=ssh_public_key,json=sshPublicKey" json:"ssh_public_key,omitempty"`
|
||||
// The project ID of the Google Cloud Platform project.
|
||||
ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ImportSshPublicKeyRequest) Reset() { *m = ImportSshPublicKeyRequest{} }
|
||||
func (m *ImportSshPublicKeyRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ImportSshPublicKeyRequest) ProtoMessage() {}
|
||||
func (*ImportSshPublicKeyRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
||||
|
||||
func (m *ImportSshPublicKeyRequest) GetParent() string {
|
||||
if m != nil {
|
||||
return m.Parent
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ImportSshPublicKeyRequest) GetSshPublicKey() *google_cloud_oslogin_common.SshPublicKey {
|
||||
if m != nil {
|
||||
return m.SshPublicKey
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ImportSshPublicKeyRequest) GetProjectId() string {
|
||||
if m != nil {
|
||||
return m.ProjectId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// A response message for importing an SSH public key.
|
||||
type ImportSshPublicKeyResponse struct {
|
||||
// The login profile information for the user.
|
||||
LoginProfile *LoginProfile `protobuf:"bytes,1,opt,name=login_profile,json=loginProfile" json:"login_profile,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ImportSshPublicKeyResponse) Reset() { *m = ImportSshPublicKeyResponse{} }
|
||||
func (m *ImportSshPublicKeyResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ImportSshPublicKeyResponse) ProtoMessage() {}
|
||||
func (*ImportSshPublicKeyResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
||||
|
||||
func (m *ImportSshPublicKeyResponse) GetLoginProfile() *LoginProfile {
|
||||
if m != nil {
|
||||
return m.LoginProfile
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// A request message for updating an SSH public key.
|
||||
type UpdateSshPublicKeyRequest struct {
|
||||
// The fingerprint of the public key to update. Public keys are identified by
|
||||
// their SHA-256 fingerprint. The fingerprint of the public key is in format
|
||||
// `users/{user}/sshPublicKeys/{fingerprint}`.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
// The SSH public key and expiration time.
|
||||
SshPublicKey *google_cloud_oslogin_common.SshPublicKey `protobuf:"bytes,2,opt,name=ssh_public_key,json=sshPublicKey" json:"ssh_public_key,omitempty"`
|
||||
// Mask to control which fields get updated. Updates all if not present.
|
||||
UpdateMask *google_protobuf2.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"`
|
||||
}
|
||||
|
||||
func (m *UpdateSshPublicKeyRequest) Reset() { *m = UpdateSshPublicKeyRequest{} }
|
||||
func (m *UpdateSshPublicKeyRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*UpdateSshPublicKeyRequest) ProtoMessage() {}
|
||||
func (*UpdateSshPublicKeyRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
|
||||
|
||||
func (m *UpdateSshPublicKeyRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *UpdateSshPublicKeyRequest) GetSshPublicKey() *google_cloud_oslogin_common.SshPublicKey {
|
||||
if m != nil {
|
||||
return m.SshPublicKey
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *UpdateSshPublicKeyRequest) GetUpdateMask() *google_protobuf2.FieldMask {
|
||||
if m != nil {
|
||||
return m.UpdateMask
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*LoginProfile)(nil), "google.cloud.oslogin.v1.LoginProfile")
|
||||
proto.RegisterType((*DeletePosixAccountRequest)(nil), "google.cloud.oslogin.v1.DeletePosixAccountRequest")
|
||||
proto.RegisterType((*DeleteSshPublicKeyRequest)(nil), "google.cloud.oslogin.v1.DeleteSshPublicKeyRequest")
|
||||
proto.RegisterType((*GetLoginProfileRequest)(nil), "google.cloud.oslogin.v1.GetLoginProfileRequest")
|
||||
proto.RegisterType((*GetSshPublicKeyRequest)(nil), "google.cloud.oslogin.v1.GetSshPublicKeyRequest")
|
||||
proto.RegisterType((*ImportSshPublicKeyRequest)(nil), "google.cloud.oslogin.v1.ImportSshPublicKeyRequest")
|
||||
proto.RegisterType((*ImportSshPublicKeyResponse)(nil), "google.cloud.oslogin.v1.ImportSshPublicKeyResponse")
|
||||
proto.RegisterType((*UpdateSshPublicKeyRequest)(nil), "google.cloud.oslogin.v1.UpdateSshPublicKeyRequest")
|
||||
}
|
||||
|
||||
// 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 OsLoginService service
|
||||
|
||||
type OsLoginServiceClient interface {
|
||||
// Deletes a POSIX account.
|
||||
DeletePosixAccount(ctx context.Context, in *DeletePosixAccountRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error)
|
||||
// Deletes an SSH public key.
|
||||
DeleteSshPublicKey(ctx context.Context, in *DeleteSshPublicKeyRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error)
|
||||
// Retrieves the profile information used for logging in to a virtual machine
|
||||
// on Google Compute Engine.
|
||||
GetLoginProfile(ctx context.Context, in *GetLoginProfileRequest, opts ...grpc.CallOption) (*LoginProfile, error)
|
||||
// Retrieves an SSH public key.
|
||||
GetSshPublicKey(ctx context.Context, in *GetSshPublicKeyRequest, opts ...grpc.CallOption) (*google_cloud_oslogin_common.SshPublicKey, error)
|
||||
// Adds an SSH public key and returns the profile information. Default POSIX
|
||||
// account information is set when no username and UID exist as part of the
|
||||
// login profile.
|
||||
ImportSshPublicKey(ctx context.Context, in *ImportSshPublicKeyRequest, opts ...grpc.CallOption) (*ImportSshPublicKeyResponse, error)
|
||||
// Updates an SSH public key and returns the profile information. This method
|
||||
// supports patch semantics.
|
||||
UpdateSshPublicKey(ctx context.Context, in *UpdateSshPublicKeyRequest, opts ...grpc.CallOption) (*google_cloud_oslogin_common.SshPublicKey, error)
|
||||
}
|
||||
|
||||
type osLoginServiceClient struct {
|
||||
cc *grpc.ClientConn
|
||||
}
|
||||
|
||||
func NewOsLoginServiceClient(cc *grpc.ClientConn) OsLoginServiceClient {
|
||||
return &osLoginServiceClient{cc}
|
||||
}
|
||||
|
||||
func (c *osLoginServiceClient) DeletePosixAccount(ctx context.Context, in *DeletePosixAccountRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) {
|
||||
out := new(google_protobuf1.Empty)
|
||||
err := grpc.Invoke(ctx, "/google.cloud.oslogin.v1.OsLoginService/DeletePosixAccount", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *osLoginServiceClient) DeleteSshPublicKey(ctx context.Context, in *DeleteSshPublicKeyRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) {
|
||||
out := new(google_protobuf1.Empty)
|
||||
err := grpc.Invoke(ctx, "/google.cloud.oslogin.v1.OsLoginService/DeleteSshPublicKey", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *osLoginServiceClient) GetLoginProfile(ctx context.Context, in *GetLoginProfileRequest, opts ...grpc.CallOption) (*LoginProfile, error) {
|
||||
out := new(LoginProfile)
|
||||
err := grpc.Invoke(ctx, "/google.cloud.oslogin.v1.OsLoginService/GetLoginProfile", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *osLoginServiceClient) GetSshPublicKey(ctx context.Context, in *GetSshPublicKeyRequest, opts ...grpc.CallOption) (*google_cloud_oslogin_common.SshPublicKey, error) {
|
||||
out := new(google_cloud_oslogin_common.SshPublicKey)
|
||||
err := grpc.Invoke(ctx, "/google.cloud.oslogin.v1.OsLoginService/GetSshPublicKey", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *osLoginServiceClient) ImportSshPublicKey(ctx context.Context, in *ImportSshPublicKeyRequest, opts ...grpc.CallOption) (*ImportSshPublicKeyResponse, error) {
|
||||
out := new(ImportSshPublicKeyResponse)
|
||||
err := grpc.Invoke(ctx, "/google.cloud.oslogin.v1.OsLoginService/ImportSshPublicKey", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *osLoginServiceClient) UpdateSshPublicKey(ctx context.Context, in *UpdateSshPublicKeyRequest, opts ...grpc.CallOption) (*google_cloud_oslogin_common.SshPublicKey, error) {
|
||||
out := new(google_cloud_oslogin_common.SshPublicKey)
|
||||
err := grpc.Invoke(ctx, "/google.cloud.oslogin.v1.OsLoginService/UpdateSshPublicKey", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for OsLoginService service
|
||||
|
||||
type OsLoginServiceServer interface {
|
||||
// Deletes a POSIX account.
|
||||
DeletePosixAccount(context.Context, *DeletePosixAccountRequest) (*google_protobuf1.Empty, error)
|
||||
// Deletes an SSH public key.
|
||||
DeleteSshPublicKey(context.Context, *DeleteSshPublicKeyRequest) (*google_protobuf1.Empty, error)
|
||||
// Retrieves the profile information used for logging in to a virtual machine
|
||||
// on Google Compute Engine.
|
||||
GetLoginProfile(context.Context, *GetLoginProfileRequest) (*LoginProfile, error)
|
||||
// Retrieves an SSH public key.
|
||||
GetSshPublicKey(context.Context, *GetSshPublicKeyRequest) (*google_cloud_oslogin_common.SshPublicKey, error)
|
||||
// Adds an SSH public key and returns the profile information. Default POSIX
|
||||
// account information is set when no username and UID exist as part of the
|
||||
// login profile.
|
||||
ImportSshPublicKey(context.Context, *ImportSshPublicKeyRequest) (*ImportSshPublicKeyResponse, error)
|
||||
// Updates an SSH public key and returns the profile information. This method
|
||||
// supports patch semantics.
|
||||
UpdateSshPublicKey(context.Context, *UpdateSshPublicKeyRequest) (*google_cloud_oslogin_common.SshPublicKey, error)
|
||||
}
|
||||
|
||||
func RegisterOsLoginServiceServer(s *grpc.Server, srv OsLoginServiceServer) {
|
||||
s.RegisterService(&_OsLoginService_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _OsLoginService_DeletePosixAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(DeletePosixAccountRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(OsLoginServiceServer).DeletePosixAccount(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.oslogin.v1.OsLoginService/DeletePosixAccount",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(OsLoginServiceServer).DeletePosixAccount(ctx, req.(*DeletePosixAccountRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _OsLoginService_DeleteSshPublicKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(DeleteSshPublicKeyRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(OsLoginServiceServer).DeleteSshPublicKey(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.oslogin.v1.OsLoginService/DeleteSshPublicKey",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(OsLoginServiceServer).DeleteSshPublicKey(ctx, req.(*DeleteSshPublicKeyRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _OsLoginService_GetLoginProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(GetLoginProfileRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(OsLoginServiceServer).GetLoginProfile(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.oslogin.v1.OsLoginService/GetLoginProfile",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(OsLoginServiceServer).GetLoginProfile(ctx, req.(*GetLoginProfileRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _OsLoginService_GetSshPublicKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(GetSshPublicKeyRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(OsLoginServiceServer).GetSshPublicKey(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.oslogin.v1.OsLoginService/GetSshPublicKey",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(OsLoginServiceServer).GetSshPublicKey(ctx, req.(*GetSshPublicKeyRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _OsLoginService_ImportSshPublicKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ImportSshPublicKeyRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(OsLoginServiceServer).ImportSshPublicKey(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.oslogin.v1.OsLoginService/ImportSshPublicKey",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(OsLoginServiceServer).ImportSshPublicKey(ctx, req.(*ImportSshPublicKeyRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _OsLoginService_UpdateSshPublicKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(UpdateSshPublicKeyRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(OsLoginServiceServer).UpdateSshPublicKey(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.oslogin.v1.OsLoginService/UpdateSshPublicKey",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(OsLoginServiceServer).UpdateSshPublicKey(ctx, req.(*UpdateSshPublicKeyRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _OsLoginService_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "google.cloud.oslogin.v1.OsLoginService",
|
||||
HandlerType: (*OsLoginServiceServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "DeletePosixAccount",
|
||||
Handler: _OsLoginService_DeletePosixAccount_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "DeleteSshPublicKey",
|
||||
Handler: _OsLoginService_DeleteSshPublicKey_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "GetLoginProfile",
|
||||
Handler: _OsLoginService_GetLoginProfile_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "GetSshPublicKey",
|
||||
Handler: _OsLoginService_GetSshPublicKey_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "ImportSshPublicKey",
|
||||
Handler: _OsLoginService_ImportSshPublicKey_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "UpdateSshPublicKey",
|
||||
Handler: _OsLoginService_UpdateSshPublicKey_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/cloud/oslogin/v1/oslogin.proto",
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/cloud/oslogin/v1/oslogin.proto", fileDescriptor0) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
// 774 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcd, 0x6e, 0xd3, 0x40,
|
||||
0x10, 0x96, 0x93, 0x52, 0xe8, 0x26, 0x6d, 0xd1, 0x1e, 0xda, 0xd4, 0x6d, 0xd5, 0x60, 0x51, 0x35,
|
||||
0x44, 0xc8, 0x56, 0x52, 0x0e, 0x25, 0x15, 0x54, 0x14, 0x4a, 0x55, 0x7e, 0xd4, 0x28, 0x15, 0x3d,
|
||||
0xa0, 0x4a, 0xc1, 0x75, 0xb6, 0xae, 0x89, 0xed, 0x5d, 0xbc, 0x76, 0x44, 0x84, 0x7a, 0xe1, 0xc2,
|
||||
0x85, 0x13, 0x9c, 0x38, 0x22, 0x6e, 0x5c, 0x78, 0x02, 0x78, 0x00, 0x24, 0x4e, 0x3c, 0x01, 0x12,
|
||||
0x0f, 0x82, 0xbc, 0x5e, 0xb7, 0x4e, 0x6c, 0xa7, 0xae, 0xc4, 0x29, 0xbb, 0x9e, 0xf9, 0x66, 0xbf,
|
||||
0xfd, 0x76, 0xbe, 0x51, 0xc0, 0xb2, 0x8e, 0xb1, 0x6e, 0x22, 0x45, 0x33, 0xb1, 0xd7, 0x51, 0x30,
|
||||
0x35, 0xb1, 0x6e, 0xd8, 0x4a, 0xaf, 0x16, 0x2e, 0x65, 0xe2, 0x60, 0x17, 0xc3, 0xd9, 0x20, 0x4d,
|
||||
0x66, 0x69, 0x72, 0x18, 0xeb, 0xd5, 0xc4, 0x05, 0x8e, 0x57, 0x89, 0xa1, 0xa8, 0xb6, 0x8d, 0x5d,
|
||||
0xd5, 0x35, 0xb0, 0x4d, 0x03, 0x98, 0x58, 0x49, 0xac, 0xae, 0x61, 0xcb, 0xc2, 0xe1, 0x0f, 0xcf,
|
||||
0x9c, 0xe7, 0x99, 0x6c, 0x77, 0xe8, 0x1d, 0x29, 0xc8, 0x22, 0x6e, 0x9f, 0x07, 0xcb, 0xc3, 0xc1,
|
||||
0x23, 0x03, 0x99, 0x9d, 0xb6, 0xa5, 0xd2, 0x6e, 0x90, 0x21, 0xfd, 0xc9, 0x81, 0xe2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x23, 0x00, 0x37, 0xc1,
|
||||
0xcc, 0x36, 0x72, 0xa3, 0x0a, 0x9d, 0x9f, 0x9d, 0xb5, 0xf6, 0x17, 0x01, 0xcc, 0xed, 0x58, 0x04,
|
||||
0x3b, 0x89, 0x88, 0x19, 0x30, 0x4e, 0x54, 0x07, 0xd9, 0x2e, 0xc7, 0xf0, 0x1d, 0xdc, 0x05, 0x53,
|
||||
0x83, 0x0f, 0x7c, 0x71, 0x05, 0x8b, 0xd1, 0x07, 0x85, 0x8b, 0x00, 0x10, 0x07, 0xbf, 0x44, 0x9a,
|
||||
0xdb, 0x36, 0x3a, 0xa5, 0x3c, 0x3b, 0x6c, 0x82, 0x7f, 0xd9, 0xe9, 0x48, 0xc7, 0x40, 0x4c, 0x22,
|
||||
0x49, 0x09, 0xb6, 0x29, 0x82, 0x8f, 0xc0, 0x24, 0x3b, 0xa7, 0x4d, 0x02, 0x75, 0x18, 0xd9, 0x42,
|
||||
0x7d, 0x39, 0x53, 0xb3, 0xb5, 0x8a, 0x66, 0x64, 0x27, 0x7d, 0x17, 0xc0, 0xdc, 0x33, 0xd2, 0x51,
|
||||
0x33, 0xbf, 0xce, 0xff, 0xd7, 0x62, 0x1d, 0x14, 0x3c, 0xc6, 0x80, 0x39, 0x99, 0x89, 0x51, 0xa8,
|
||||
0x8b, 0x61, 0xb5, 0xd0, 0xec, 0xf2, 0x43, 0xdf, 0xec, 0x4f, 0x55, 0xda, 0x6d, 0x81, 0x20, 0xdd,
|
||||
0x5f, 0xd7, 0x7f, 0x5d, 0x06, 0x53, 0xbb, 0x94, 0x5d, 0x70, 0x0f, 0x39, 0x3d, 0x43, 0x43, 0xf0,
|
||||
0x9d, 0x00, 0x60, 0xbc, 0x43, 0x61, 0x3d, 0x55, 0x9e, 0xd4, 0x76, 0x16, 0x67, 0x62, 0x2c, 0xb6,
|
||||
0xfc, 0x79, 0x24, 0x2d, 0xbf, 0xfd, 0xfd, 0xf7, 0x63, 0x6e, 0xa9, 0xba, 0xe8, 0x8f, 0xc8, 0x37,
|
||||
0xbe, 0x2c, 0x77, 0x3c, 0x8a, 0x1c, 0xaa, 0x54, 0x15, 0xfe, 0x88, 0x54, 0xa9, 0x9e, 0xc0, 0xf7,
|
||||
0xa7, 0x4c, 0xa2, 0xd7, 0x3f, 0x97, 0x49, 0xc2, 0x4b, 0xa4, 0x32, 0xa9, 0x32, 0x26, 0xd7, 0xab,
|
||||
0x52, 0x9c, 0xc9, 0xc0, 0x04, 0xf1, 0xe9, 0x7c, 0x10, 0xc0, 0xf4, 0x90, 0xb1, 0xa0, 0x92, 0xca,
|
||||
0x25, 0xd9, 0x82, 0x62, 0xb6, 0x2e, 0x93, 0x56, 0x18, 0xaf, 0x6b, 0x70, 0x29, 0xc6, 0xeb, 0x44,
|
||||
0x89, 0x36, 0x20, 0xfc, 0x14, 0x90, 0x1a, 0x10, 0x68, 0x24, 0xa9, 0x24, 0x75, 0xb2, 0xf7, 0x5e,
|
||||
0x28, 0x18, 0xcc, 0x22, 0xd8, 0x0f, 0x01, 0xc0, 0xb8, 0x0f, 0x47, 0xbc, 0x5f, 0xea, 0x64, 0x11,
|
||||
0x57, 0x2f, 0x84, 0x09, 0x8c, 0x2e, 0x6d, 0x30, 0xae, 0xb7, 0xa5, 0x15, 0xc6, 0x35, 0x98, 0x45,
|
||||
0xa7, 0x32, 0x36, 0x8c, 0x18, 0xb0, 0x31, 0xe4, 0x4c, 0xf8, 0x4d, 0x00, 0x30, 0xee, 0xee, 0x11,
|
||||
0x17, 0x48, 0x1d, 0x05, 0x17, 0x91, 0xb8, 0xc1, 0x68, 0xdf, 0xaa, 0x67, 0x90, 0x78, 0x98, 0xf1,
|
||||
0xe6, 0x67, 0x01, 0xcc, 0x6b, 0xd8, 0x4a, 0x23, 0xb8, 0x59, 0xe4, 0x66, 0x6f, 0xfa, 0x36, 0x68,
|
||||
0x0a, 0xcf, 0xef, 0xf2, 0x44, 0x1d, 0x9b, 0xaa, 0xad, 0xcb, 0xd8, 0xd1, 0x15, 0x1d, 0xd9, 0xcc,
|
||||
0x24, 0x4a, 0x10, 0x52, 0x89, 0x41, 0x63, 0xff, 0x6b, 0xd6, 0xf9, 0xf2, 0x6b, 0x6e, 0x76, 0x3b,
|
||||
0x28, 0x70, 0x9f, 0x9d, 0xc4, 0xab, 0xcb, 0xfb, 0xb5, 0x9f, 0x61, 0xe4, 0x80, 0x45, 0x0e, 0x78,
|
||||
0xe4, 0x60, 0xbf, 0x76, 0x38, 0xce, 0xca, 0xaf, 0xfe, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x8e, 0x79,
|
||||
0x9f, 0xd6, 0x35, 0x09, 0x00, 0x00,
|
||||
}
|
98
vendor/google.golang.org/genproto/googleapis/cloud/oslogin/v1alpha/oslogin.pb.go
generated
vendored
98
vendor/google.golang.org/genproto/googleapis/cloud/oslogin/v1alpha/oslogin.pb.go
generated
vendored
@ -530,52 +530,54 @@ var _OsLoginService_serviceDesc = grpc.ServiceDesc{
|
||||
func init() { proto.RegisterFile("google/cloud/oslogin/v1alpha/oslogin.proto", fileDescriptor0) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
// 745 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcd, 0x6e, 0xd3, 0x4c,
|
||||
0x14, 0x95, 0x93, 0x7e, 0x55, 0x3b, 0x49, 0xdb, 0x4f, 0xb3, 0xa8, 0x52, 0x53, 0xa4, 0x60, 0x55,
|
||||
0xd0, 0x5a, 0x95, 0x47, 0x04, 0x24, 0x4a, 0xab, 0x52, 0x51, 0x5a, 0x50, 0x05, 0xa8, 0x91, 0x2b,
|
||||
0x36, 0x6c, 0xa2, 0xa9, 0x3d, 0x75, 0x4d, 0x6c, 0xcf, 0xe0, 0xb1, 0x0b, 0x11, 0xea, 0x86, 0x37,
|
||||
0x40, 0x95, 0xd8, 0xa3, 0x3e, 0x05, 0x0b, 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, 0x01, 0x4b, 0x9c, 0x9f, 0xb7, 0x58, 0x7c, 0xea, 0xb9, 0x56, 0xab,
|
||||
0x4d, 0x3a, 0xbc, 0x56, 0x16, 0x21, 0x77, 0x8d, 0x71, 0x72, 0x19, 0x59, 0xaa, 0xc6, 0x09, 0x3f,
|
||||
0x6f, 0x8a, 0x00, 0x2f, 0x49, 0x87, 0x1f, 0x06, 0x51, 0xd8, 0x31, 0x17, 0x78, 0xf6, 0x0c, 0xae,
|
||||
0x82, 0x79, 0x1e, 0x73, 0x46, 0x02, 0x9b, 0xd8, 0xb5, 0x99, 0xba, 0xb2, 0x3e, 0x67, 0xf6, 0x0e,
|
||||
0xd4, 0x36, 0x80, 0xc3, 0x21, 0xe0, 0xff, 0xa0, 0xdc, 0x26, 0x1d, 0x99, 0x7f, 0xf2, 0x09, 0xf7,
|
||||
0xc0, 0x7f, 0x17, 0xd8, 0x8b, 0x49, 0xad, 0x54, 0x57, 0x26, 0x66, 0x9d, 0x8d, 0x68, 0xa6, 0xb8,
|
||||
0xed, 0xd2, 0x96, 0xa2, 0x21, 0xb0, 0x72, 0x40, 0x3c, 0x12, 0x91, 0x3e, 0x59, 0xc8, 0xfb, 0x98,
|
||||
0xf0, 0x28, 0x4f, 0xf4, 0x1e, 0xa0, 0x2f, 0xe2, 0x18, 0xc0, 0x26, 0x58, 0x7e, 0x41, 0xa2, 0xac,
|
||||
0x42, 0x93, 0xbd, 0x8b, 0xc6, 0xbe, 0x56, 0xc0, 0xca, 0x91, 0xcf, 0x68, 0x98, 0x8b, 0x58, 0x06,
|
||||
0xb3, 0x0c, 0x87, 0x24, 0x88, 0x24, 0x46, 0x5a, 0xf0, 0x18, 0x2c, 0xf6, 0x57, 0x79, 0x7a, 0x05,
|
||||
0xab, 0xd9, 0x82, 0xc2, 0xdb, 0x00, 0xb0, 0x90, 0xbe, 0x23, 0x56, 0xd4, 0x72, 0xed, 0x5a, 0x59,
|
||||
0x3c, 0x36, 0x2f, 0x4f, 0x8e, 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3, 0x2e, 0x5c, 0xcb, 0xa7, 0x79, 0x89, 0xb2, 0x3d, 0x0a, 0xaf, 0x53, 0x8e,
|
||||
0x7d, 0xca, 0x4d, 0xe6, 0x98, 0x27, 0x5b, 0xf1, 0x1e, 0xed, 0x2a, 0x09, 0x0b, 0x2b, 0xf9, 0x53,
|
||||
0x01, 0x70, 0x78, 0x72, 0x27, 0x95, 0x78, 0xe4, 0x42, 0x52, 0xb7, 0xa6, 0x07, 0xa6, 0x4b, 0x42,
|
||||
0x3b, 0x10, 0xd4, 0x9f, 0x68, 0x9b, 0x3d, 0xea, 0xe9, 0x32, 0xbb, 0xd1, 0x77, 0xdb, 0x1d, 0x42,
|
||||
0x6f, 0x0f, 0x4c, 0x35, 0xfc, 0xae, 0x00, 0x38, 0xbc, 0x19, 0x26, 0xe5, 0x33, 0x72, 0x97, 0x4c,
|
||||
0xa3, 0xfd, 0x9e, 0x48, 0xe0, 0x71, 0xa3, 0xa8, 0xf6, 0x83, 0xdc, 0xf7, 0x3f, 0x80, 0xba, 0x45,
|
||||
0xfd, 0xb1, 0x4c, 0xf7, 0xab, 0x72, 0x6d, 0x34, 0x93, 0x09, 0x6a, 0x2a, 0x6f, 0x9f, 0x49, 0x6f,
|
||||
0x87, 0x7a, 0x38, 0x70, 0x0c, 0x1a, 0x3a, 0xc8, 0x21, 0x81, 0x98, 0x2f, 0x94, 0x5e, 0x61, 0xe6,
|
||||
0xf2, 0xfc, 0xdf, 0xa5, 0x1d, 0x69, 0x9f, 0xce, 0x0a, 0xff, 0x07, 0x7f, 0x03, 0x00, 0x00, 0xff,
|
||||
0xff, 0xa6, 0x7e, 0xc7, 0x43, 0x5d, 0x09, 0x00, 0x00,
|
||||
// 779 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcd, 0x6a, 0xdb, 0x4a,
|
||||
0x14, 0x46, 0x76, 0x6e, 0x48, 0xc6, 0x4e, 0x72, 0x99, 0x45, 0x70, 0x74, 0x73, 0xc1, 0x88, 0xd0,
|
||||
0x3a, 0x26, 0x68, 0x88, 0x5b, 0x68, 0x9a, 0x90, 0x86, 0xfc, 0x35, 0x84, 0xb6, 0xc4, 0x38, 0x34,
|
||||
0x8b, 0x12, 0x30, 0x13, 0x79, 0xa2, 0xa8, 0x96, 0x34, 0x53, 0x8d, 0x14, 0x6a, 0x4a, 0x36, 0x7d,
|
||||
0x83, 0x12, 0xe8, 0xbe, 0x64, 0xd7, 0x7d, 0x17, 0x5d, 0xf4, 0x05, 0x0a, 0x5d, 0xf5, 0x15, 0x4a,
|
||||
0x9f, 0xa3, 0x68, 0x34, 0x4a, 0x64, 0x5b, 0xb6, 0x65, 0xe8, 0xca, 0x3a, 0x73, 0xfe, 0xbe, 0xf3,
|
||||
0x9d, 0x1f, 0x0c, 0xaa, 0x26, 0xa5, 0xa6, 0x4d, 0x90, 0x61, 0xd3, 0xa0, 0x85, 0x28, 0xb7, 0xa9,
|
||||
0x69, 0xb9, 0xe8, 0x72, 0x15, 0xdb, 0xec, 0x02, 0xc7, 0xb2, 0xce, 0x3c, 0xea, 0x53, 0xb8, 0x18,
|
||||
0xd9, 0xea, 0xc2, 0x56, 0x8f, 0x75, 0xd2, 0x56, 0x95, 0x5a, 0x84, 0x99, 0x85, 0xb0, 0xeb, 0x52,
|
||||
0x1f, 0xfb, 0x16, 0x75, 0x79, 0xe4, 0xab, 0x56, 0x52, 0xf3, 0x18, 0xd4, 0x71, 0x68, 0xfc, 0x23,
|
||||
0x2d, 0xff, 0x93, 0x96, 0x42, 0x3a, 0x0b, 0xce, 0x11, 0x71, 0x98, 0xdf, 0x91, 0xca, 0x72, 0xaf,
|
||||
0xf2, 0xdc, 0x22, 0x76, 0xab, 0xe9, 0x60, 0xde, 0x8e, 0x2c, 0xb4, 0xdf, 0x39, 0x50, 0x7c, 0x1e,
|
||||
0x06, 0xaf, 0x7b, 0xf4, 0xdc, 0xb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c5, 0x82, 0xa1, 0x48, 0x85, 0x99, 0xc5, 0xd3, 0xff, 0x36, 0x6d, 0x48, 0xf9, 0x73, 0x6e, 0xf1,
|
||||
0x20, 0x8a, 0xb2, 0x2b, 0x72, 0xca, 0x14, 0xfa, 0xc9, 0xea, 0x76, 0x68, 0xf6, 0x3d, 0x56, 0x9f,
|
||||
0x0a, 0xf5, 0xa9, 0x54, 0x9f, 0x9e, 0x44, 0x51, 0xce, 0x26, 0x45, 0xb6, 0x07, 0x7f, 0x02, 0x00,
|
||||
0x00, 0xff, 0xff, 0xf8, 0xf2, 0xe5, 0x19, 0xa3, 0x09, 0x00, 0x00,
|
||||
}
|
||||
|
98
vendor/google.golang.org/genproto/googleapis/cloud/oslogin/v1beta/oslogin.pb.go
generated
vendored
98
vendor/google.golang.org/genproto/googleapis/cloud/oslogin/v1beta/oslogin.pb.go
generated
vendored
@ -532,53 +532,53 @@ func init() { proto.RegisterFile("google/cloud/oslogin/v1beta/oslogin.proto", fi
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
// 780 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcd, 0x4e, 0xdb, 0x4a,
|
||||
0x14, 0x96, 0x13, 0x2e, 0x82, 0x21, 0xc0, 0xd5, 0x2c, 0x50, 0x30, 0x5c, 0xdd, 0x60, 0xd4, 0x2a,
|
||||
0x84, 0xca, 0x16, 0x41, 0x6a, 0x11, 0x94, 0x56, 0x0d, 0xa5, 0x08, 0xf5, 0x87, 0x28, 0xa8, 0x2c,
|
||||
0x2a, 0xa4, 0x68, 0x62, 0x0f, 0xc6, 0x8d, 0xed, 0x99, 0x7a, 0x6c, 0xd4, 0xa8, 0x62, 0x53, 0xa9,
|
||||
0xeb, 0x2e, 0xda, 0x75, 0xa5, 0xaa, 0xbb, 0xee, 0xba, 0xea, 0xaa, 0x2f, 0xc0, 0xb6, 0xaf, 0xd0,
|
||||
0xbe, 0x47, 0xe5, 0xf1, 0x18, 0x9c, 0xc4, 0x49, 0x8c, 0xd4, 0x9d, 0x67, 0xce, 0x39, 0xdf, 0xf9,
|
||||
0xe6, 0x3b, 0x3f, 0x32, 0x58, 0x31, 0x09, 0x31, 0x6d, 0xac, 0xe9, 0x36, 0x09, 0x0c, 0x8d, 0x30,
|
||||
0x9b, 0x98, 0x96, 0xab, 0x9d, 0xad, 0xb5, 0xb0, 0x8f, 0xe2, 0xa3, 0x4a, 0x3d, 0xe2, 0x13, 0xb8,
|
||||
0x10, 0xb9, 0xaa, 0xdc, 0x55, 0x8d, 0x6d, 0x91, 0xab, 0xbc, 0x28, 0x70, 0x10, 0xb5, 0x34, 0xe4,
|
||||
0xba, 0xc4, 0x47, 0xbe, 0x45, 0x5c, 0x16, 0x85, 0xca, 0x4b, 0xa9, 0x59, 0x74, 0xe2, 0x38, 0x44,
|
||||
0xa0, 0xcb, 0x02, 0x5d, 0xe3, 0xa7, 0x56, 0x70, 0xa2, 0x61, 0x87, 0xfa, 0x1d, 0x61, 0x2c, 0xf5,
|
||||
0x1a, 0x4f, 0x2c, 0x6c, 0x1b, 0x4d, 0x07, 0xb1, 0x76, 0xe4, 0xa1, 0xfc, 0xce, 0x81, 0xc2, 0x93,
|
||||
0x10, 0xb5, 0xee, 0x91, 0x13, 0xcb, 0xc6, 0x10, 0x82, 0x31, 0x17, 0x39, 0xb8, 0x28, 0x95, 0xa4,
|
||||
0xf2, 0x64, 0x83, 0x7f, 0xc3, 0x3a, 0x98, 0xa1, 0x84, 0x59, 0xaf, 0x9b, 0x48, 0xd7, 0x49, 0xe0,
|
||||
0xfa, 0xac, 0x98, 0x2b, 0xe5, 0xcb, 0x53, 0xd5, 0x15, 0x35, 0xf5, 0x69, 0x82, 0x5f, 0x3d, 0x0c,
|
||||
0x79, 0x10, 0x45, 0x34, 0xa6, 0x69, 0xe2, 0xc4, 0xa0, 0x01, 0x66, 0x19, 0x3b, 0x6d, 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 0x50, 0x6c, 0x20, 0xa7, 0x91,
|
||||
0x64, 0x94, 0xb8, 0x0c, 0xc3, 0x67, 0x60, 0x9a, 0xe7, 0x69, 0xd2, 0x48, 0x1d, 0x4e, 0x76, 0x20,
|
||||
0x99, 0x94, 0x86, 0x6b, 0x14, 0xec, 0xc4, 0x49, 0xf9, 0x21, 0x81, 0xf9, 0xe7, 0xd4, 0x40, 0x99,
|
||||
0x2b, 0xf4, 0xf7, 0xf5, 0xd8, 0x02, 0x53, 0x01, 0x67, 0xc0, 0x27, 0x9a, 0x0b, 0x32, 0x55, 0x95,
|
||||
0x63, 0xb4, 0x78, 0xe8, 0xd5, 0x47, 0xe1, 0xd0, 0x3f, 0x45, 0xac, 0xdd, 0x00, 0x91, 0x7b, 0xf8,
|
||||
0x5d, 0x7d, 0x37, 0x01, 0x66, 0x0e, 0x18, 0x7f, 0xe0, 0x21, 0xf6, 0xce, 0x2c, 0x1d, 0xc3, 0xf7,
|
||||
0x12, 0x80, 0xfd, 0x5d, 0x0a, 0x6f, 0x0f, 0x95, 0x68, 0x60, 0x5b, 0xcb, 0x73, 0x7d, 0x4c, 0x76,
|
||||
0xc3, 0xdd, 0xa4, 0xac, 0xbc, 0xfd, 0xf9, 0xeb, 0x43, 0x6e, 0xb9, 0xb2, 0x14, 0xef, 0xcb, 0x37,
|
||||
0xa1, 0x3c, 0xdb, 0x01, 0xc3, 0x1e, 0xd3, 0x2a, 0x9a, 0x28, 0x28, 0xd3, 0x2a, 0xe7, 0xf0, 0xe3,
|
||||
0x25, 0xa3, 0xa4, 0x0c, 0x99, 0x18, 0xa5, 0x54, 0x65, 0x20, 0x23, 0x95, 0x33, 0x2a, 0x57, 0x6e,
|
||||
0xa6, 0x33, 0xea, 0xda, 0x2a, 0x21, 0xad, 0x4f, 0x12, 0x98, 0xed, 0x19, 0x36, 0xb8, 0x3e, 0x94,
|
||||
0x53, 0xfa, 0x68, 0xca, 0xd9, 0xbb, 0x4f, 0x59, 0xe5, 0x1c, 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 0x09, 0x00, 0x00,
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0x4f, 0x4f, 0x13, 0x4f,
|
||||
0x18, 0xc7, 0xb3, 0x2d, 0x3f, 0x02, 0x43, 0x81, 0x5f, 0xe6, 0x40, 0xca, 0x82, 0xb1, 0x2e, 0xd1,
|
||||
0x94, 0x62, 0x76, 0x43, 0x49, 0x94, 0x80, 0x68, 0x2c, 0x22, 0x21, 0xfe, 0xa1, 0x29, 0x91, 0x83,
|
||||
0x21, 0x69, 0xa6, 0xbb, 0xc3, 0xb2, 0x76, 0x77, 0x67, 0xdc, 0xd9, 0x25, 0x36, 0x86, 0x8b, 0x89,
|
||||
0x67, 0x0f, 0x7a, 0x36, 0x31, 0xde, 0xbc, 0x79, 0xf2, 0xe4, 0x1b, 0xe0, 0xea, 0x5b, 0xd0, 0xf7,
|
||||
0x61, 0x76, 0x76, 0x16, 0xb6, 0xed, 0xb6, 0x5d, 0x12, 0x4f, 0xdd, 0x99, 0xe7, 0xdf, 0x67, 0xbe,
|
||||
0x33, 0xcf, 0x93, 0x82, 0x65, 0x93, 0x10, 0xd3, 0xc6, 0x9a, 0x6e, 0x93, 0xc0, 0xd0, 0x08, 0xb3,
|
||||
0x89, 0x69, 0xb9, 0xda, 0xe9, 0x6a, 0x0b, 0xfb, 0x28, 0x5e, 0xaa, 0xd4, 0x23, 0x3e, 0x81, 0x0b,
|
||||
0x91, 0xab, 0xca, 0x5d, 0xd5, 0xd8, 0x16, 0xb9, 0xca, 0x8b, 0x22, 0x0f, 0xa2, 0x96, 0x86, 0x5c,
|
||||
0x97, 0xf8, 0xc8, 0xb7, 0x88, 0xcb, 0xa2, 0x50, 0xb9, 0x9c, 0x5a, 0x45, 0x27, 0x8e, 0x43, 0xe2,
|
||||
0x1f, 0xe1, 0x29, 0x8a, 0x68, 0x7c, 0xd5, 0x0a, 0x8e, 0x35, 0xec, 0x50, 0xbf, 0x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xeb, 0x3a, 0x71, 0x86, 0x81, 0xd6, 0x0a, 0x62, 0x50, 0xd4,
|
||||
0xc3, 0xb6, 0xa9, 0x4b, 0x2f, 0x6b, 0xc2, 0xd9, 0x24, 0x36, 0x72, 0x4d, 0x95, 0x78, 0xa6, 0x66,
|
||||
0x62, 0x97, 0x37, 0x95, 0x16, 0x99, 0x10, 0xb5, 0x58, 0xea, 0x7f, 0xa4, 0x4d, 0xb1, 0xfc, 0x96,
|
||||
0x5b, 0xd8, 0x8d, 0x92, 0x6c, 0xf3, 0x8a, 0xa2, 0x82, 0x7a, 0xb8, 0x5a, 0xc3, 0x3e, 0x3a, 0x8f,
|
||||
0xad, 0x47, 0xdc, 0x7a, 0x24, 0xac, 0x47, 0x87, 0x3c, 0x47, 0x6b, 0x9c, 0x97, 0x5a, 0xfb, 0x1b,
|
||||
0x00, 0x00, 0xff, 0xff, 0xc7, 0x96, 0xd9, 0xc2, 0x8d, 0x09, 0x00, 0x00,
|
||||
}
|
||||
|
645
vendor/google.golang.org/genproto/googleapis/cloud/speech/v1p1beta1/cloud_speech.pb.go
generated
vendored
645
vendor/google.golang.org/genproto/googleapis/cloud/speech/v1p1beta1/cloud_speech.pb.go
generated
vendored
@ -1,11 +1,11 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/speech/v1_1beta1/cloud_speech.proto
|
||||
// source: google/cloud/speech/v1p1beta1/cloud_speech.proto
|
||||
|
||||
/*
|
||||
Package speech is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/cloud/speech/v1_1beta1/cloud_speech.proto
|
||||
google/cloud/speech/v1p1beta1/cloud_speech.proto
|
||||
|
||||
It has these top-level messages:
|
||||
RecognizeRequest
|
||||
@ -13,7 +13,6 @@ It has these top-level messages:
|
||||
StreamingRecognizeRequest
|
||||
StreamingRecognitionConfig
|
||||
RecognitionConfig
|
||||
RecognitionMetadata
|
||||
SpeechContext
|
||||
RecognitionAudio
|
||||
RecognizeResponse
|
||||
@ -32,6 +31,7 @@ import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_longrunning "google.golang.org/genproto/googleapis/longrunning"
|
||||
import _ "github.com/golang/protobuf/ptypes/any"
|
||||
import google_protobuf3 "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"
|
||||
@ -52,20 +52,29 @@ var _ = math.Inf
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// Audio encoding of the data sent in the audio message. All encodings support
|
||||
// only 1 channel (mono) audio. Only `FLAC` includes a header that describes
|
||||
// the bytes of audio that follow the header. The other encodings are raw
|
||||
// audio bytes with no header.
|
||||
// The encoding of the audio data sent in the request.
|
||||
//
|
||||
// All encodings support only 1 channel (mono) audio.
|
||||
//
|
||||
// If you send a `FLAC` or `WAV` audio file format in the request,
|
||||
// then if you specify an encoding in `AudioEncoding`, it must match the
|
||||
// encoding described in the audio header. If it does not match, then the
|
||||
// request returns an
|
||||
// [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] error code. You can request
|
||||
// recognition for `WAV` files that contain either `LINEAR16` or `MULAW`
|
||||
// encoded audio.
|
||||
// For audio file formats other than `FLAC` or `WAV`, you must
|
||||
// specify the audio encoding in your `RecognitionConfig`.
|
||||
//
|
||||
// For best results, the audio source should be captured and transmitted using
|
||||
// a lossless encoding (`FLAC` or `LINEAR16`). Recognition accuracy may be
|
||||
// reduced if lossy codecs, which include the other codecs listed in
|
||||
// this section, are used to capture or transmit the audio, particularly if
|
||||
// background noise is present.
|
||||
// a lossless encoding (`FLAC` or `LINEAR16`). The accuracy of the speech
|
||||
// recognition can be reduced if lossy codecs, which include the other codecs
|
||||
// listed in this section, are used to capture or transmit the audio,
|
||||
// particularly if background noise is present.
|
||||
type RecognitionConfig_AudioEncoding int32
|
||||
|
||||
const (
|
||||
// Not specified. Will return result [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
|
||||
// Not specified.
|
||||
RecognitionConfig_ENCODING_UNSPECIFIED RecognitionConfig_AudioEncoding = 0
|
||||
// Uncompressed 16-bit signed little-endian samples (Linear PCM).
|
||||
RecognitionConfig_LINEAR16 RecognitionConfig_AudioEncoding = 1
|
||||
@ -84,7 +93,7 @@ const (
|
||||
RecognitionConfig_AMR_WB RecognitionConfig_AudioEncoding = 5
|
||||
// Opus encoded audio frames in Ogg container
|
||||
// ([OggOpus](https://wiki.xiph.org/OggOpus)).
|
||||
// `sample_rate_hertz` must be 16000.
|
||||
// `sample_rate_hertz` must be one of 8000, 12000, 16000, 24000, or 48000.
|
||||
RecognitionConfig_OGG_OPUS RecognitionConfig_AudioEncoding = 6
|
||||
// Although the use of lossy encodings is not recommended, if a very low
|
||||
// bitrate encoding is required, `OGG_OPUS` is highly preferred over
|
||||
@ -130,215 +139,6 @@ func (RecognitionConfig_AudioEncoding) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor0, []int{4, 0}
|
||||
}
|
||||
|
||||
// Use case categories that the audio recognition request can be described
|
||||
// by.
|
||||
type RecognitionMetadata_InteractionType int32
|
||||
|
||||
const (
|
||||
// Use case is either unknown or is something other than one of the other
|
||||
// values below.
|
||||
RecognitionMetadata_INTERACTION_TYPE_UNSPECIFIED RecognitionMetadata_InteractionType = 0
|
||||
// Multiple people in a conversation or discussion. For example in a
|
||||
// meeting with two or more people actively participating. Typically
|
||||
// all the primary people speaking would be in the same room (if not,
|
||||
// see PHONE_CALL)
|
||||
RecognitionMetadata_DISCUSSION RecognitionMetadata_InteractionType = 1
|
||||
// One or more persons lecturing or presenting to others, mostly
|
||||
// uninterrupted.
|
||||
RecognitionMetadata_PRESENTATION RecognitionMetadata_InteractionType = 2
|
||||
// A phone-call or video-conference in which two or more people, who are
|
||||
// not in the same room, are actively participating.
|
||||
RecognitionMetadata_PHONE_CALL RecognitionMetadata_InteractionType = 3
|
||||
// A recorded message intended for another person to listen to.
|
||||
RecognitionMetadata_VOICEMAIL RecognitionMetadata_InteractionType = 4
|
||||
// Professionally produced audio (eg. TV Show, Podcast).
|
||||
RecognitionMetadata_PROFESSIONALLY_PRODUCED RecognitionMetadata_InteractionType = 5
|
||||
// Transcribe spoken questions and queries into text.
|
||||
RecognitionMetadata_VOICE_SEARCH RecognitionMetadata_InteractionType = 6
|
||||
// Transcribe voice commands, such as for controlling a device.
|
||||
RecognitionMetadata_VOICE_COMMAND RecognitionMetadata_InteractionType = 7
|
||||
// Transcribe speech to text to create a written document, such as a
|
||||
// text-message, email or report.
|
||||
RecognitionMetadata_DICTATION RecognitionMetadata_InteractionType = 8
|
||||
)
|
||||
|
||||
var RecognitionMetadata_InteractionType_name = map[int32]string{
|
||||
0: "INTERACTION_TYPE_UNSPECIFIED",
|
||||
1: "DISCUSSION",
|
||||
2: "PRESENTATION",
|
||||
3: "PHONE_CALL",
|
||||
4: "VOICEMAIL",
|
||||
5: "PROFESSIONALLY_PRODUCED",
|
||||
6: "VOICE_SEARCH",
|
||||
7: "VOICE_COMMAND",
|
||||
8: "DICTATION",
|
||||
}
|
||||
var RecognitionMetadata_InteractionType_value = map[string]int32{
|
||||
"INTERACTION_TYPE_UNSPECIFIED": 0,
|
||||
"DISCUSSION": 1,
|
||||
"PRESENTATION": 2,
|
||||
"PHONE_CALL": 3,
|
||||
"VOICEMAIL": 4,
|
||||
"PROFESSIONALLY_PRODUCED": 5,
|
||||
"VOICE_SEARCH": 6,
|
||||
"VOICE_COMMAND": 7,
|
||||
"DICTATION": 8,
|
||||
}
|
||||
|
||||
func (x RecognitionMetadata_InteractionType) String() string {
|
||||
return proto.EnumName(RecognitionMetadata_InteractionType_name, int32(x))
|
||||
}
|
||||
func (RecognitionMetadata_InteractionType) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor0, []int{5, 0}
|
||||
}
|
||||
|
||||
// Enumerates the types of capture settings describing an audio file.
|
||||
type RecognitionMetadata_MicrophoneDistance int32
|
||||
|
||||
const (
|
||||
// Audio type is not known.
|
||||
RecognitionMetadata_MICROPHONE_DISTANCE_UNSPECIFIED RecognitionMetadata_MicrophoneDistance = 0
|
||||
// The audio was captured from a closely placed microphone. Eg. phone,
|
||||
// dictaphone, or handheld microphone. Generally if there speaker is within
|
||||
// 1 meter of the microphone.
|
||||
RecognitionMetadata_NEARFIELD RecognitionMetadata_MicrophoneDistance = 1
|
||||
// The speaker if within 3 meters of the microphone.
|
||||
RecognitionMetadata_MIDFIELD RecognitionMetadata_MicrophoneDistance = 2
|
||||
// The speaker is more than 3 meters away from the microphone.
|
||||
RecognitionMetadata_FARFIELD RecognitionMetadata_MicrophoneDistance = 3
|
||||
)
|
||||
|
||||
var RecognitionMetadata_MicrophoneDistance_name = map[int32]string{
|
||||
0: "MICROPHONE_DISTANCE_UNSPECIFIED",
|
||||
1: "NEARFIELD",
|
||||
2: "MIDFIELD",
|
||||
3: "FARFIELD",
|
||||
}
|
||||
var RecognitionMetadata_MicrophoneDistance_value = map[string]int32{
|
||||
"MICROPHONE_DISTANCE_UNSPECIFIED": 0,
|
||||
"NEARFIELD": 1,
|
||||
"MIDFIELD": 2,
|
||||
"FARFIELD": 3,
|
||||
}
|
||||
|
||||
func (x RecognitionMetadata_MicrophoneDistance) String() string {
|
||||
return proto.EnumName(RecognitionMetadata_MicrophoneDistance_name, int32(x))
|
||||
}
|
||||
func (RecognitionMetadata_MicrophoneDistance) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor0, []int{5, 1}
|
||||
}
|
||||
|
||||
// The original media the speech was recorded on.
|
||||
type RecognitionMetadata_OriginalMediaType int32
|
||||
|
||||
const (
|
||||
// Unknown original media type.
|
||||
RecognitionMetadata_ORIGINAL_MEDIA_TYPE_UNSPECIFIED RecognitionMetadata_OriginalMediaType = 0
|
||||
// The speech data is an audio recording.
|
||||
RecognitionMetadata_AUDIO RecognitionMetadata_OriginalMediaType = 1
|
||||
// The speech data originally recorded on a video.
|
||||
RecognitionMetadata_VIDEO RecognitionMetadata_OriginalMediaType = 2
|
||||
)
|
||||
|
||||
var RecognitionMetadata_OriginalMediaType_name = map[int32]string{
|
||||
0: "ORIGINAL_MEDIA_TYPE_UNSPECIFIED",
|
||||
1: "AUDIO",
|
||||
2: "VIDEO",
|
||||
}
|
||||
var RecognitionMetadata_OriginalMediaType_value = map[string]int32{
|
||||
"ORIGINAL_MEDIA_TYPE_UNSPECIFIED": 0,
|
||||
"AUDIO": 1,
|
||||
"VIDEO": 2,
|
||||
}
|
||||
|
||||
func (x RecognitionMetadata_OriginalMediaType) String() string {
|
||||
return proto.EnumName(RecognitionMetadata_OriginalMediaType_name, int32(x))
|
||||
}
|
||||
func (RecognitionMetadata_OriginalMediaType) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor0, []int{5, 2}
|
||||
}
|
||||
|
||||
// How many speakers expected in the speech to be recognized.
|
||||
type RecognitionMetadata_NumberOfSpeakers int32
|
||||
|
||||
const (
|
||||
// Unknown number of persons speaking.
|
||||
RecognitionMetadata_NUMBER_OF_SPEAKERS_UNSPECIFIED RecognitionMetadata_NumberOfSpeakers = 0
|
||||
// Only one person is the prominent speaker (ignore background voices).
|
||||
RecognitionMetadata_ONE_SPEAKER RecognitionMetadata_NumberOfSpeakers = 1
|
||||
// Two people are the prominent speakers (transcript should focus
|
||||
// on the two most prominent speakers).
|
||||
RecognitionMetadata_TWO_SPEAKERS RecognitionMetadata_NumberOfSpeakers = 2
|
||||
// Transcribe all voices.
|
||||
RecognitionMetadata_MULTIPLE_SPEAKERS RecognitionMetadata_NumberOfSpeakers = 3
|
||||
)
|
||||
|
||||
var RecognitionMetadata_NumberOfSpeakers_name = map[int32]string{
|
||||
0: "NUMBER_OF_SPEAKERS_UNSPECIFIED",
|
||||
1: "ONE_SPEAKER",
|
||||
2: "TWO_SPEAKERS",
|
||||
3: "MULTIPLE_SPEAKERS",
|
||||
}
|
||||
var RecognitionMetadata_NumberOfSpeakers_value = map[string]int32{
|
||||
"NUMBER_OF_SPEAKERS_UNSPECIFIED": 0,
|
||||
"ONE_SPEAKER": 1,
|
||||
"TWO_SPEAKERS": 2,
|
||||
"MULTIPLE_SPEAKERS": 3,
|
||||
}
|
||||
|
||||
func (x RecognitionMetadata_NumberOfSpeakers) String() string {
|
||||
return proto.EnumName(RecognitionMetadata_NumberOfSpeakers_name, int32(x))
|
||||
}
|
||||
func (RecognitionMetadata_NumberOfSpeakers) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor0, []int{5, 3}
|
||||
}
|
||||
|
||||
// The type of device the speech was recorded with.
|
||||
type RecognitionMetadata_RecordingDeviceType int32
|
||||
|
||||
const (
|
||||
// The recording device is unknown.
|
||||
RecognitionMetadata_RECORDING_DEVICE_TYPE_UNSPECIFIED RecognitionMetadata_RecordingDeviceType = 0
|
||||
// Speech was recorded on a smartphone.
|
||||
RecognitionMetadata_SMARTPHONE RecognitionMetadata_RecordingDeviceType = 1
|
||||
// Speech was recorded using a personal computer or tablet.
|
||||
RecognitionMetadata_PC RecognitionMetadata_RecordingDeviceType = 2
|
||||
// Speech was recorded over a phone line.
|
||||
RecognitionMetadata_PHONE_LINE RecognitionMetadata_RecordingDeviceType = 3
|
||||
// Speech was recorded in a vehicle.
|
||||
RecognitionMetadata_VEHICLE RecognitionMetadata_RecordingDeviceType = 4
|
||||
// Speech was recorded outdoors.
|
||||
RecognitionMetadata_OTHER_OUTDOOR_DEVICE RecognitionMetadata_RecordingDeviceType = 5
|
||||
// Speech was recorded indoors.
|
||||
RecognitionMetadata_OTHER_INDOOR_DEVICE RecognitionMetadata_RecordingDeviceType = 6
|
||||
)
|
||||
|
||||
var RecognitionMetadata_RecordingDeviceType_name = map[int32]string{
|
||||
0: "RECORDING_DEVICE_TYPE_UNSPECIFIED",
|
||||
1: "SMARTPHONE",
|
||||
2: "PC",
|
||||
3: "PHONE_LINE",
|
||||
4: "VEHICLE",
|
||||
5: "OTHER_OUTDOOR_DEVICE",
|
||||
6: "OTHER_INDOOR_DEVICE",
|
||||
}
|
||||
var RecognitionMetadata_RecordingDeviceType_value = map[string]int32{
|
||||
"RECORDING_DEVICE_TYPE_UNSPECIFIED": 0,
|
||||
"SMARTPHONE": 1,
|
||||
"PC": 2,
|
||||
"PHONE_LINE": 3,
|
||||
"VEHICLE": 4,
|
||||
"OTHER_OUTDOOR_DEVICE": 5,
|
||||
"OTHER_INDOOR_DEVICE": 6,
|
||||
}
|
||||
|
||||
func (x RecognitionMetadata_RecordingDeviceType) String() string {
|
||||
return proto.EnumName(RecognitionMetadata_RecordingDeviceType_name, int32(x))
|
||||
}
|
||||
func (RecognitionMetadata_RecordingDeviceType) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor0, []int{5, 4}
|
||||
}
|
||||
|
||||
// Indicates the type of speech event.
|
||||
type StreamingRecognizeResponse_SpeechEventType int32
|
||||
|
||||
@ -368,7 +168,7 @@ func (x StreamingRecognizeResponse_SpeechEventType) String() string {
|
||||
return proto.EnumName(StreamingRecognizeResponse_SpeechEventType_name, int32(x))
|
||||
}
|
||||
func (StreamingRecognizeResponse_SpeechEventType) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor0, []int{11, 0}
|
||||
return fileDescriptor0, []int{10, 0}
|
||||
}
|
||||
|
||||
// The top-level message sent by the client for the `Recognize` method.
|
||||
@ -639,16 +439,11 @@ type RecognitionConfig struct {
|
||||
// `false`, no word-level time offset information is returned. The default is
|
||||
// `false`.
|
||||
EnableWordTimeOffsets bool `protobuf:"varint,8,opt,name=enable_word_time_offsets,json=enableWordTimeOffsets" json:"enable_word_time_offsets,omitempty"`
|
||||
// *Optional* If 'true', adds punctuation to recognition result hypotheses.
|
||||
// This feature is only available in select languages. Setting this for
|
||||
// requests in other languages has no effect at all.
|
||||
// The default 'false' value does not add punctuation to result hypotheses.
|
||||
// NOTE: "This is currently offered as an experimental service, complimentary
|
||||
// to all users. In the future this may be exclusively available as a
|
||||
// premium feature."
|
||||
EnableAutomaticPunctuation bool `protobuf:"varint,11,opt,name=enable_automatic_punctuation,json=enableAutomaticPunctuation" json:"enable_automatic_punctuation,omitempty"`
|
||||
// *Optional* Metadata regarding this request.
|
||||
Metadata *RecognitionMetadata `protobuf:"bytes,9,opt,name=metadata" json:"metadata,omitempty"`
|
||||
// *Optional* Which model to select for the given request. Select the model
|
||||
// best suited to your domain to get best results. If a model is not
|
||||
// explicitly specified, then we auto-select a model based on the parameters
|
||||
// in the RecognitionConfig.
|
||||
Model string `protobuf:"bytes,13,opt,name=model" json:"model,omitempty"`
|
||||
}
|
||||
|
||||
func (m *RecognitionConfig) Reset() { *m = RecognitionConfig{} }
|
||||
@ -705,126 +500,9 @@ func (m *RecognitionConfig) GetEnableWordTimeOffsets() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *RecognitionConfig) GetEnableAutomaticPunctuation() bool {
|
||||
func (m *RecognitionConfig) GetModel() string {
|
||||
if m != nil {
|
||||
return m.EnableAutomaticPunctuation
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *RecognitionConfig) GetMetadata() *RecognitionMetadata {
|
||||
if m != nil {
|
||||
return m.Metadata
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Description of audio data to be recognized.
|
||||
type RecognitionMetadata struct {
|
||||
// The use case most closely describing the audio content to be recognized.
|
||||
InteractionType RecognitionMetadata_InteractionType `protobuf:"varint,1,opt,name=interaction_type,json=interactionType,enum=google.cloud.speech.v1p1beta1.RecognitionMetadata_InteractionType" json:"interaction_type,omitempty"`
|
||||
// The industry vertical to which this speech recognition request most
|
||||
// closely applies. This is most indicative of the topics contained
|
||||
// in the audio. Use the 6-digit NAICS code to identify the industry
|
||||
// vertical - see https://www.naics.com/search/.
|
||||
IndustryNaicsCodeOfAudio uint32 `protobuf:"varint,3,opt,name=industry_naics_code_of_audio,json=industryNaicsCodeOfAudio" json:"industry_naics_code_of_audio,omitempty"`
|
||||
// The audio type that most closely describes the audio being recognized.
|
||||
MicrophoneDistance RecognitionMetadata_MicrophoneDistance `protobuf:"varint,4,opt,name=microphone_distance,json=microphoneDistance,enum=google.cloud.speech.v1p1beta1.RecognitionMetadata_MicrophoneDistance" json:"microphone_distance,omitempty"`
|
||||
// The original media the speech was recorded on.
|
||||
OriginalMediaType RecognitionMetadata_OriginalMediaType `protobuf:"varint,5,opt,name=original_media_type,json=originalMediaType,enum=google.cloud.speech.v1p1beta1.RecognitionMetadata_OriginalMediaType" json:"original_media_type,omitempty"`
|
||||
// How many people are speaking prominently in the audio and expected to be
|
||||
// recognized.
|
||||
NumberOfSpeakers RecognitionMetadata_NumberOfSpeakers `protobuf:"varint,6,opt,name=number_of_speakers,json=numberOfSpeakers,enum=google.cloud.speech.v1p1beta1.RecognitionMetadata_NumberOfSpeakers" json:"number_of_speakers,omitempty"`
|
||||
// The type of device the speech was recorded with.
|
||||
RecordingDeviceType RecognitionMetadata_RecordingDeviceType `protobuf:"varint,7,opt,name=recording_device_type,json=recordingDeviceType,enum=google.cloud.speech.v1p1beta1.RecognitionMetadata_RecordingDeviceType" json:"recording_device_type,omitempty"`
|
||||
// The device used to make the recording. Examples 'Nexus 5X' or
|
||||
// 'Polycom SoundStation IP 6000' or 'POTS' or 'VoIP' or
|
||||
// 'Cardioid Microphone'.
|
||||
RecordingDeviceName string `protobuf:"bytes,8,opt,name=recording_device_name,json=recordingDeviceName" json:"recording_device_name,omitempty"`
|
||||
// Mime type of the original audio file. For example `audio/m4a`,
|
||||
// `audio/x-alaw-basic`, `audio/mp3`, `audio/3gpp`.
|
||||
// A list of possible audio mime types is maintained at
|
||||
// http://www.iana.org/assignments/media-types/media-types.xhtml#audio
|
||||
OriginalMimeType string `protobuf:"bytes,9,opt,name=original_mime_type,json=originalMimeType" json:"original_mime_type,omitempty"`
|
||||
// Obfuscated (privacy-protected) ID of the user, to identify number of
|
||||
// unique users using the service.
|
||||
ObfuscatedId int64 `protobuf:"varint,10,opt,name=obfuscated_id,json=obfuscatedId" json:"obfuscated_id,omitempty"`
|
||||
// Description of the content. Eg. "Recordings of federal supreme court
|
||||
// hearings from 2012".
|
||||
AudioTopic string `protobuf:"bytes,11,opt,name=audio_topic,json=audioTopic" json:"audio_topic,omitempty"`
|
||||
}
|
||||
|
||||
func (m *RecognitionMetadata) Reset() { *m = RecognitionMetadata{} }
|
||||
func (m *RecognitionMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*RecognitionMetadata) ProtoMessage() {}
|
||||
func (*RecognitionMetadata) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
||||
|
||||
func (m *RecognitionMetadata) GetInteractionType() RecognitionMetadata_InteractionType {
|
||||
if m != nil {
|
||||
return m.InteractionType
|
||||
}
|
||||
return RecognitionMetadata_INTERACTION_TYPE_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *RecognitionMetadata) GetIndustryNaicsCodeOfAudio() uint32 {
|
||||
if m != nil {
|
||||
return m.IndustryNaicsCodeOfAudio
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *RecognitionMetadata) GetMicrophoneDistance() RecognitionMetadata_MicrophoneDistance {
|
||||
if m != nil {
|
||||
return m.MicrophoneDistance
|
||||
}
|
||||
return RecognitionMetadata_MICROPHONE_DISTANCE_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *RecognitionMetadata) GetOriginalMediaType() RecognitionMetadata_OriginalMediaType {
|
||||
if m != nil {
|
||||
return m.OriginalMediaType
|
||||
}
|
||||
return RecognitionMetadata_ORIGINAL_MEDIA_TYPE_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *RecognitionMetadata) GetNumberOfSpeakers() RecognitionMetadata_NumberOfSpeakers {
|
||||
if m != nil {
|
||||
return m.NumberOfSpeakers
|
||||
}
|
||||
return RecognitionMetadata_NUMBER_OF_SPEAKERS_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *RecognitionMetadata) GetRecordingDeviceType() RecognitionMetadata_RecordingDeviceType {
|
||||
if m != nil {
|
||||
return m.RecordingDeviceType
|
||||
}
|
||||
return RecognitionMetadata_RECORDING_DEVICE_TYPE_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *RecognitionMetadata) GetRecordingDeviceName() string {
|
||||
if m != nil {
|
||||
return m.RecordingDeviceName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *RecognitionMetadata) GetOriginalMimeType() string {
|
||||
if m != nil {
|
||||
return m.OriginalMimeType
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *RecognitionMetadata) GetObfuscatedId() int64 {
|
||||
if m != nil {
|
||||
return m.ObfuscatedId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *RecognitionMetadata) GetAudioTopic() string {
|
||||
if m != nil {
|
||||
return m.AudioTopic
|
||||
return m.Model
|
||||
}
|
||||
return ""
|
||||
}
|
||||
@ -844,7 +522,7 @@ type SpeechContext struct {
|
||||
func (m *SpeechContext) Reset() { *m = SpeechContext{} }
|
||||
func (m *SpeechContext) String() string { return proto.CompactTextString(m) }
|
||||
func (*SpeechContext) ProtoMessage() {}
|
||||
func (*SpeechContext) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
||||
func (*SpeechContext) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
||||
|
||||
func (m *SpeechContext) GetPhrases() []string {
|
||||
if m != nil {
|
||||
@ -858,7 +536,8 @@ func (m *SpeechContext) GetPhrases() []string {
|
||||
// returns [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. See
|
||||
// [audio limits](https://cloud.google.com/speech/limits#content).
|
||||
type RecognitionAudio struct {
|
||||
// The audio source, which is either inline content or a GCS uri.
|
||||
// The audio source, which is either inline content or a Google Cloud
|
||||
// Storage uri.
|
||||
//
|
||||
// Types that are valid to be assigned to AudioSource:
|
||||
// *RecognitionAudio_Content
|
||||
@ -869,7 +548,7 @@ type RecognitionAudio struct {
|
||||
func (m *RecognitionAudio) Reset() { *m = RecognitionAudio{} }
|
||||
func (m *RecognitionAudio) String() string { return proto.CompactTextString(m) }
|
||||
func (*RecognitionAudio) ProtoMessage() {}
|
||||
func (*RecognitionAudio) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
|
||||
func (*RecognitionAudio) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
||||
|
||||
type isRecognitionAudio_AudioSource interface {
|
||||
isRecognitionAudio_AudioSource()
|
||||
@ -984,7 +663,7 @@ type RecognizeResponse struct {
|
||||
func (m *RecognizeResponse) Reset() { *m = RecognizeResponse{} }
|
||||
func (m *RecognizeResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*RecognizeResponse) ProtoMessage() {}
|
||||
func (*RecognizeResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
|
||||
func (*RecognizeResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
|
||||
|
||||
func (m *RecognizeResponse) GetResults() []*SpeechRecognitionResult {
|
||||
if m != nil {
|
||||
@ -1007,7 +686,7 @@ type LongRunningRecognizeResponse struct {
|
||||
func (m *LongRunningRecognizeResponse) Reset() { *m = LongRunningRecognizeResponse{} }
|
||||
func (m *LongRunningRecognizeResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*LongRunningRecognizeResponse) ProtoMessage() {}
|
||||
func (*LongRunningRecognizeResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
|
||||
func (*LongRunningRecognizeResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
|
||||
|
||||
func (m *LongRunningRecognizeResponse) GetResults() []*SpeechRecognitionResult {
|
||||
if m != nil {
|
||||
@ -1032,7 +711,7 @@ type LongRunningRecognizeMetadata struct {
|
||||
func (m *LongRunningRecognizeMetadata) Reset() { *m = LongRunningRecognizeMetadata{} }
|
||||
func (m *LongRunningRecognizeMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*LongRunningRecognizeMetadata) ProtoMessage() {}
|
||||
func (*LongRunningRecognizeMetadata) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
|
||||
func (*LongRunningRecognizeMetadata) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
|
||||
|
||||
func (m *LongRunningRecognizeMetadata) GetProgressPercent() int32 {
|
||||
if m != nil {
|
||||
@ -1110,8 +789,8 @@ type StreamingRecognizeResponse struct {
|
||||
Error *google_rpc.Status `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
|
||||
// *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 more `is_final=false` results followed by zero or one
|
||||
// `is_final=true` result (the newly settled portion).
|
||||
// It contains zero or one `is_final=true` result (the newly settled portion),
|
||||
// followed by zero or more `is_final=false` results (the interim results).
|
||||
Results []*StreamingRecognitionResult `protobuf:"bytes,2,rep,name=results" json:"results,omitempty"`
|
||||
// *Output-only* Indicates the type of speech event.
|
||||
SpeechEventType StreamingRecognizeResponse_SpeechEventType `protobuf:"varint,4,opt,name=speech_event_type,json=speechEventType,enum=google.cloud.speech.v1p1beta1.StreamingRecognizeResponse_SpeechEventType" json:"speech_event_type,omitempty"`
|
||||
@ -1120,7 +799,7 @@ type StreamingRecognizeResponse struct {
|
||||
func (m *StreamingRecognizeResponse) Reset() { *m = StreamingRecognizeResponse{} }
|
||||
func (m *StreamingRecognizeResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*StreamingRecognizeResponse) ProtoMessage() {}
|
||||
func (*StreamingRecognizeResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
|
||||
func (*StreamingRecognizeResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
|
||||
|
||||
func (m *StreamingRecognizeResponse) GetError() *google_rpc.Status {
|
||||
if m != nil {
|
||||
@ -1148,6 +827,8 @@ func (m *StreamingRecognizeResponse) GetSpeechEventType() StreamingRecognizeResp
|
||||
type StreamingRecognitionResult struct {
|
||||
// *Output-only* May contain one or more recognition hypotheses (up to the
|
||||
// maximum specified in `max_alternatives`).
|
||||
// These alternatives are ordered in terms of accuracy, with the top (first)
|
||||
// alternative being the most probable, as ranked by the recognizer.
|
||||
Alternatives []*SpeechRecognitionAlternative `protobuf:"bytes,1,rep,name=alternatives" json:"alternatives,omitempty"`
|
||||
// *Output-only* If `false`, this `StreamingRecognitionResult` represents an
|
||||
// interim result that may change. If `true`, this is the final time the
|
||||
@ -1166,7 +847,7 @@ type StreamingRecognitionResult struct {
|
||||
func (m *StreamingRecognitionResult) Reset() { *m = StreamingRecognitionResult{} }
|
||||
func (m *StreamingRecognitionResult) String() string { return proto.CompactTextString(m) }
|
||||
func (*StreamingRecognitionResult) ProtoMessage() {}
|
||||
func (*StreamingRecognitionResult) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} }
|
||||
func (*StreamingRecognitionResult) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
|
||||
|
||||
func (m *StreamingRecognitionResult) GetAlternatives() []*SpeechRecognitionAlternative {
|
||||
if m != nil {
|
||||
@ -1201,7 +882,7 @@ type SpeechRecognitionResult struct {
|
||||
func (m *SpeechRecognitionResult) Reset() { *m = SpeechRecognitionResult{} }
|
||||
func (m *SpeechRecognitionResult) String() string { return proto.CompactTextString(m) }
|
||||
func (*SpeechRecognitionResult) ProtoMessage() {}
|
||||
func (*SpeechRecognitionResult) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13} }
|
||||
func (*SpeechRecognitionResult) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} }
|
||||
|
||||
func (m *SpeechRecognitionResult) GetAlternatives() []*SpeechRecognitionAlternative {
|
||||
if m != nil {
|
||||
@ -1216,10 +897,10 @@ type SpeechRecognitionAlternative struct {
|
||||
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
|
||||
// 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.
|
||||
// correct. This field is set only for the top alternative of a non-streaming
|
||||
// result or, of a streaming result where `is_final=true`.
|
||||
// This field is not guaranteed to be accurate and users should not rely on it
|
||||
// to be always provided.
|
||||
// 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"`
|
||||
// *Output-only* A list of word-specific information for each recognized word.
|
||||
@ -1229,7 +910,7 @@ type SpeechRecognitionAlternative struct {
|
||||
func (m *SpeechRecognitionAlternative) Reset() { *m = SpeechRecognitionAlternative{} }
|
||||
func (m *SpeechRecognitionAlternative) String() string { return proto.CompactTextString(m) }
|
||||
func (*SpeechRecognitionAlternative) ProtoMessage() {}
|
||||
func (*SpeechRecognitionAlternative) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{14} }
|
||||
func (*SpeechRecognitionAlternative) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13} }
|
||||
|
||||
func (m *SpeechRecognitionAlternative) GetTranscript() string {
|
||||
if m != nil {
|
||||
@ -1252,9 +933,7 @@ func (m *SpeechRecognitionAlternative) GetWords() []*WordInfo {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Word-specific information for recognized words. Word information is only
|
||||
// included in the response when certain request parameters are set, such
|
||||
// as `enable_word_time_offsets`.
|
||||
// Word-specific information for recognized words.
|
||||
type WordInfo struct {
|
||||
// *Output-only* Time offset relative to the beginning of the audio,
|
||||
// and corresponding to the start of the spoken word.
|
||||
@ -1277,7 +956,7 @@ type WordInfo struct {
|
||||
func (m *WordInfo) Reset() { *m = WordInfo{} }
|
||||
func (m *WordInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*WordInfo) ProtoMessage() {}
|
||||
func (*WordInfo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{15} }
|
||||
func (*WordInfo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{14} }
|
||||
|
||||
func (m *WordInfo) GetStartTime() *google_protobuf3.Duration {
|
||||
if m != nil {
|
||||
@ -1306,7 +985,6 @@ func init() {
|
||||
proto.RegisterType((*StreamingRecognizeRequest)(nil), "google.cloud.speech.v1p1beta1.StreamingRecognizeRequest")
|
||||
proto.RegisterType((*StreamingRecognitionConfig)(nil), "google.cloud.speech.v1p1beta1.StreamingRecognitionConfig")
|
||||
proto.RegisterType((*RecognitionConfig)(nil), "google.cloud.speech.v1p1beta1.RecognitionConfig")
|
||||
proto.RegisterType((*RecognitionMetadata)(nil), "google.cloud.speech.v1p1beta1.RecognitionMetadata")
|
||||
proto.RegisterType((*SpeechContext)(nil), "google.cloud.speech.v1p1beta1.SpeechContext")
|
||||
proto.RegisterType((*RecognitionAudio)(nil), "google.cloud.speech.v1p1beta1.RecognitionAudio")
|
||||
proto.RegisterType((*RecognizeResponse)(nil), "google.cloud.speech.v1p1beta1.RecognizeResponse")
|
||||
@ -1318,11 +996,6 @@ func init() {
|
||||
proto.RegisterType((*SpeechRecognitionAlternative)(nil), "google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative")
|
||||
proto.RegisterType((*WordInfo)(nil), "google.cloud.speech.v1p1beta1.WordInfo")
|
||||
proto.RegisterEnum("google.cloud.speech.v1p1beta1.RecognitionConfig_AudioEncoding", RecognitionConfig_AudioEncoding_name, RecognitionConfig_AudioEncoding_value)
|
||||
proto.RegisterEnum("google.cloud.speech.v1p1beta1.RecognitionMetadata_InteractionType", RecognitionMetadata_InteractionType_name, RecognitionMetadata_InteractionType_value)
|
||||
proto.RegisterEnum("google.cloud.speech.v1p1beta1.RecognitionMetadata_MicrophoneDistance", RecognitionMetadata_MicrophoneDistance_name, RecognitionMetadata_MicrophoneDistance_value)
|
||||
proto.RegisterEnum("google.cloud.speech.v1p1beta1.RecognitionMetadata_OriginalMediaType", RecognitionMetadata_OriginalMediaType_name, RecognitionMetadata_OriginalMediaType_value)
|
||||
proto.RegisterEnum("google.cloud.speech.v1p1beta1.RecognitionMetadata_NumberOfSpeakers", RecognitionMetadata_NumberOfSpeakers_name, RecognitionMetadata_NumberOfSpeakers_value)
|
||||
proto.RegisterEnum("google.cloud.speech.v1p1beta1.RecognitionMetadata_RecordingDeviceType", RecognitionMetadata_RecordingDeviceType_name, RecognitionMetadata_RecordingDeviceType_value)
|
||||
proto.RegisterEnum("google.cloud.speech.v1p1beta1.StreamingRecognizeResponse_SpeechEventType", StreamingRecognizeResponse_SpeechEventType_name, StreamingRecognizeResponse_SpeechEventType_value)
|
||||
}
|
||||
|
||||
@ -1510,137 +1183,95 @@ var _Speech_serviceDesc = grpc.ServiceDesc{
|
||||
ClientStreams: true,
|
||||
},
|
||||
},
|
||||
Metadata: "google/cloud/speech/v1_1beta1/cloud_speech.proto",
|
||||
Metadata: "google/cloud/speech/v1p1beta1/cloud_speech.proto",
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/cloud/speech/v1_1beta1/cloud_speech.proto", fileDescriptor0) }
|
||||
func init() { proto.RegisterFile("google/cloud/speech/v1p1beta1/cloud_speech.proto", fileDescriptor0) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
// 2005 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xbf, 0x73, 0xdb, 0xc8,
|
||||
0xf5, 0x37, 0x48, 0x51, 0x12, 0x9f, 0x7e, 0x41, 0xab, 0xf3, 0xd7, 0xb4, 0xac, 0xb3, 0x75, 0xf0,
|
||||
0xdc, 0x9d, 0xee, 0xbe, 0x37, 0xa4, 0xa5, 0x64, 0x2e, 0x67, 0xdf, 0xe4, 0x26, 0x10, 0x00, 0x99,
|
||||
0x98, 0x90, 0x00, 0x67, 0x49, 0xda, 0xf1, 0x35, 0x3b, 0x10, 0xb8, 0xa4, 0x31, 0x21, 0x01, 0x1c,
|
||||
0xb0, 0x50, 0x6c, 0x97, 0x69, 0x33, 0x49, 0x93, 0x99, 0x74, 0xa9, 0x72, 0x75, 0xca, 0x14, 0x69,
|
||||
0x52, 0x25, 0x45, 0xda, 0x34, 0x29, 0xaf, 0xc8, 0x1f, 0x91, 0x32, 0xb3, 0xbb, 0x00, 0x45, 0x91,
|
||||
0xb2, 0x2d, 0x6b, 0x72, 0x33, 0xe9, 0x88, 0xcf, 0xbe, 0xf7, 0x79, 0x6f, 0xdf, 0xbe, 0x7d, 0x7c,
|
||||
0x6f, 0xe1, 0xc1, 0x28, 0x8a, 0x46, 0x63, 0xda, 0xf0, 0xc7, 0x51, 0x36, 0x68, 0xa4, 0x31, 0xa5,
|
||||
0xfe, 0xf3, 0xc6, 0xd9, 0x21, 0x39, 0x3c, 0xa5, 0xcc, 0x3b, 0x94, 0x30, 0x91, 0x70, 0x3d, 0x4e,
|
||||
0x22, 0x16, 0xa1, 0xf7, 0xa5, 0x46, 0x5d, 0x2c, 0xd5, 0xf3, 0xa5, 0xb3, 0xc3, 0x58, 0x6a, 0xec,
|
||||
0xee, 0xe5, 0x84, 0x5e, 0x1c, 0x34, 0xbc, 0x30, 0x8c, 0x98, 0xc7, 0x82, 0x28, 0x4c, 0xa5, 0xf2,
|
||||
0xee, 0xfd, 0x7c, 0x75, 0x1c, 0x85, 0xa3, 0x24, 0x0b, 0xc3, 0x20, 0x1c, 0x35, 0xa2, 0x98, 0x26,
|
||||
0x17, 0x84, 0xee, 0xe6, 0x42, 0xe2, 0xeb, 0x34, 0x1b, 0x36, 0x06, 0x99, 0x14, 0xc8, 0xd7, 0xef,
|
||||
0xcd, 0xaf, 0xb3, 0x60, 0x42, 0x53, 0xe6, 0x4d, 0xe2, 0x5c, 0xe0, 0x56, 0x2e, 0x90, 0xc4, 0x7e,
|
||||
0x23, 0x65, 0x1e, 0xcb, 0x72, 0x66, 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20, 0x64, 0x34, 0x09, 0x26, 0x24, 0xa1, 0x69, 0x36, 0x66, 0x69, 0xad, 0x2c,
|
||||
0x24, 0x37, 0x73, 0x18, 0x4b, 0x54, 0xfb, 0x5b, 0x05, 0xb6, 0x17, 0x7d, 0xfe, 0x1a, 0x56, 0x69,
|
||||
0xe8, 0x47, 0x83, 0x20, 0x94, 0x5e, 0x6f, 0x1e, 0x7d, 0xf5, 0xae, 0x5e, 0xd7, 0xc5, 0x29, 0x5b,
|
||||
0x39, 0x0b, 0x9e, 0xf2, 0xa1, 0x4f, 0x61, 0x3b, 0xf5, 0x26, 0xf1, 0x98, 0x92, 0xc4, 0x63, 0x94,
|
||||
0x3c, 0xa7, 0x09, 0x7b, 0x25, 0xb6, 0x51, 0xc1, 0x5b, 0x72, 0x01, 0x7b, 0x8c, 0x36, 0x39, 0x8c,
|
||||
0xee, 0xc3, 0xc6, 0xd8, 0x0b, 0x47, 0x99, 0x37, 0xa2, 0xc4, 0x8f, 0x06, 0x54, 0x6c, 0xa2, 0x8a,
|
||||
0xd7, 0x0b, 0xd0, 0x88, 0x06, 0x94, 0x87, 0x65, 0xe2, 0xbd, 0x20, 0xde, 0x98, 0xd1, 0x24, 0xf4,
|
||||
0x58, 0x70, 0x46, 0xd3, 0xda, 0x92, 0xe4, 0x9b, 0x78, 0x2f, 0xf4, 0x19, 0x98, 0x8b, 0xc6, 0x49,
|
||||
0x34, 0xf4, 0xc2, 0x80, 0xbd, 0x24, 0xc3, 0x80, 0x2f, 0xd5, 0x2a, 0x32, 0x82, 0x53, 0xfc, 0x44,
|
||||
0xc0, 0xa8, 0x0f, 0x5b, 0x72, 0x93, 0x32, 0x25, 0x5e, 0xb0, 0xb4, 0xb6, 0xbc, 0x5f, 0x3e, 0x58,
|
||||
0x3b, 0xfa, 0xec, 0x6d, 0x89, 0x27, 0x00, 0x43, 0x2a, 0xe1, 0xcd, 0x74, 0xf6, 0x33, 0x45, 0x3f,
|
||||
0x82, 0x1a, 0x0d, 0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 0xfd, 0x8c, 0x3c, 0xb5, 0x7b, 0x4d, 0xd2, 0xb4, 0x74, 0xd3, 0xc2, 0xe4, 0xf8, 0x59, 0xcf,
|
||||
0x52, 0x57, 0xb4, 0xef, 0xd6, 0x60, 0xe7, 0x12, 0x7f, 0xd1, 0x04, 0x54, 0x91, 0xf2, 0x9e, 0xcf,
|
||||
0x61, 0xc2, 0x5e, 0xc6, 0x34, 0x4f, 0xe9, 0xe3, 0x77, 0xdf, 0x7d, 0xdd, 0x3e, 0xa7, 0xea, 0xbd,
|
||||
0x8c, 0x29, 0xde, 0x0a, 0x2e, 0x02, 0xe8, 0x2b, 0xd8, 0x0b, 0xc2, 0x41, 0x96, 0xb2, 0xe4, 0x25,
|
||||
0x09, 0xbd, 0xc0, 0x4f, 0x45, 0xde, 0x92, 0x68, 0x48, 0x64, 0xb1, 0xe4, 0x09, 0xbc, 0x81, 0x6b,
|
||||
0x85, 0x8c, 0xc3, 0x45, 0x78, 0x16, 0xbb, 0x43, 0x11, 0x4a, 0x74, 0x06, 0x3b, 0x93, 0xc0, 0x4f,
|
||||
0xa2, 0xf8, 0x79, 0x14, 0x52, 0x32, 0x08, 0x52, 0x26, 0xae, 0xf9, 0x92, 0xf0, 0xd8, 0xba, 0x86,
|
||||
0xc7, 0xed, 0x29, 0x9b, 0x99, 0x93, 0x61, 0x34, 0x59, 0xc0, 0x10, 0x83, 0x9d, 0x28, 0x09, 0x46,
|
||||
0x41, 0xe8, 0x8d, 0xc9, 0x84, 0x0e, 0x02, 0x4f, 0x46, 0xaa, 0x22, 0xec, 0x9a, 0xd7, 0xb0, 0xeb,
|
||||
0xe6, 0x6c, 0x6d, 0x4e, 0x26, 0x62, 0xb5, 0x1d, 0xcd, 0x43, 0xe8, 0x1b, 0x40, 0x61, 0x36, 0x39,
|
||||
0xa5, 0x09, 0x0f, 0x50, 0x1a, 0x53, 0xef, 0xe7, 0x34, 0xe1, 0xf7, 0x8c, 0x1b, 0x35, 0xae, 0x61,
|
||||
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, 0x52, 0xd4, 0x81, 0x95, 0xa2, 0xc1,
|
||||
0x2a, 0x89, 0xf6, 0xe0, 0xf3, 0x2b, 0xb5, 0x07, 0x33, 0xce, 0xc9, 0x4e, 0x0c, 0x17, 0x34, 0x5a,
|
||||
0x0c, 0x7b, 0x97, 0x37, 0xf0, 0xdf, 0x9b, 0xc5, 0xbf, 0x2b, 0x97, 0x9b, 0x9c, 0xfe, 0x87, 0xca,
|
||||
0xb6, 0x69, 0x94, 0xd0, 0x34, 0x25, 0x31, 0x4d, 0xfc, 0x22, 0x84, 0x15, 0xd1, 0x36, 0x09, 0xbc,
|
||||
0x23, 0x61, 0xf4, 0x10, 0x20, 0x65, 0x5e, 0xc2, 0x44, 0x67, 0x93, 0x8f, 0x06, 0xbb, 0x85, 0x83,
|
||||
0xc5, 0xd0, 0x55, 0xef, 0x15, 0x43, 0x17, 0xae, 0x0a, 0x69, 0xfe, 0x8d, 0x4c, 0x50, 0xc7, 0x5e,
|
||||
0xca, 0x48, 0x16, 0x0f, 0x78, 0x63, 0x28, 0x08, 0xca, 0x6f, 0x25, 0xd8, 0xe4, 0x3a, 0x7d, 0xa1,
|
||||
0xc2, 0x41, 0xed, 0xbb, 0xd2, 0x62, 0x37, 0x3e, 0x13, 0xbd, 0x03, 0xa8, 0xd0, 0x24, 0x89, 0x92,
|
||||
0xbc, 0x19, 0x47, 0x05, 0x73, 0x12, 0xfb, 0xf5, 0xae, 0x18, 0xf7, 0xb0, 0x14, 0x40, 0xdd, 0xf9,
|
||||
0x38, 0x5f, 0x67, 0xe2, 0x98, 0x0b, 0x35, 0xca, 0x60, 0x3b, 0xef, 0x2a, 0xe9, 0x19, 0x0d, 0x99,
|
||||
0x2c, 0xe6, 0xf2, 0xcf, 0xdd, 0x7e, 0x47, 0xfa, 0xf3, 0x4d, 0xe5, 0x27, 0x6c, 0x71, 0x46, 0xd9,
|
||||
0x95, 0xa4, 0x17, 0x01, 0xad, 0x05, 0x5b, 0x73, 0x32, 0x68, 0x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 0xe2, 0x20, 0x9d, 0x7f, 0x8b, 0xcc, 0xc9, 0xbe, 0x94, 0xc0, 0xbf,
|
||||
0x15, 0xe5, 0x74, 0x59, 0xa8, 0xfc, 0xe0, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xdf, 0x32, 0x25,
|
||||
0x1e, 0xbd, 0x14, 0x00, 0x00,
|
||||
// 1343 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0xbb, 0x6f, 0x5b, 0xb7,
|
||||
0x1a, 0xf7, 0xb1, 0x2c, 0x3f, 0xbe, 0xf8, 0x21, 0xf3, 0xe6, 0xde, 0xc8, 0x8a, 0x93, 0xeb, 0x7b,
|
||||
0x82, 0x9b, 0x38, 0x69, 0x21, 0xd9, 0x6e, 0x91, 0xe6, 0x81, 0x16, 0x90, 0xe5, 0x63, 0x4b, 0x80,
|
||||
0x2d, 0x1b, 0xb4, 0x5c, 0xb7, 0x59, 0x08, 0x5a, 0xa2, 0x94, 0x03, 0x48, 0xe4, 0x29, 0x49, 0xa5,
|
||||
0xb1, 0xc7, 0xae, 0x45, 0xbb, 0x14, 0xe8, 0xd6, 0xa9, 0x9d, 0x3b, 0x76, 0xe8, 0xd2, 0x3d, 0x6b,
|
||||
0x97, 0x8e, 0x1d, 0xfa, 0x47, 0x74, 0x2c, 0x48, 0x9e, 0x23, 0x4b, 0x7e, 0x27, 0x68, 0x80, 0x6e,
|
||||
0x87, 0xbf, 0xef, 0xc1, 0x1f, 0x3f, 0x7e, 0x0f, 0x1e, 0x58, 0x6a, 0x09, 0xd1, 0x6a, 0xb3, 0x42,
|
||||
0xbd, 0x2d, 0xba, 0x8d, 0x82, 0x8a, 0x18, 0xab, 0x3f, 0x2f, 0xbc, 0x58, 0x8e, 0x96, 0x0f, 0x98,
|
||||
0xa6, 0xcb, 0x0e, 0x26, 0x0e, 0xce, 0x47, 0x52, 0x68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 0x90, 0xde, 0xda, 0xdb, 0x2c, 0xee, 0x67, 0x52, 0x68, 0x0c, 0x52,
|
||||
0xc5, 0x2d, 0x9c, 0x19, 0x41, 0x00, 0xa3, 0xc5, 0x2d, 0x4c, 0xf6, 0x57, 0x33, 0x69, 0x63, 0xb7,
|
||||
0xbd, 0xb1, 0x41, 0xb6, 0x77, 0xf6, 0x76, 0x33, 0xa3, 0x28, 0x07, 0xff, 0xd9, 0xdd, 0x09, 0x82,
|
||||
0x4f, 0xc8, 0x7e, 0xa5, 0x56, 0x26, 0xe5, 0xa0, 0xb8, 0x16, 0x60, 0xb2, 0xfa, 0x69, 0x2d, 0xc8,
|
||||
0x8c, 0xf9, 0xf7, 0x61, 0x6a, 0xe0, 0xf4, 0x28, 0x0b, 0x63, 0xd1, 0x73, 0x49, 0x15, 0x53, 0x59,
|
||||
0x6f, 0x21, 0xb5, 0x38, 0x81, 0x93, 0xa5, 0x8f, 0x7b, 0xcd, 0xb4, 0xd7, 0x11, 0x50, 0x0e, 0xc6,
|
||||
0x92, 0xf2, 0xf3, 0xe2, 0xf2, 0x4b, 0x00, 0x84, 0x20, 0xd5, 0x95, 0xa1, 0xcd, 0x93, 0x89, 0xf2,
|
||||
0x10, 0x36, 0x8b, 0xd5, 0x69, 0x70, 0xd5, 0x49, 0x94, 0xe8, 0xca, 0x3a, 0xf3, 0x59, 0x2f, 0x95,
|
||||
0x4d, 0x03, 0x51, 0x91, 0xe0, 0x8a, 0xa1, 0x1d, 0x18, 0x4b, 0x2a, 0x60, 0xd8, 0xde, 0xdf, 0xc3,
|
||||
0x2b, 0xdd, 0x5f, 0x1f, 0x39, 0x57, 0x2a, 0x38, 0x71, 0xe3, 0x47, 0x30, 0x7f, 0x76, 0x87, 0x7d,
|
||||
0x6b, 0x3b, 0xbe, 0xf2, 0xce, 0xde, 0x72, 0x8b, 0x69, 0xda, 0xa0, 0x9a, 0xc6, 0x79, 0xdd, 0x92,
|
||||
0x4c, 0x29, 0x12, 0x31, 0x59, 0x4f, 0x42, 0x98, 0xb6, 0x79, 0x6d, 0xf1, 0x1d, 0x07, 0xa3, 0xc7,
|
||||
0x00, 0x4a, 0x53, 0xa9, 0x6d, 0xea, 0xc5, 0xbd, 0x3b, 0x97, 0x10, 0x4c, 0xa6, 0x62, 0xbe, 0x96,
|
||||
0x4c, 0x45, 0x3c, 0x61, 0xb5, 0xcd, 0x1a, 0xad, 0x41, 0xa6, 0x4d, 0x95, 0x26, 0xdd, 0xa8, 0x61,
|
||||
0x2a, 0xd7, 0x3a, 0x48, 0x5d, 0xea, 0x60, 0xda, 0xd8, 0xec, 0x59, 0x13, 0x03, 0xfa, 0xbf, 0x0f,
|
||||
0x9f, 0x6e, 0x97, 0x7d, 0xd1, 0x5b, 0x84, 0x34, 0x93, 0x52, 0xc8, 0xb8, 0x5b, 0xa2, 0xc4, 0xb3,
|
||||
0x8c, 0xea, 0xf9, 0x5d, 0x3b, 0x8f, 0xb1, 0x53, 0x40, 0xbb, 0x27, 0xe3, 0xfc, 0x26, 0x23, 0xe1,
|
||||
0x44, 0xa8, 0x51, 0x17, 0x66, 0xe3, 0xb2, 0x67, 0x2f, 0x18, 0xd7, 0x44, 0x1f, 0x46, 0xcc, 0x76,
|
||||
0x93, 0xe9, 0x95, 0xca, 0x6b, 0xba, 0x3f, 0x3e, 0x54, 0x7c, 0xc3, 0x81, 0xf1, 0x58, 0x3b, 0x8c,
|
||||
0x18, 0x8e, 0x5b, 0x4b, 0x0f, 0xf0, 0x37, 0x61, 0xe6, 0x84, 0x0e, 0x9a, 0x87, 0xac, 0x29, 0xb4,
|
||||
0x52, 0x99, 0x04, 0x1f, 0x07, 0xd5, 0xda, 0x89, 0x62, 0xbe, 0x09, 0x37, 0x82, 0xea, 0x1a, 0xd9,
|
||||
0x5e, 0x27, 0xbb, 0x95, 0xea, 0xc6, 0x66, 0x40, 0xf6, 0x6a, 0xb5, 0x00, 0x17, 0xab, 0xa5, 0x20,
|
||||
0xe3, 0xf9, 0x3f, 0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0xc1, 0xde, 0x2b, 0x2f, 0xb7, 0x74, 0x75, 0x03, 0x57, 0x50, 0xfe, 0xdd, 0x2f, 0x7e,
|
||||
0xfd, 0xe3, 0x9b, 0xe1, 0x05, 0xff, 0x66, 0xdf, 0xaf, 0x88, 0x33, 0x7b, 0x22, 0x13, 0xe5, 0x27,
|
||||
0xde, 0x03, 0xf4, 0x83, 0x07, 0xd7, 0xcf, 0xea, 0x9c, 0xe8, 0xc9, 0x25, 0x5b, 0x5e, 0xf0, 0x86,
|
||||
0xce, 0xdd, 0x4a, 0x6c, 0xfb, 0x7e, 0x52, 0xf2, 0xdb, 0xc9, 0x4f, 0x8a, 0xbf, 0x6c, 0xb9, 0xbd,
|
||||
0xe3, 0xdf, 0x3d, 0xcd, 0xad, 0xcf, 0x60, 0x80, 0xe6, 0x57, 0x1e, 0xa0, 0xd3, 0xed, 0x03, 0x3d,
|
||||
0x7a, 0x83, 0x8e, 0xe3, 0x28, 0x3e, 0x7e, 0xe3, 0x5e, 0xb5, 0xe8, 0x2d, 0x79, 0xab, 0x47, 0xf0,
|
||||
0xbf, 0xba, 0xe8, 0x5c, 0xec, 0x63, 0xf5, 0x9a, 0xbb, 0xfc, 0x1d, 0x93, 0x35, 0x3b, 0xde, 0xb3,
|
||||
0x52, 0xac, 0xdd, 0x12, 0xe6, 0x75, 0x96, 0x17, 0xb2, 0x55, 0x68, 0x31, 0x6e, 0x73, 0xaa, 0xe0,
|
||||
0x44, 0x34, 0x0a, 0xd5, 0x39, 0xff, 0x91, 0x4f, 0x1d, 0xf0, 0xa7, 0xe7, 0x1d, 0x8c, 0x5a, 0x93,
|
||||
0xf7, 0xfe, 0x0a, 0x00, 0x00, 0xff, 0xff, 0x2f, 0x7b, 0x24, 0x37, 0x79, 0x0e, 0x00, 0x00,
|
||||
}
|
||||
|
672
vendor/google.golang.org/genproto/googleapis/cloud/texttospeech/v1beta1/cloud_tts.pb.go
generated
vendored
Normal file
672
vendor/google.golang.org/genproto/googleapis/cloud/texttospeech/v1beta1/cloud_tts.pb.go
generated
vendored
Normal file
@ -0,0 +1,672 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/texttospeech/v1beta1/cloud_tts.proto
|
||||
|
||||
/*
|
||||
Package texttospeech is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/cloud/texttospeech/v1beta1/cloud_tts.proto
|
||||
|
||||
It has these top-level messages:
|
||||
ListVoicesRequest
|
||||
ListVoicesResponse
|
||||
Voice
|
||||
SynthesizeSpeechRequest
|
||||
SynthesisInput
|
||||
VoiceSelectionParams
|
||||
AudioConfig
|
||||
SynthesizeSpeechResponse
|
||||
*/
|
||||
package texttospeech
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
|
||||
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
|
||||
|
||||
// Gender of the voice as described in
|
||||
// [SSML voice element](https://www.w3.org/TR/speech-synthesis11/#edef_voice).
|
||||
type SsmlVoiceGender int32
|
||||
|
||||
const (
|
||||
// An unspecified gender.
|
||||
// In VoiceSelectionParams, this means that the client doesn't care which
|
||||
// gender the selected voice will have. In the Voice field of
|
||||
// ListVoicesResponse, this may mean that the voice doesn't fit any of the
|
||||
// other categories in this enum, or that the gender of the voice isn't known.
|
||||
SsmlVoiceGender_SSML_VOICE_GENDER_UNSPECIFIED SsmlVoiceGender = 0
|
||||
// A male voice.
|
||||
SsmlVoiceGender_MALE SsmlVoiceGender = 1
|
||||
// A female voice.
|
||||
SsmlVoiceGender_FEMALE SsmlVoiceGender = 2
|
||||
// A gender-neutral voice.
|
||||
SsmlVoiceGender_NEUTRAL SsmlVoiceGender = 3
|
||||
)
|
||||
|
||||
var SsmlVoiceGender_name = map[int32]string{
|
||||
0: "SSML_VOICE_GENDER_UNSPECIFIED",
|
||||
1: "MALE",
|
||||
2: "FEMALE",
|
||||
3: "NEUTRAL",
|
||||
}
|
||||
var SsmlVoiceGender_value = map[string]int32{
|
||||
"SSML_VOICE_GENDER_UNSPECIFIED": 0,
|
||||
"MALE": 1,
|
||||
"FEMALE": 2,
|
||||
"NEUTRAL": 3,
|
||||
}
|
||||
|
||||
func (x SsmlVoiceGender) String() string {
|
||||
return proto.EnumName(SsmlVoiceGender_name, int32(x))
|
||||
}
|
||||
func (SsmlVoiceGender) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
|
||||
// Configuration to set up audio encoder. The encoding determines the output
|
||||
// audio format that we'd like.
|
||||
type AudioEncoding int32
|
||||
|
||||
const (
|
||||
// Not specified. Will return result [google.rpc.Code.INVALID_ARGUMENT][].
|
||||
AudioEncoding_AUDIO_ENCODING_UNSPECIFIED AudioEncoding = 0
|
||||
// Uncompressed 16-bit signed little-endian samples (Linear PCM).
|
||||
// Audio content returned as LINEAR16 also contains a WAV header.
|
||||
AudioEncoding_LINEAR16 AudioEncoding = 1
|
||||
// MP3 audio.
|
||||
AudioEncoding_MP3 AudioEncoding = 2
|
||||
// Opus encoded audio wrapped in an ogg container. The result will be a
|
||||
// file which can be played natively on Android, and in browsers (at least
|
||||
// Chrome and Firefox). The quality of the encoding is considerably higher
|
||||
// than MP3 while using approximately the same bitrate.
|
||||
AudioEncoding_OGG_OPUS AudioEncoding = 3
|
||||
)
|
||||
|
||||
var AudioEncoding_name = map[int32]string{
|
||||
0: "AUDIO_ENCODING_UNSPECIFIED",
|
||||
1: "LINEAR16",
|
||||
2: "MP3",
|
||||
3: "OGG_OPUS",
|
||||
}
|
||||
var AudioEncoding_value = map[string]int32{
|
||||
"AUDIO_ENCODING_UNSPECIFIED": 0,
|
||||
"LINEAR16": 1,
|
||||
"MP3": 2,
|
||||
"OGG_OPUS": 3,
|
||||
}
|
||||
|
||||
func (x AudioEncoding) String() string {
|
||||
return proto.EnumName(AudioEncoding_name, int32(x))
|
||||
}
|
||||
func (AudioEncoding) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
|
||||
// The top-level message sent by the client for the `ListVoices` method.
|
||||
type ListVoicesRequest struct {
|
||||
}
|
||||
|
||||
func (m *ListVoicesRequest) Reset() { *m = ListVoicesRequest{} }
|
||||
func (m *ListVoicesRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListVoicesRequest) ProtoMessage() {}
|
||||
func (*ListVoicesRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
|
||||
// The message returned to the client by the `ListVoices` method.
|
||||
type ListVoicesResponse struct {
|
||||
// The list of voices.
|
||||
Voices []*Voice `protobuf:"bytes,1,rep,name=voices" json:"voices,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListVoicesResponse) Reset() { *m = ListVoicesResponse{} }
|
||||
func (m *ListVoicesResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListVoicesResponse) ProtoMessage() {}
|
||||
func (*ListVoicesResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
|
||||
func (m *ListVoicesResponse) GetVoices() []*Voice {
|
||||
if m != nil {
|
||||
return m.Voices
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Description of a voice supported by the TTS service.
|
||||
type Voice struct {
|
||||
// The languages that this voice supports, expressed as
|
||||
// [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags (e.g.
|
||||
// "en-US", "es-419", "cmn-tw").
|
||||
LanguageCodes []string `protobuf:"bytes,1,rep,name=language_codes,json=languageCodes" json:"language_codes,omitempty"`
|
||||
// The name of this voice. Each distinct voice has a unique name.
|
||||
Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
|
||||
// The gender of this voice.
|
||||
SsmlGender SsmlVoiceGender `protobuf:"varint,3,opt,name=ssml_gender,json=ssmlGender,enum=google.cloud.texttospeech.v1beta1.SsmlVoiceGender" json:"ssml_gender,omitempty"`
|
||||
// The natural sample rate (in hertz) for this voice.
|
||||
NaturalSampleRateHertz int32 `protobuf:"varint,4,opt,name=natural_sample_rate_hertz,json=naturalSampleRateHertz" json:"natural_sample_rate_hertz,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Voice) Reset() { *m = Voice{} }
|
||||
func (m *Voice) String() string { return proto.CompactTextString(m) }
|
||||
func (*Voice) ProtoMessage() {}
|
||||
func (*Voice) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||
|
||||
func (m *Voice) GetLanguageCodes() []string {
|
||||
if m != nil {
|
||||
return m.LanguageCodes
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Voice) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Voice) GetSsmlGender() SsmlVoiceGender {
|
||||
if m != nil {
|
||||
return m.SsmlGender
|
||||
}
|
||||
return SsmlVoiceGender_SSML_VOICE_GENDER_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *Voice) GetNaturalSampleRateHertz() int32 {
|
||||
if m != nil {
|
||||
return m.NaturalSampleRateHertz
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// The top-level message sent by the client for the `SynthesizeSpeech` method.
|
||||
type SynthesizeSpeechRequest struct {
|
||||
// Required. The Synthesizer requires either plain text or SSML as input.
|
||||
Input *SynthesisInput `protobuf:"bytes,1,opt,name=input" json:"input,omitempty"`
|
||||
// Required. The desired voice of the synthesized audio.
|
||||
Voice *VoiceSelectionParams `protobuf:"bytes,2,opt,name=voice" json:"voice,omitempty"`
|
||||
// Required. The configuration of the synthesized audio.
|
||||
AudioConfig *AudioConfig `protobuf:"bytes,3,opt,name=audio_config,json=audioConfig" json:"audio_config,omitempty"`
|
||||
}
|
||||
|
||||
func (m *SynthesizeSpeechRequest) Reset() { *m = SynthesizeSpeechRequest{} }
|
||||
func (m *SynthesizeSpeechRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*SynthesizeSpeechRequest) ProtoMessage() {}
|
||||
func (*SynthesizeSpeechRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
||||
|
||||
func (m *SynthesizeSpeechRequest) GetInput() *SynthesisInput {
|
||||
if m != nil {
|
||||
return m.Input
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *SynthesizeSpeechRequest) GetVoice() *VoiceSelectionParams {
|
||||
if m != nil {
|
||||
return m.Voice
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *SynthesizeSpeechRequest) GetAudioConfig() *AudioConfig {
|
||||
if m != nil {
|
||||
return m.AudioConfig
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Contains text input to be synthesized. Either `text` or `ssml` must be
|
||||
// supplied. Supplying both or neither returns
|
||||
// [google.rpc.Code.INVALID_ARGUMENT][]. The input size is limited to 5000
|
||||
// characters.
|
||||
type SynthesisInput struct {
|
||||
// The input source, which is either plain text or SSML.
|
||||
//
|
||||
// Types that are valid to be assigned to InputSource:
|
||||
// *SynthesisInput_Text
|
||||
// *SynthesisInput_Ssml
|
||||
InputSource isSynthesisInput_InputSource `protobuf_oneof:"input_source"`
|
||||
}
|
||||
|
||||
func (m *SynthesisInput) Reset() { *m = SynthesisInput{} }
|
||||
func (m *SynthesisInput) String() string { return proto.CompactTextString(m) }
|
||||
func (*SynthesisInput) ProtoMessage() {}
|
||||
func (*SynthesisInput) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
||||
|
||||
type isSynthesisInput_InputSource interface {
|
||||
isSynthesisInput_InputSource()
|
||||
}
|
||||
|
||||
type SynthesisInput_Text struct {
|
||||
Text string `protobuf:"bytes,1,opt,name=text,oneof"`
|
||||
}
|
||||
type SynthesisInput_Ssml struct {
|
||||
Ssml string `protobuf:"bytes,2,opt,name=ssml,oneof"`
|
||||
}
|
||||
|
||||
func (*SynthesisInput_Text) isSynthesisInput_InputSource() {}
|
||||
func (*SynthesisInput_Ssml) isSynthesisInput_InputSource() {}
|
||||
|
||||
func (m *SynthesisInput) GetInputSource() isSynthesisInput_InputSource {
|
||||
if m != nil {
|
||||
return m.InputSource
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *SynthesisInput) GetText() string {
|
||||
if x, ok := m.GetInputSource().(*SynthesisInput_Text); ok {
|
||||
return x.Text
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *SynthesisInput) GetSsml() string {
|
||||
if x, ok := m.GetInputSource().(*SynthesisInput_Ssml); ok {
|
||||
return x.Ssml
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*SynthesisInput) 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 _SynthesisInput_OneofMarshaler, _SynthesisInput_OneofUnmarshaler, _SynthesisInput_OneofSizer, []interface{}{
|
||||
(*SynthesisInput_Text)(nil),
|
||||
(*SynthesisInput_Ssml)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _SynthesisInput_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*SynthesisInput)
|
||||
// input_source
|
||||
switch x := m.InputSource.(type) {
|
||||
case *SynthesisInput_Text:
|
||||
b.EncodeVarint(1<<3 | proto.WireBytes)
|
||||
b.EncodeStringBytes(x.Text)
|
||||
case *SynthesisInput_Ssml:
|
||||
b.EncodeVarint(2<<3 | proto.WireBytes)
|
||||
b.EncodeStringBytes(x.Ssml)
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("SynthesisInput.InputSource has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _SynthesisInput_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*SynthesisInput)
|
||||
switch tag {
|
||||
case 1: // input_source.text
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeStringBytes()
|
||||
m.InputSource = &SynthesisInput_Text{x}
|
||||
return true, err
|
||||
case 2: // input_source.ssml
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeStringBytes()
|
||||
m.InputSource = &SynthesisInput_Ssml{x}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _SynthesisInput_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*SynthesisInput)
|
||||
// input_source
|
||||
switch x := m.InputSource.(type) {
|
||||
case *SynthesisInput_Text:
|
||||
n += proto.SizeVarint(1<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(len(x.Text)))
|
||||
n += len(x.Text)
|
||||
case *SynthesisInput_Ssml:
|
||||
n += proto.SizeVarint(2<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(len(x.Ssml)))
|
||||
n += len(x.Ssml)
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
// Description of which voice to use for a synthesis request.
|
||||
type VoiceSelectionParams struct {
|
||||
// The language (and optionally also the region) of the voice expressed as a
|
||||
// [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag, e.g.
|
||||
// "en-US". Required. This should not include a script tag (e.g. use
|
||||
// "cmn-cn" rather than "cmn-Hant-cn"), because the script will be inferred
|
||||
// from the input provided in the SynthesisInput. The TTS service
|
||||
// will use this parameter to help choose an appropriate voice. Note that
|
||||
// the TTS service may choose a voice with a slightly different language code
|
||||
// than the one selected; it may substitute a different region
|
||||
// (e.g. using en-US rather than en-CA if there isn't a Canadian voice
|
||||
// available), or even a different language, e.g. using "nb" (Norwegian
|
||||
// Bokmal) instead of "no" (Norwegian)".
|
||||
LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode" json:"language_code,omitempty"`
|
||||
// The name of the voice. Optional; if not set, the service will choose a
|
||||
// voice based on the other parameters such as language_code and gender.
|
||||
Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
|
||||
// The preferred gender of the voice. Optional; if not set, the service will
|
||||
// choose a voice based on the other parameters such as language_code and
|
||||
// name. Note that this is only a preference, not requirement; if a
|
||||
// voice of the appropriate gender is not available, the synthesizer should
|
||||
// substitute a voice with a different gender rather than failing the request.
|
||||
SsmlGender SsmlVoiceGender `protobuf:"varint,3,opt,name=ssml_gender,json=ssmlGender,enum=google.cloud.texttospeech.v1beta1.SsmlVoiceGender" json:"ssml_gender,omitempty"`
|
||||
}
|
||||
|
||||
func (m *VoiceSelectionParams) Reset() { *m = VoiceSelectionParams{} }
|
||||
func (m *VoiceSelectionParams) String() string { return proto.CompactTextString(m) }
|
||||
func (*VoiceSelectionParams) ProtoMessage() {}
|
||||
func (*VoiceSelectionParams) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
||||
|
||||
func (m *VoiceSelectionParams) GetLanguageCode() string {
|
||||
if m != nil {
|
||||
return m.LanguageCode
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *VoiceSelectionParams) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *VoiceSelectionParams) GetSsmlGender() SsmlVoiceGender {
|
||||
if m != nil {
|
||||
return m.SsmlGender
|
||||
}
|
||||
return SsmlVoiceGender_SSML_VOICE_GENDER_UNSPECIFIED
|
||||
}
|
||||
|
||||
// Description of audio data to be synthesized.
|
||||
type AudioConfig struct {
|
||||
// Required. The format of the requested audio byte stream.
|
||||
AudioEncoding AudioEncoding `protobuf:"varint,1,opt,name=audio_encoding,json=audioEncoding,enum=google.cloud.texttospeech.v1beta1.AudioEncoding" json:"audio_encoding,omitempty"`
|
||||
// Optional speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal
|
||||
// native speed supported by the specific voice. 2.0 is twice as fast, and
|
||||
// 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any
|
||||
// other values < 0.25 or > 4.0 will return an error.
|
||||
SpeakingRate float64 `protobuf:"fixed64,2,opt,name=speaking_rate,json=speakingRate" json:"speaking_rate,omitempty"`
|
||||
// Optional speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20
|
||||
// semitones from the original pitch. -20 means decrease 20 semitones from the
|
||||
// original pitch.
|
||||
Pitch float64 `protobuf:"fixed64,3,opt,name=pitch" json:"pitch,omitempty"`
|
||||
// Optional volume gain (in dB) of the normal native volume supported by the
|
||||
// specific voice, in the range [-96.0, 16.0]. If unset, or set to a value of
|
||||
// 0.0 (dB), will play at normal native signal amplitude. A value of -6.0 (dB)
|
||||
// will play at approximately half the amplitude of the normal native signal
|
||||
// amplitude. A value of +6.0 (dB) will play at approximately twice the
|
||||
// amplitude of the normal native signal amplitude. Strongly recommend not to
|
||||
// exceed +10 (dB) as there's usually no effective increase in loudness for
|
||||
// any value greater than that.
|
||||
VolumeGainDb float64 `protobuf:"fixed64,4,opt,name=volume_gain_db,json=volumeGainDb" json:"volume_gain_db,omitempty"`
|
||||
// The synthesis sample rate (in hertz) for this audio. Optional. If this is
|
||||
// different from the voice's natural sample rate, then the synthesizer will
|
||||
// honor this request by converting to the desired sample rate (which might
|
||||
// result in worse audio quality), unless the specified sample rate is not
|
||||
// supported for the encoding chosen, in which case it will fail the request
|
||||
// and return [google.rpc.Code.INVALID_ARGUMENT][].
|
||||
SampleRateHertz int32 `protobuf:"varint,5,opt,name=sample_rate_hertz,json=sampleRateHertz" json:"sample_rate_hertz,omitempty"`
|
||||
}
|
||||
|
||||
func (m *AudioConfig) Reset() { *m = AudioConfig{} }
|
||||
func (m *AudioConfig) String() string { return proto.CompactTextString(m) }
|
||||
func (*AudioConfig) ProtoMessage() {}
|
||||
func (*AudioConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
||||
|
||||
func (m *AudioConfig) GetAudioEncoding() AudioEncoding {
|
||||
if m != nil {
|
||||
return m.AudioEncoding
|
||||
}
|
||||
return AudioEncoding_AUDIO_ENCODING_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *AudioConfig) GetSpeakingRate() float64 {
|
||||
if m != nil {
|
||||
return m.SpeakingRate
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *AudioConfig) GetPitch() float64 {
|
||||
if m != nil {
|
||||
return m.Pitch
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *AudioConfig) GetVolumeGainDb() float64 {
|
||||
if m != nil {
|
||||
return m.VolumeGainDb
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *AudioConfig) GetSampleRateHertz() int32 {
|
||||
if m != nil {
|
||||
return m.SampleRateHertz
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// The message returned to the client by the `SynthesizeSpeech` method.
|
||||
type SynthesizeSpeechResponse struct {
|
||||
// The audio data bytes encoded as specified in the request, including the
|
||||
// header (For LINEAR16 audio, we include the WAV header). Note: as
|
||||
// with all bytes fields, protobuffers use a pure binary representation,
|
||||
// whereas JSON representations use base64.
|
||||
AudioContent []byte `protobuf:"bytes,1,opt,name=audio_content,json=audioContent,proto3" json:"audio_content,omitempty"`
|
||||
}
|
||||
|
||||
func (m *SynthesizeSpeechResponse) Reset() { *m = SynthesizeSpeechResponse{} }
|
||||
func (m *SynthesizeSpeechResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*SynthesizeSpeechResponse) ProtoMessage() {}
|
||||
func (*SynthesizeSpeechResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
|
||||
|
||||
func (m *SynthesizeSpeechResponse) GetAudioContent() []byte {
|
||||
if m != nil {
|
||||
return m.AudioContent
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*ListVoicesRequest)(nil), "google.cloud.texttospeech.v1beta1.ListVoicesRequest")
|
||||
proto.RegisterType((*ListVoicesResponse)(nil), "google.cloud.texttospeech.v1beta1.ListVoicesResponse")
|
||||
proto.RegisterType((*Voice)(nil), "google.cloud.texttospeech.v1beta1.Voice")
|
||||
proto.RegisterType((*SynthesizeSpeechRequest)(nil), "google.cloud.texttospeech.v1beta1.SynthesizeSpeechRequest")
|
||||
proto.RegisterType((*SynthesisInput)(nil), "google.cloud.texttospeech.v1beta1.SynthesisInput")
|
||||
proto.RegisterType((*VoiceSelectionParams)(nil), "google.cloud.texttospeech.v1beta1.VoiceSelectionParams")
|
||||
proto.RegisterType((*AudioConfig)(nil), "google.cloud.texttospeech.v1beta1.AudioConfig")
|
||||
proto.RegisterType((*SynthesizeSpeechResponse)(nil), "google.cloud.texttospeech.v1beta1.SynthesizeSpeechResponse")
|
||||
proto.RegisterEnum("google.cloud.texttospeech.v1beta1.SsmlVoiceGender", SsmlVoiceGender_name, SsmlVoiceGender_value)
|
||||
proto.RegisterEnum("google.cloud.texttospeech.v1beta1.AudioEncoding", AudioEncoding_name, AudioEncoding_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 TextToSpeech service
|
||||
|
||||
type TextToSpeechClient interface {
|
||||
// Returns a list of [Voice][google.cloud.texttospeech.v1beta1.Voice]
|
||||
// supported for synthesis.
|
||||
ListVoices(ctx context.Context, in *ListVoicesRequest, opts ...grpc.CallOption) (*ListVoicesResponse, error)
|
||||
// Synthesizes speech synchronously: receive results after all text input
|
||||
// has been processed.
|
||||
SynthesizeSpeech(ctx context.Context, in *SynthesizeSpeechRequest, opts ...grpc.CallOption) (*SynthesizeSpeechResponse, error)
|
||||
}
|
||||
|
||||
type textToSpeechClient struct {
|
||||
cc *grpc.ClientConn
|
||||
}
|
||||
|
||||
func NewTextToSpeechClient(cc *grpc.ClientConn) TextToSpeechClient {
|
||||
return &textToSpeechClient{cc}
|
||||
}
|
||||
|
||||
func (c *textToSpeechClient) ListVoices(ctx context.Context, in *ListVoicesRequest, opts ...grpc.CallOption) (*ListVoicesResponse, error) {
|
||||
out := new(ListVoicesResponse)
|
||||
err := grpc.Invoke(ctx, "/google.cloud.texttospeech.v1beta1.TextToSpeech/ListVoices", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *textToSpeechClient) SynthesizeSpeech(ctx context.Context, in *SynthesizeSpeechRequest, opts ...grpc.CallOption) (*SynthesizeSpeechResponse, error) {
|
||||
out := new(SynthesizeSpeechResponse)
|
||||
err := grpc.Invoke(ctx, "/google.cloud.texttospeech.v1beta1.TextToSpeech/SynthesizeSpeech", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for TextToSpeech service
|
||||
|
||||
type TextToSpeechServer interface {
|
||||
// Returns a list of [Voice][google.cloud.texttospeech.v1beta1.Voice]
|
||||
// supported for synthesis.
|
||||
ListVoices(context.Context, *ListVoicesRequest) (*ListVoicesResponse, error)
|
||||
// Synthesizes speech synchronously: receive results after all text input
|
||||
// has been processed.
|
||||
SynthesizeSpeech(context.Context, *SynthesizeSpeechRequest) (*SynthesizeSpeechResponse, error)
|
||||
}
|
||||
|
||||
func RegisterTextToSpeechServer(s *grpc.Server, srv TextToSpeechServer) {
|
||||
s.RegisterService(&_TextToSpeech_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _TextToSpeech_ListVoices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ListVoicesRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(TextToSpeechServer).ListVoices(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.texttospeech.v1beta1.TextToSpeech/ListVoices",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(TextToSpeechServer).ListVoices(ctx, req.(*ListVoicesRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _TextToSpeech_SynthesizeSpeech_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(SynthesizeSpeechRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(TextToSpeechServer).SynthesizeSpeech(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.cloud.texttospeech.v1beta1.TextToSpeech/SynthesizeSpeech",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(TextToSpeechServer).SynthesizeSpeech(ctx, req.(*SynthesizeSpeechRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _TextToSpeech_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "google.cloud.texttospeech.v1beta1.TextToSpeech",
|
||||
HandlerType: (*TextToSpeechServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "ListVoices",
|
||||
Handler: _TextToSpeech_ListVoices_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "SynthesizeSpeech",
|
||||
Handler: _TextToSpeech_SynthesizeSpeech_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/cloud/texttospeech/v1beta1/cloud_tts.proto",
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/cloud/texttospeech/v1beta1/cloud_tts.proto", fileDescriptor0) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
// 844 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0x4d, 0x6f, 0x1b, 0x45,
|
||||
0x18, 0xee, 0xd8, 0x71, 0xda, 0xbc, 0x5e, 0x3b, 0xce, 0x10, 0x51, 0x13, 0x51, 0xe4, 0x6e, 0xa8,
|
||||
0x64, 0xe5, 0x60, 0x63, 0x97, 0x0f, 0x91, 0x1e, 0xc0, 0xb1, 0xb7, 0xae, 0x25, 0x7f, 0x31, 0x9b,
|
||||
0xa4, 0x12, 0x97, 0xd5, 0x64, 0x3d, 0x6c, 0x56, 0xac, 0x67, 0x16, 0xcf, 0x6c, 0x54, 0x7a, 0x44,
|
||||
0x9c, 0x39, 0xc0, 0x5f, 0xe0, 0x07, 0xf0, 0x5b, 0x40, 0xe2, 0x17, 0xf0, 0x0f, 0xb8, 0x70, 0x44,
|
||||
0x33, 0xbb, 0x71, 0x1d, 0x07, 0x51, 0x97, 0x03, 0xb7, 0x9d, 0x67, 0xfc, 0x3c, 0xf3, 0xbe, 0xcf,
|
||||
0x3c, 0x7e, 0x07, 0x5a, 0x81, 0x10, 0x41, 0xc4, 0x9a, 0x7e, 0x24, 0x92, 0x59, 0x53, 0xb1, 0x17,
|
||||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0x03, 0xc6, 0xcd, 0xbb, 0xd6, 0x4c, 0xb7, 0x68, 0x1c,
|
||||
0xca, 0x7f, 0x79, 0x4e, 0x9f, 0xac, 0x82, 0x7f, 0x21, 0x74, 0xb1, 0x6d, 0xc8, 0x8f, 0xff, 0x0e,
|
||||
0x00, 0x00, 0xff, 0xff, 0x7f, 0xac, 0x4e, 0x87, 0x8a, 0x07, 0x00, 0x00,
|
||||
}
|
1
vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/geometry.pb.go
generated
vendored
1
vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/geometry.pb.go
generated
vendored
@ -29,6 +29,7 @@ It has these top-level messages:
|
||||
CropHint
|
||||
CropHintsAnnotation
|
||||
CropHintsParams
|
||||
WebDetectionParams
|
||||
ImageContext
|
||||
AnnotateImageRequest
|
||||
AnnotateImageResponse
|
||||
|
457
vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/image_annotator.pb.go
generated
vendored
457
vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/image_annotator.pb.go
generated
vendored
@ -62,7 +62,7 @@ func (x Likelihood) String() string {
|
||||
}
|
||||
func (Likelihood) EnumDescriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
|
||||
|
||||
// Type of image feature.
|
||||
// Type of Google Cloud Vision API feature to be extracted.
|
||||
type Feature_Type int32
|
||||
|
||||
const (
|
||||
@ -76,14 +76,18 @@ const (
|
||||
Feature_LOGO_DETECTION Feature_Type = 3
|
||||
// Run label detection.
|
||||
Feature_LABEL_DETECTION Feature_Type = 4
|
||||
// Run OCR.
|
||||
// Run text detection / optical character recognition (OCR). Text detection
|
||||
// is optimized for areas of text within a larger image; if the image is
|
||||
// a document, use `DOCUMENT_TEXT_DETECTION` instead.
|
||||
Feature_TEXT_DETECTION Feature_Type = 5
|
||||
// Run dense text document OCR. Takes precedence when both
|
||||
// DOCUMENT_TEXT_DETECTION and TEXT_DETECTION are present.
|
||||
// `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` are present.
|
||||
Feature_DOCUMENT_TEXT_DETECTION Feature_Type = 11
|
||||
// Run computer vision models to compute image safe-search properties.
|
||||
// Run Safe Search to detect potentially unsafe
|
||||
// or undesirable content.
|
||||
Feature_SAFE_SEARCH_DETECTION Feature_Type = 6
|
||||
// Compute a set of image properties, such as the image's dominant colors.
|
||||
// Compute a set of image properties, such as the
|
||||
// image's dominant colors.
|
||||
Feature_IMAGE_PROPERTIES Feature_Type = 7
|
||||
// Run crop hints.
|
||||
Feature_CROP_HINTS Feature_Type = 9
|
||||
@ -284,15 +288,19 @@ func (FaceAnnotation_Landmark_Type) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor1, []int{3, 0, 0}
|
||||
}
|
||||
|
||||
// Users describe the type of Google Cloud Vision API tasks to perform over
|
||||
// images by using *Feature*s. Each Feature indicates a type of image
|
||||
// detection task to perform. Features encode the Cloud Vision API
|
||||
// vertical to operate on and the number of top-scoring results to return.
|
||||
// The type of Google Cloud Vision API detection to perform, and the maximum
|
||||
// number of results to return for that type. Multiple `Feature` objects can
|
||||
// be specified in the `features` list.
|
||||
type Feature struct {
|
||||
// The feature type.
|
||||
Type Feature_Type `protobuf:"varint,1,opt,name=type,enum=google.cloud.vision.v1.Feature_Type" json:"type,omitempty"`
|
||||
// Maximum number of results of this type.
|
||||
// Maximum number of results of this type. Does not apply to
|
||||
// `TEXT_DETECTION`, `DOCUMENT_TEXT_DETECTION`, or `CROP_HINTS`.
|
||||
MaxResults int32 `protobuf:"varint,2,opt,name=max_results,json=maxResults" json:"max_results,omitempty"`
|
||||
// Model to use for the feature.
|
||||
// Supported values: "builtin/stable" (the default if unset) and
|
||||
// "builtin/latest".
|
||||
Model string `protobuf:"bytes,3,opt,name=model" json:"model,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Feature) Reset() { *m = Feature{} }
|
||||
@ -314,24 +322,38 @@ func (m *Feature) GetMaxResults() int32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// External image source (Google Cloud Storage image location).
|
||||
func (m *Feature) GetModel() string {
|
||||
if m != nil {
|
||||
return m.Model
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// External image source (Google Cloud Storage or web URL image location).
|
||||
type ImageSource struct {
|
||||
// NOTE: For new code `image_uri` below is preferred.
|
||||
// Google Cloud Storage image URI, which must be in the following form:
|
||||
// `gs://bucket_name/object_name` (for details, see
|
||||
// **Use `image_uri` instead.**
|
||||
//
|
||||
// The Google Cloud Storage URI of the form
|
||||
// `gs://bucket_name/object_name`. Object versioning is not supported. See
|
||||
// [Google Cloud Storage Request
|
||||
// URIs](https://cloud.google.com/storage/docs/reference-uris)).
|
||||
// NOTE: Cloud Storage object versioning is not supported.
|
||||
// URIs](https://cloud.google.com/storage/docs/reference-uris) for more info.
|
||||
GcsImageUri string `protobuf:"bytes,1,opt,name=gcs_image_uri,json=gcsImageUri" json:"gcs_image_uri,omitempty"`
|
||||
// Image URI which supports:
|
||||
// 1) Google Cloud Storage image URI, which must be in the following form:
|
||||
// `gs://bucket_name/object_name` (for details, see
|
||||
// [Google Cloud Storage Request
|
||||
// URIs](https://cloud.google.com/storage/docs/reference-uris)).
|
||||
// NOTE: Cloud Storage object versioning is not supported.
|
||||
// 2) Publicly accessible image HTTP/HTTPS URL.
|
||||
// This is preferred over the legacy `gcs_image_uri` above. When both
|
||||
// `gcs_image_uri` and `image_uri` are specified, `image_uri` takes
|
||||
// The URI of the source image. Can be either:
|
||||
//
|
||||
// 1. A Google Cloud Storage URI of the form
|
||||
// `gs://bucket_name/object_name`. Object versioning is not supported. See
|
||||
// [Google Cloud Storage Request
|
||||
// URIs](https://cloud.google.com/storage/docs/reference-uris) for more
|
||||
// info.
|
||||
//
|
||||
// 2. A publicly-accessible image HTTP/HTTPS URL. When fetching images from
|
||||
// HTTP/HTTPS URLs, Google cannot guarantee that the request will be
|
||||
// completed. Your request may fail if the specified host denies the
|
||||
// request (e.g. due to request throttling or DOS prevention), or if Google
|
||||
// throttles requests to the site for abuse prevention. You should not
|
||||
// depend on externally-hosted images for production applications.
|
||||
//
|
||||
// When both `gcs_image_uri` and `image_uri` are specified, `image_uri` takes
|
||||
// precedence.
|
||||
ImageUri string `protobuf:"bytes,2,opt,name=image_uri,json=imageUri" json:"image_uri,omitempty"`
|
||||
}
|
||||
@ -358,12 +380,12 @@ func (m *ImageSource) GetImageUri() string {
|
||||
// Client image to perform Google Cloud Vision API tasks over.
|
||||
type Image struct {
|
||||
// Image content, represented as a stream of bytes.
|
||||
// Note: as with all `bytes` fields, protobuffers use a pure binary
|
||||
// Note: As with all `bytes` fields, protobuffers use a pure binary
|
||||
// representation, whereas JSON representations use base64.
|
||||
Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
||||
// Google Cloud Storage image location. If both `content` and `source`
|
||||
// are provided for an image, `content` takes precedence and is
|
||||
// used to perform the image annotation request.
|
||||
// Google Cloud Storage image location, or publicly-accessible image
|
||||
// URL. If both `content` and `source` are provided for an image, `content`
|
||||
// takes precedence and is used to perform the image annotation request.
|
||||
Source *ImageSource `protobuf:"bytes,2,opt,name=source" json:"source,omitempty"`
|
||||
}
|
||||
|
||||
@ -547,10 +569,6 @@ func (m *FaceAnnotation) GetHeadwearLikelihood() Likelihood {
|
||||
}
|
||||
|
||||
// A face-specific landmark (for example, a face feature).
|
||||
// Landmark positions may fall outside the bounds of the image
|
||||
// if the face is near one or more edges of the image.
|
||||
// Therefore it is NOT guaranteed that `0 <= x < width` or
|
||||
// `0 <= y < height`.
|
||||
type FaceAnnotation_Landmark struct {
|
||||
// Face landmark type.
|
||||
Type FaceAnnotation_Landmark_Type `protobuf:"varint,3,opt,name=type,enum=google.cloud.vision.v1.FaceAnnotation_Landmark_Type" json:"type,omitempty"`
|
||||
@ -601,6 +619,8 @@ type Property struct {
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
// Value of the property.
|
||||
Value string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
|
||||
// Value of numeric properties.
|
||||
Uint64Value uint64 `protobuf:"varint,3,opt,name=uint64_value,json=uint64Value" json:"uint64_value,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Property) Reset() { *m = Property{} }
|
||||
@ -622,10 +642,18 @@ func (m *Property) GetValue() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Property) GetUint64Value() uint64 {
|
||||
if m != nil {
|
||||
return m.Uint64Value
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// Set of detected entity features.
|
||||
type EntityAnnotation struct {
|
||||
// Opaque entity ID. Some IDs may be available in
|
||||
// [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).
|
||||
// [Google Knowledge Graph Search
|
||||
// API](https://developers.google.com/knowledge-graph/).
|
||||
Mid string `protobuf:"bytes,1,opt,name=mid" json:"mid,omitempty"`
|
||||
// The language code for the locale in which the entity textual
|
||||
// `description` is expressed.
|
||||
@ -634,6 +662,7 @@ type EntityAnnotation struct {
|
||||
Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
|
||||
// Overall score of the result. Range [0, 1].
|
||||
Score float32 `protobuf:"fixed32,4,opt,name=score" json:"score,omitempty"`
|
||||
// **Deprecated. Use `score` instead.**
|
||||
// The accuracy of the entity detection in an image.
|
||||
// For example, for an image in which the "Eiffel Tower" entity is detected,
|
||||
// this field represents the confidence that there is a tower in the query
|
||||
@ -645,10 +674,8 @@ type EntityAnnotation struct {
|
||||
// detected distant towering building, even though the confidence that
|
||||
// there is a tower in each image may be the same. Range [0, 1].
|
||||
Topicality float32 `protobuf:"fixed32,6,opt,name=topicality" json:"topicality,omitempty"`
|
||||
// Image region to which this entity belongs. Currently not produced
|
||||
// for `LABEL_DETECTION` features. For `TEXT_DETECTION` (OCR), `boundingPoly`s
|
||||
// are produced for the entire text detected in an image region, followed by
|
||||
// `boundingPoly`s for each word within the detected text.
|
||||
// Image region to which this entity belongs. Not produced
|
||||
// for `LABEL_DETECTION` features.
|
||||
BoundingPoly *BoundingPoly `protobuf:"bytes,7,opt,name=bounding_poly,json=boundingPoly" json:"bounding_poly,omitempty"`
|
||||
// The location information for the detected entity. Multiple
|
||||
// `LocationInfo` elements can be present because one location may
|
||||
@ -733,7 +760,9 @@ func (m *EntityAnnotation) GetProperties() []*Property {
|
||||
// methods over safe-search verticals (for example, adult, spoof, medical,
|
||||
// violence).
|
||||
type SafeSearchAnnotation struct {
|
||||
// Represents the adult content likelihood for the image.
|
||||
// Represents the adult content likelihood for the image. Adult content may
|
||||
// contain elements such as nudity, pornographic images or cartoons, or
|
||||
// sexual activities.
|
||||
Adult Likelihood `protobuf:"varint,1,opt,name=adult,enum=google.cloud.vision.v1.Likelihood" json:"adult,omitempty"`
|
||||
// Spoof likelihood. The likelihood that an modification
|
||||
// was made to the image's canonical version to make it appear
|
||||
@ -741,8 +770,13 @@ type SafeSearchAnnotation struct {
|
||||
Spoof Likelihood `protobuf:"varint,2,opt,name=spoof,enum=google.cloud.vision.v1.Likelihood" json:"spoof,omitempty"`
|
||||
// Likelihood that this is a medical image.
|
||||
Medical Likelihood `protobuf:"varint,3,opt,name=medical,enum=google.cloud.vision.v1.Likelihood" json:"medical,omitempty"`
|
||||
// Violence likelihood.
|
||||
// Likelihood that this image contains violent content.
|
||||
Violence Likelihood `protobuf:"varint,4,opt,name=violence,enum=google.cloud.vision.v1.Likelihood" json:"violence,omitempty"`
|
||||
// Likelihood that the request image contains racy content. Racy content may
|
||||
// include (but is not limited to) skimpy or sheer clothing, strategically
|
||||
// covered nudity, lewd or provocative poses, or close-ups of sensitive
|
||||
// body areas.
|
||||
Racy Likelihood `protobuf:"varint,9,opt,name=racy,enum=google.cloud.vision.v1.Likelihood" json:"racy,omitempty"`
|
||||
}
|
||||
|
||||
func (m *SafeSearchAnnotation) Reset() { *m = SafeSearchAnnotation{} }
|
||||
@ -778,6 +812,13 @@ func (m *SafeSearchAnnotation) GetViolence() Likelihood {
|
||||
return Likelihood_UNKNOWN
|
||||
}
|
||||
|
||||
func (m *SafeSearchAnnotation) GetRacy() Likelihood {
|
||||
if m != nil {
|
||||
return m.Racy
|
||||
}
|
||||
return Likelihood_UNKNOWN
|
||||
}
|
||||
|
||||
// Rectangle determined by min and max `LatLng` pairs.
|
||||
type LatLongRect struct {
|
||||
// Min lat/long pair.
|
||||
@ -919,6 +960,7 @@ func (m *CropHint) GetImportanceFraction() float32 {
|
||||
|
||||
// Set of crop hints that are used to generate new crops when serving images.
|
||||
type CropHintsAnnotation struct {
|
||||
// Crop hint results.
|
||||
CropHints []*CropHint `protobuf:"bytes,1,rep,name=crop_hints,json=cropHints" json:"crop_hints,omitempty"`
|
||||
}
|
||||
|
||||
@ -957,6 +999,24 @@ func (m *CropHintsParams) GetAspectRatios() []float32 {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Parameters for web detection request.
|
||||
type WebDetectionParams struct {
|
||||
// Whether to include results derived from the geo information in the image.
|
||||
IncludeGeoResults bool `protobuf:"varint,2,opt,name=include_geo_results,json=includeGeoResults" json:"include_geo_results,omitempty"`
|
||||
}
|
||||
|
||||
func (m *WebDetectionParams) Reset() { *m = WebDetectionParams{} }
|
||||
func (m *WebDetectionParams) String() string { return proto.CompactTextString(m) }
|
||||
func (*WebDetectionParams) ProtoMessage() {}
|
||||
func (*WebDetectionParams) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{15} }
|
||||
|
||||
func (m *WebDetectionParams) GetIncludeGeoResults() bool {
|
||||
if m != nil {
|
||||
return m.IncludeGeoResults
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// Image context and/or feature-specific parameters.
|
||||
type ImageContext struct {
|
||||
// lat/long rectangle that specifies the location of the image.
|
||||
@ -972,12 +1032,14 @@ type ImageContext struct {
|
||||
LanguageHints []string `protobuf:"bytes,2,rep,name=language_hints,json=languageHints" json:"language_hints,omitempty"`
|
||||
// Parameters for crop hints annotation request.
|
||||
CropHintsParams *CropHintsParams `protobuf:"bytes,4,opt,name=crop_hints_params,json=cropHintsParams" json:"crop_hints_params,omitempty"`
|
||||
// Parameters for web detection.
|
||||
WebDetectionParams *WebDetectionParams `protobuf:"bytes,6,opt,name=web_detection_params,json=webDetectionParams" json:"web_detection_params,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ImageContext) Reset() { *m = ImageContext{} }
|
||||
func (m *ImageContext) String() string { return proto.CompactTextString(m) }
|
||||
func (*ImageContext) ProtoMessage() {}
|
||||
func (*ImageContext) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{15} }
|
||||
func (*ImageContext) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{16} }
|
||||
|
||||
func (m *ImageContext) GetLatLongRect() *LatLongRect {
|
||||
if m != nil {
|
||||
@ -1000,6 +1062,13 @@ func (m *ImageContext) GetCropHintsParams() *CropHintsParams {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ImageContext) GetWebDetectionParams() *WebDetectionParams {
|
||||
if m != nil {
|
||||
return m.WebDetectionParams
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Request for performing Google Cloud Vision API tasks over a user-provided
|
||||
// image, with user-requested features.
|
||||
type AnnotateImageRequest struct {
|
||||
@ -1014,7 +1083,7 @@ type AnnotateImageRequest struct {
|
||||
func (m *AnnotateImageRequest) Reset() { *m = AnnotateImageRequest{} }
|
||||
func (m *AnnotateImageRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*AnnotateImageRequest) ProtoMessage() {}
|
||||
func (*AnnotateImageRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{16} }
|
||||
func (*AnnotateImageRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{17} }
|
||||
|
||||
func (m *AnnotateImageRequest) GetImage() *Image {
|
||||
if m != nil {
|
||||
@ -1047,8 +1116,7 @@ type AnnotateImageResponse struct {
|
||||
LogoAnnotations []*EntityAnnotation `protobuf:"bytes,3,rep,name=logo_annotations,json=logoAnnotations" json:"logo_annotations,omitempty"`
|
||||
// If present, label detection has completed successfully.
|
||||
LabelAnnotations []*EntityAnnotation `protobuf:"bytes,4,rep,name=label_annotations,json=labelAnnotations" json:"label_annotations,omitempty"`
|
||||
// If present, text (OCR) detection or document (OCR) text detection has
|
||||
// completed successfully.
|
||||
// If present, text (OCR) detection has completed successfully.
|
||||
TextAnnotations []*EntityAnnotation `protobuf:"bytes,5,rep,name=text_annotations,json=textAnnotations" json:"text_annotations,omitempty"`
|
||||
// If present, text (OCR) detection or document (OCR) text detection has
|
||||
// completed successfully.
|
||||
@ -1072,7 +1140,7 @@ type AnnotateImageResponse struct {
|
||||
func (m *AnnotateImageResponse) Reset() { *m = AnnotateImageResponse{} }
|
||||
func (m *AnnotateImageResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*AnnotateImageResponse) ProtoMessage() {}
|
||||
func (*AnnotateImageResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{17} }
|
||||
func (*AnnotateImageResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{18} }
|
||||
|
||||
func (m *AnnotateImageResponse) GetFaceAnnotations() []*FaceAnnotation {
|
||||
if m != nil {
|
||||
@ -1160,7 +1228,7 @@ type BatchAnnotateImagesRequest struct {
|
||||
func (m *BatchAnnotateImagesRequest) Reset() { *m = BatchAnnotateImagesRequest{} }
|
||||
func (m *BatchAnnotateImagesRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*BatchAnnotateImagesRequest) ProtoMessage() {}
|
||||
func (*BatchAnnotateImagesRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{18} }
|
||||
func (*BatchAnnotateImagesRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{19} }
|
||||
|
||||
func (m *BatchAnnotateImagesRequest) GetRequests() []*AnnotateImageRequest {
|
||||
if m != nil {
|
||||
@ -1178,7 +1246,7 @@ type BatchAnnotateImagesResponse struct {
|
||||
func (m *BatchAnnotateImagesResponse) Reset() { *m = BatchAnnotateImagesResponse{} }
|
||||
func (m *BatchAnnotateImagesResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*BatchAnnotateImagesResponse) ProtoMessage() {}
|
||||
func (*BatchAnnotateImagesResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{19} }
|
||||
func (*BatchAnnotateImagesResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{20} }
|
||||
|
||||
func (m *BatchAnnotateImagesResponse) GetResponses() []*AnnotateImageResponse {
|
||||
if m != nil {
|
||||
@ -1204,6 +1272,7 @@ func init() {
|
||||
proto.RegisterType((*CropHint)(nil), "google.cloud.vision.v1.CropHint")
|
||||
proto.RegisterType((*CropHintsAnnotation)(nil), "google.cloud.vision.v1.CropHintsAnnotation")
|
||||
proto.RegisterType((*CropHintsParams)(nil), "google.cloud.vision.v1.CropHintsParams")
|
||||
proto.RegisterType((*WebDetectionParams)(nil), "google.cloud.vision.v1.WebDetectionParams")
|
||||
proto.RegisterType((*ImageContext)(nil), "google.cloud.vision.v1.ImageContext")
|
||||
proto.RegisterType((*AnnotateImageRequest)(nil), "google.cloud.vision.v1.AnnotateImageRequest")
|
||||
proto.RegisterType((*AnnotateImageResponse)(nil), "google.cloud.vision.v1.AnnotateImageResponse")
|
||||
@ -1291,148 +1360,154 @@ var _ImageAnnotator_serviceDesc = grpc.ServiceDesc{
|
||||
func init() { proto.RegisterFile("google/cloud/vision/v1/image_annotator.proto", fileDescriptor1) }
|
||||
|
||||
var fileDescriptor1 = []byte{
|
||||
// 2281 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x59, 0x4b, 0x73, 0x23, 0x49,
|
||||
0xf1, 0x5f, 0xc9, 0x2f, 0x29, 0xf5, 0x6a, 0x97, 0x1f, 0xa3, 0xb1, 0xe7, 0xe1, 0xed, 0xfd, 0xcf,
|
||||
0x1f, 0xc7, 0x30, 0xd8, 0x8c, 0x67, 0x21, 0x96, 0x9d, 0x09, 0x40, 0x92, 0xdb, 0xb6, 0x62, 0x64,
|
||||
0x49, 0x5b, 0x92, 0xd7, 0x6b, 0x20, 0xe8, 0x68, 0xb7, 0x4a, 0x9a, 0x9e, 0x6d, 0x75, 0x35, 0xdd,
|
||||
0xad, 0x19, 0xfb, 0x4a, 0x04, 0x11, 0xdc, 0xb9, 0x73, 0xe4, 0x4e, 0x04, 0x5f, 0x81, 0x03, 0x47,
|
||||
0x62, 0xcf, 0xdc, 0xf8, 0x0c, 0x04, 0x47, 0xa2, 0x1e, 0xdd, 0x2a, 0x69, 0x2c, 0x8f, 0x4c, 0x70,
|
||||
0x52, 0x57, 0x66, 0xfe, 0x7e, 0x59, 0x95, 0x55, 0x59, 0x59, 0x55, 0x82, 0x67, 0x03, 0x4a, 0x07,
|
||||
0x2e, 0xd9, 0xb7, 0x5d, 0x3a, 0xea, 0xed, 0xbf, 0x73, 0x42, 0x87, 0x7a, 0xfb, 0xef, 0x9e, 0xef,
|
||||
0x3b, 0x43, 0x6b, 0x40, 0x4c, 0xcb, 0xf3, 0x68, 0x64, 0x45, 0x34, 0xd8, 0xf3, 0x03, 0x1a, 0x51,
|
||||
0xb4, 0x29, 0xac, 0xf7, 0xb8, 0xf5, 0x9e, 0xb0, 0xde, 0x7b, 0xf7, 0x7c, 0xeb, 0x81, 0x64, 0xb1,
|
||||
0x7c, 0x67, 0x5f, 0x62, 0x1c, 0xea, 0x85, 0x02, 0xb5, 0xf5, 0x64, 0x86, 0x8f, 0x01, 0xa1, 0x43,
|
||||
0x12, 0x05, 0xd7, 0xd2, 0x6c, 0x56, 0x57, 0x22, 0x72, 0x15, 0x99, 0x63, 0x56, 0x69, 0xfd, 0x74,
|
||||
0x86, 0xf5, 0x7b, 0x72, 0x69, 0xf6, 0x48, 0x44, 0x6c, 0xc5, 0xf6, 0x9e, 0xb4, 0x0d, 0x7c, 0x7b,
|
||||
0x3f, 0x8c, 0xac, 0x68, 0x14, 0x4e, 0x29, 0xa2, 0x6b, 0x9f, 0xec, 0xdb, 0xd4, 0x8d, 0x07, 0xba,
|
||||
0x55, 0x56, 0x15, 0xae, 0x15, 0xb9, 0xde, 0x40, 0x68, 0xf4, 0x7f, 0xa4, 0x61, 0xe5, 0x88, 0x58,
|
||||
0xd1, 0x28, 0x20, 0xe8, 0x0b, 0x58, 0x64, 0x06, 0xe5, 0xd4, 0x4e, 0x6a, 0xb7, 0x78, 0xf0, 0x7f,
|
||||
0x7b, 0x37, 0x47, 0x67, 0x4f, 0x9a, 0xef, 0x75, 0xaf, 0x7d, 0x82, 0x39, 0x02, 0x3d, 0x86, 0xdc,
|
||||
0xd0, 0xba, 0x32, 0x03, 0x12, 0x8e, 0xdc, 0x28, 0x2c, 0xa7, 0x77, 0x52, 0xbb, 0x4b, 0x18, 0x86,
|
||||
0xd6, 0x15, 0x16, 0x12, 0xfd, 0x5f, 0x29, 0x58, 0x64, 0xf6, 0x68, 0x1d, 0xb4, 0xee, 0x45, 0xdb,
|
||||
0x30, 0xcf, 0x9a, 0x9d, 0xb6, 0x51, 0xab, 0x1f, 0xd5, 0x8d, 0x43, 0xed, 0x13, 0x84, 0xa0, 0x78,
|
||||
0x54, 0xa9, 0x19, 0xe6, 0xa1, 0xd1, 0x35, 0x6a, 0xdd, 0x7a, 0xab, 0xa9, 0xa5, 0xd0, 0x26, 0xa0,
|
||||
0x46, 0xa5, 0x79, 0x78, 0x5a, 0xc1, 0xaf, 0x15, 0x79, 0x9a, 0xd9, 0x36, 0x5a, 0xc7, 0x2d, 0x45,
|
||||
0xb6, 0x80, 0xd6, 0xa0, 0xd4, 0xa8, 0x54, 0x8d, 0x86, 0x22, 0x5c, 0x64, 0x86, 0x5d, 0xe3, 0x9b,
|
||||
0xae, 0x22, 0x5b, 0x42, 0xdb, 0x70, 0xef, 0xb0, 0x55, 0x3b, 0x3b, 0x35, 0x9a, 0x5d, 0x73, 0x4a,
|
||||
0x99, 0x43, 0xf7, 0x61, 0xa3, 0x53, 0x39, 0x32, 0xcc, 0x8e, 0x51, 0xc1, 0xb5, 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 0xa7, 0x90, 0x75, 0x2d, 0xaf, 0x37,
|
||||
0xb4, 0x82, 0x6f, 0xc3, 0xf2, 0xc2, 0xce, 0xc2, 0x6e, 0xee, 0x60, 0x7f, 0xe6, 0xb2, 0x9d, 0x18,
|
||||
0xd5, 0x5e, 0x43, 0xe2, 0xf0, 0x98, 0x01, 0x3d, 0x04, 0x08, 0xa8, 0xeb, 0x9a, 0x96, 0x37, 0x70,
|
||||
0x49, 0x79, 0x71, 0x27, 0xb5, 0x9b, 0xc6, 0x59, 0x26, 0xa9, 0x30, 0x01, 0x9b, 0x18, 0xdf, 0xf2,
|
||||
0xa4, 0x76, 0x89, 0x6b, 0x33, 0xbe, 0xe5, 0x09, 0xe5, 0x43, 0x80, 0xc8, 0x71, 0x23, 0xa9, 0x5d,
|
||||
0x16, 0x58, 0x26, 0x11, 0xea, 0xe7, 0xb0, 0x9e, 0xa4, 0xb1, 0x69, 0x53, 0xaf, 0xef, 0xf4, 0x88,
|
||||
0x67, 0x93, 0xf2, 0x0a, 0x37, 0x5c, 0x4b, 0x74, 0xb5, 0x44, 0x85, 0x7e, 0x04, 0x9b, 0x71, 0xd7,
|
||||
0x58, 0xb0, 0x14, 0x50, 0x86, 0x83, 0x36, 0x14, 0xad, 0x02, 0xab, 0x43, 0xf1, 0x2d, 0xbd, 0x36,
|
||||
0x5d, 0xe7, 0x5b, 0xe2, 0x3a, 0x6f, 0x28, 0xed, 0x95, 0xb3, 0x3c, 0x9f, 0xf5, 0x59, 0x81, 0x69,
|
||||
0x24, 0x96, 0xb8, 0xf0, 0x96, 0x5e, 0x8f, 0x9b, 0xa8, 0x05, 0xab, 0x21, 0x0d, 0x02, 0xfa, 0x5e,
|
||||
0x65, 0x83, 0xb9, 0xd9, 0x34, 0x01, 0x56, 0x08, 0x4f, 0x41, 0xb3, 0xbc, 0x01, 0x09, 0x54, 0xbe,
|
||||
0xdc, 0xdc, 0x7c, 0x25, 0x8e, 0x55, 0xe8, 0x3a, 0xb0, 0x16, 0x8e, 0x02, 0x3f, 0x70, 0x42, 0xa2,
|
||||
0x32, 0xe6, 0xe7, 0x66, 0x44, 0x31, 0x5c, 0x21, 0xfd, 0x15, 0x94, 0x47, 0x5e, 0x8f, 0x04, 0x26,
|
||||
0xb9, 0xf2, 0x69, 0x48, 0x7a, 0x2a, 0x73, 0x61, 0x6e, 0xe6, 0x4d, 0xce, 0x61, 0x08, 0x0a, 0x85,
|
||||
0xfd, 0x2b, 0x40, 0x97, 0xee, 0x28, 0x08, 0x26, 0x79, 0x8b, 0x73, 0xf3, 0xae, 0x4a, 0xf4, 0x64,
|
||||
0x14, 0xde, 0x10, 0xab, 0xf7, 0x9e, 0x58, 0x13, 0x71, 0x2d, 0xcd, 0x1f, 0x85, 0x18, 0x3e, 0x96,
|
||||
0x6d, 0xfd, 0x6d, 0x05, 0x32, 0x71, 0x8a, 0xa0, 0x13, 0x59, 0x18, 0x16, 0x38, 0xe5, 0xe7, 0x77,
|
||||
0xcc, 0x30, 0xb5, 0x50, 0xbc, 0x82, 0x8c, 0x4f, 0x43, 0x87, 0xe9, 0x79, 0x7e, 0xe5, 0x0e, 0x76,
|
||||
0x66, 0xb1, 0xb5, 0xa5, 0x1d, 0x4e, 0x10, 0xfa, 0x5f, 0x96, 0xc7, 0x55, 0xe4, 0xac, 0xf9, 0xba,
|
||||
0xd9, 0x3a, 0x6f, 0x9a, 0x71, 0x8d, 0xd0, 0x3e, 0x41, 0x79, 0xc8, 0x34, 0x8c, 0xa3, 0xae, 0x69,
|
||||
0x5c, 0x18, 0x5a, 0x0a, 0x15, 0x20, 0x8b, 0xeb, 0xc7, 0x27, 0xa2, 0x99, 0x46, 0x65, 0x58, 0xe7,
|
||||
0xca, 0xd6, 0x91, 0x19, 0x1b, 0x55, 0x71, 0xeb, 0x5c, 0x5b, 0x60, 0xdb, 0xbe, 0x30, 0x9c, 0x56,
|
||||
0x2d, 0x32, 0x55, 0x0c, 0x4a, 0xb8, 0xb8, 0x6a, 0x09, 0x6d, 0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0xa2, 0xa1, 0xff, 0x6e, 0x01, 0x34, 0xc3, 0x8b, 0x9c, 0xe8,
|
||||
0x5a, 0x39, 0x49, 0x68, 0xb0, 0x30, 0x74, 0x7a, 0x12, 0xcd, 0x3e, 0xd1, 0x26, 0x2c, 0xbb, 0xd4,
|
||||
0xb6, 0xdc, 0x18, 0x2d, 0x5b, 0x68, 0x07, 0x72, 0x3d, 0x12, 0xda, 0x81, 0xe3, 0xf3, 0xad, 0x62,
|
||||
0x41, 0x9c, 0x92, 0x14, 0x11, 0x73, 0x1b, 0xda, 0x34, 0x88, 0xcb, 0xb4, 0x68, 0xa0, 0x47, 0x00,
|
||||
0x4a, 0x9d, 0x14, 0x35, 0x5a, 0x91, 0x30, 0x7d, 0x44, 0x7d, 0xc7, 0xb6, 0x5c, 0x27, 0xba, 0x96,
|
||||
0x55, 0x5a, 0x91, 0x7c, 0x78, 0xd6, 0x59, 0xf9, 0xaf, 0xcf, 0x3a, 0x55, 0xc8, 0xba, 0x32, 0xea,
|
||||
0x61, 0x39, 0xc3, 0xcf, 0x26, 0x33, 0x69, 0xd4, 0xe9, 0xc1, 0x63, 0x18, 0xfa, 0x39, 0x80, 0x2f,
|
||||
0x62, 0xef, 0x90, 0xb0, 0x9c, 0xe5, 0x24, 0xb3, 0x37, 0x4c, 0x39, 0x4b, 0x58, 0xc1, 0xe8, 0xbf,
|
||||
0x4f, 0xc3, 0x7a, 0xc7, 0xea, 0x93, 0x0e, 0xb1, 0x02, 0xfb, 0x8d, 0x32, 0x17, 0x5f, 0xc0, 0x92,
|
||||
0xd5, 0x1b, 0xb9, 0x91, 0x3c, 0xed, 0xcf, 0x53, 0x27, 0x04, 0x80, 0x21, 0x43, 0x9f, 0xd2, 0x3e,
|
||||
0x9f, 0xb2, 0x39, 0x91, 0x1c, 0x80, 0x5e, 0xc1, 0xca, 0x90, 0xf4, 0x58, 0xac, 0x65, 0x29, 0x99,
|
||||
0x07, 0x1b, 0x43, 0xd0, 0x4f, 0x21, 0x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3e, 0xac, 0x39, 0x43, 0x9f, 0x06, 0x91, 0xe5, 0xd9, 0x64, 0x3a, 0xd0,
|
||||
0x68, 0xac, 0x4a, 0xa2, 0xfd, 0x35, 0xac, 0xc5, 0xfd, 0x54, 0x03, 0xfd, 0x33, 0x00, 0x3b, 0xa0,
|
||||
0xbe, 0xf9, 0x86, 0xc9, 0x65, 0xb0, 0x67, 0xa6, 0x6f, 0x4c, 0x80, 0xb3, 0x76, 0x4c, 0xa5, 0xff,
|
||||
0x18, 0x4a, 0x09, 0x6f, 0xdb, 0x0a, 0xac, 0x61, 0x88, 0x3e, 0x83, 0x82, 0x15, 0xfa, 0xc4, 0x8e,
|
||||
0xcc, 0x80, 0x39, 0x11, 0xb4, 0x69, 0x9c, 0x17, 0x42, 0xcc, 0x65, 0xfa, 0x77, 0x29, 0xc8, 0xf3,
|
||||
0x79, 0xaa, 0xb1, 0x3b, 0xe1, 0x55, 0x84, 0x8e, 0xa1, 0xc0, 0xd7, 0x2c, 0xf5, 0x06, 0x66, 0x40,
|
||||
0xec, 0x48, 0x06, 0x6f, 0xe6, 0xd5, 0x50, 0x49, 0x14, 0x9c, 0x73, 0x95, 0xac, 0x79, 0x02, 0x45,
|
||||
0xd7, 0xf2, 0x06, 0x23, 0x76, 0x3f, 0x15, 0xc3, 0x4a, 0xef, 0x2c, 0xec, 0x66, 0x71, 0x21, 0x96,
|
||||
0xf2, 0xbe, 0xa2, 0x0e, 0xac, 0x8e, 0x47, 0x6e, 0xfa, 0xbc, 0xeb, 0xf2, 0xc0, 0xf7, 0xbd, 0x8f,
|
||||
0x05, 0x40, 0x8e, 0x14, 0x97, 0xec, 0x49, 0x01, 0x1b, 0xd5, 0xba, 0x8c, 0x2e, 0xe1, 0xa3, 0xc3,
|
||||
0xe4, 0x37, 0x23, 0x12, 0xb2, 0x54, 0x5e, 0xe2, 0x17, 0x64, 0x39, 0xaa, 0x87, 0xb7, 0x5e, 0x78,
|
||||
0xb1, 0xb0, 0x45, 0x2f, 0x21, 0xd3, 0x17, 0x2f, 0x19, 0x62, 0x0c, 0xb9, 0x83, 0xc7, 0x1f, 0x79,
|
||||
0xf1, 0xc0, 0x09, 0x80, 0x2d, 0x46, 0x71, 0x47, 0xb7, 0x45, 0x80, 0xf9, 0xda, 0xb8, 0x65, 0x31,
|
||||
0xaa, 0x93, 0x81, 0xf3, 0x8e, 0xd2, 0xd2, 0xff, 0xba, 0x02, 0x1b, 0x53, 0xa3, 0x0a, 0x7d, 0xea,
|
||||
0x85, 0x04, 0x7d, 0x05, 0x5a, 0xdf, 0xb2, 0x89, 0xf2, 0x58, 0x14, 0x2f, 0xa2, 0xff, 0x9f, 0xef,
|
||||
0x08, 0x8e, 0x4b, 0xfd, 0x89, 0x76, 0x88, 0x7e, 0x09, 0xeb, 0xf1, 0xad, 0x71, 0x82, 0x56, 0x04,
|
||||
0x60, 0x77, 0x16, 0xed, 0x74, 0x25, 0xc7, 0x6b, 0x31, 0x8b, 0x4a, 0xde, 0x01, 0xcd, 0xa5, 0x03,
|
||||
0x3a, 0x41, 0xbc, 0x70, 0x47, 0xe2, 0x12, 0x63, 0x50, 0x49, 0xcf, 0x60, 0xd5, 0xb5, 0x2e, 0x89,
|
||||
0x3b, 0xc1, 0xba, 0x78, 0x47, 0x56, 0x8d, 0x53, 0x4c, 0xf5, 0x75, 0xea, 0x21, 0x2e, 0x2c, 0x2f,
|
||||
0xdd, 0xb5, 0xaf, 0x8c, 0x41, 0x25, 0xfd, 0x06, 0xd6, 0xfb, 0x23, 0xd7, 0x35, 0xa7, 0x98, 0xf9,
|
||||
0x85, 0xf4, 0x96, 0x49, 0xeb, 0x4e, 0xd0, 0x60, 0xc4, 0x38, 0x26, 0x65, 0xe8, 0x12, 0x36, 0x43,
|
||||
0xab, 0x4f, 0xcc, 0x90, 0x97, 0x71, 0x95, 0x7b, 0x99, 0x73, 0x3f, 0x9b, 0xc5, 0x7d, 0x53, 0xed,
|
||||
0xc7, 0xeb, 0xe1, 0x4d, 0x27, 0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, 0xc3, 0xd0, 0x16, 0x10, 0xc0, 0xb2, 0xd4, 0x2c, 0xb2, 0x7b, 0x2c, 0x87, 0x4a, 0xc1,
|
||||
0xd2, 0xc1, 0x9f, 0x53, 0x50, 0xe4, 0x7d, 0xa8, 0xc4, 0x0f, 0xf4, 0xe8, 0x8f, 0x29, 0x58, 0xbb,
|
||||
0x61, 0x98, 0xe8, 0x60, 0x66, 0xb9, 0x9f, 0x19, 0xfb, 0xad, 0x17, 0x77, 0xc2, 0x88, 0xb1, 0xeb,
|
||||
0x8f, 0x7e, 0xfb, 0xdd, 0x3f, 0xff, 0x90, 0x2e, 0xeb, 0x6b, 0xc9, 0xdf, 0x07, 0xe1, 0x97, 0x72,
|
||||
0xa9, 0x92, 0x2f, 0x53, 0x4f, 0xab, 0x11, 0x6c, 0xd9, 0x74, 0x38, 0x83, 0xb9, 0xba, 0x36, 0x39,
|
||||
0x9c, 0x76, 0x40, 0x23, 0xda, 0x4e, 0xfd, 0xe2, 0x95, 0x34, 0x1f, 0x50, 0x56, 0x2e, 0xf7, 0x68,
|
||||
0x30, 0xd8, 0x1f, 0x10, 0x8f, 0xbf, 0xc4, 0xef, 0x0b, 0x95, 0xe5, 0x3b, 0xe1, 0xf4, 0x9f, 0x00,
|
||||
0x2f, 0xc5, 0xd7, 0xbf, 0x53, 0xa9, 0xcb, 0x65, 0x6e, 0xfb, 0xe2, 0x3f, 0x01, 0x00, 0x00, 0xff,
|
||||
0xff, 0xe5, 0x59, 0xbe, 0xb0, 0xe8, 0x18, 0x00, 0x00,
|
||||
// 2382 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x59, 0x4f, 0x6f, 0xe3, 0xc6,
|
||||
0x15, 0x8f, 0xe4, 0x7f, 0xd2, 0x93, 0x2c, 0xd1, 0x23, 0xaf, 0xa3, 0xf5, 0xee, 0x66, 0x1d, 0xa6,
|
||||
0x69, 0x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||||
0xdf, 0x3e, 0x08, 0x23, 0x2b, 0x9a, 0x86, 0x73, 0x8a, 0xe8, 0xc6, 0x27, 0x07, 0x36, 0x75, 0xe3,
|
||||
0x81, 0xee, 0x56, 0x55, 0x85, 0x6b, 0x45, 0xae, 0x37, 0x16, 0x1a, 0xfd, 0x5f, 0x59, 0xd8, 0x38,
|
||||
0x26, 0x56, 0x34, 0x0d, 0x08, 0xfa, 0x14, 0x56, 0x99, 0x41, 0x35, 0xb3, 0x97, 0xd9, 0x2f, 0x1d,
|
||||
0xfe, 0xa0, 0x76, 0x7b, 0x74, 0x6a, 0xd2, 0xbc, 0x36, 0xb8, 0xf1, 0x09, 0xe6, 0x08, 0xf4, 0x18,
|
||||
0x0a, 0x13, 0xeb, 0xda, 0x0c, 0x48, 0x38, 0x75, 0xa3, 0xb0, 0x9a, 0xdd, 0xcb, 0xec, 0xaf, 0x61,
|
||||
0x98, 0x58, 0xd7, 0x58, 0x48, 0xd0, 0x36, 0xac, 0x4d, 0xe8, 0x90, 0xb8, 0xd5, 0x95, 0xbd, 0xcc,
|
||||
0x7e, 0x1e, 0x8b, 0x86, 0xfe, 0xef, 0x0c, 0xac, 0x32, 0x16, 0xb4, 0x0d, 0xda, 0xe0, 0xb2, 0x67,
|
||||
0x98, 0xe7, 0x9d, 0x7e, 0xcf, 0x68, 0xb6, 0x8e, 0x5b, 0xc6, 0x91, 0xf6, 0x16, 0x42, 0x50, 0x3a,
|
||||
0xae, 0x37, 0x0d, 0xf3, 0xc8, 0x18, 0x18, 0xcd, 0x41, 0xab, 0xdb, 0xd1, 0x32, 0x68, 0x07, 0x50,
|
||||
0xbb, 0xde, 0x39, 0x3a, 0xab, 0xe3, 0x67, 0x8a, 0x3c, 0xcb, 0x6c, 0xdb, 0xdd, 0x93, 0xae, 0x22,
|
||||
0x5b, 0x41, 0x15, 0x28, 0xb7, 0xeb, 0x0d, 0xa3, 0xad, 0x08, 0x57, 0x99, 0xe1, 0xc0, 0xf8, 0x6a,
|
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 0x35, 0x0b, 0xdb, 0x7d, 0x6b, 0x44, 0xfa, 0xc4, 0x0a, 0xec, 0xe7, 0xca,
|
||||
0x5c, 0x7c, 0x0a, 0x6b, 0xd6, 0x70, 0xea, 0x46, 0xf2, 0x9a, 0xb0, 0xcc, 0x51, 0x22, 0x00, 0x0c,
|
||||
0x19, 0xfa, 0x94, 0x8e, 0xf8, 0x94, 0x2d, 0x89, 0xe4, 0x00, 0xf4, 0x14, 0x36, 0x26, 0x64, 0xc8,
|
||||
0x62, 0x2d, 0x4f, 0x9b, 0x65, 0xb0, 0x31, 0x04, 0xfd, 0x02, 0x72, 0x2f, 0x1c, 0xea, 0xf2, 0x99,
|
||||
0x5d, 0x5d, 0x1a, 0x9e, 0x60, 0xd0, 0x27, 0xb0, 0x1a, 0x58, 0xf6, 0xcd, 0x1d, 0x2a, 0x26, 0x6e,
|
||||
0xaf, 0xbf, 0x84, 0x02, 0xcb, 0x1a, 0xea, 0x8d, 0x31, 0xb1, 0x23, 0xf4, 0x11, 0x14, 0x26, 0x8e,
|
||||
0x67, 0x2e, 0x91, 0x64, 0xf9, 0x89, 0xe3, 0x89, 0x4f, 0x0e, 0xb2, 0xae, 0x13, 0x50, 0xf6, 0x75,
|
||||
0x20, 0xeb, 0x5a, 0x7c, 0xea, 0x01, 0xe4, 0x9b, 0xec, 0xf6, 0xc7, 0xf3, 0x7a, 0x1f, 0xd6, 0xf8,
|
||||
0x55, 0x50, 0x3a, 0x44, 0x29, 0x2c, 0x37, 0xc3, 0xc2, 0x60, 0x96, 0x19, 0x59, 0x35, 0x33, 0xde,
|
||||
0x87, 0x92, 0xef, 0x5c, 0x13, 0xd7, 0x1c, 0x05, 0x96, 0x9d, 0x24, 0x55, 0x16, 0x6f, 0x72, 0xe9,
|
||||
0xb1, 0x14, 0xea, 0xe7, 0x50, 0x3d, 0xa2, 0x13, 0xc7, 0xb3, 0xbc, 0x88, 0x93, 0x86, 0xca, 0x92,
|
||||
0xf9, 0x39, 0xac, 0x73, 0x0f, 0x61, 0x35, 0xc3, 0x57, 0xe2, 0xbb, 0x8b, 0x42, 0x98, 0xf4, 0x1a,
|
||||
0x4b, 0x80, 0xee, 0x42, 0x99, 0x5f, 0x48, 0x7a, 0xc9, 0xca, 0x44, 0x97, 0x50, 0x1e, 0x4a, 0x4f,
|
||||
0x66, 0x42, 0xcb, 0x86, 0xf6, 0xd3, 0x45, 0xb4, 0x8b, 0x3a, 0x86, 0x4b, 0xc3, 0x94, 0x46, 0xff,
|
||||
0x73, 0x06, 0x72, 0xcd, 0x80, 0xfa, 0xa7, 0x8e, 0x17, 0xfd, 0x3f, 0x6f, 0x38, 0xe9, 0xdd, 0x25,
|
||||
0xfb, 0xca, 0xee, 0x72, 0x00, 0x15, 0x67, 0xe2, 0xd3, 0x20, 0xb2, 0x3c, 0x9b, 0xcc, 0x07, 0x1a,
|
||||
0xcd, 0x54, 0x49, 0xb4, 0xbf, 0x84, 0x4a, 0xdc, 0x4f, 0x35, 0xd0, 0xbf, 0x04, 0xb0, 0x03, 0xea,
|
||||
0x9b, 0xcf, 0x99, 0x5c, 0x06, 0x7b, 0x61, 0xda, 0xc7, 0x04, 0x38, 0x6f, 0xc7, 0x54, 0xfa, 0x27,
|
||||
0x50, 0x4e, 0x78, 0x7b, 0x56, 0x60, 0x4d, 0x42, 0xf4, 0x1e, 0x6c, 0x5a, 0xa1, 0x4f, 0xec, 0xc8,
|
||||
0x0c, 0x98, 0x13, 0x41, 0x9b, 0xc5, 0x45, 0x21, 0xc4, 0x5c, 0xa6, 0x1f, 0x01, 0xba, 0x20, 0x57,
|
||||
0x47, 0xf1, 0x7d, 0x45, 0x42, 0x6b, 0x50, 0x71, 0x3c, 0xdb, 0x9d, 0x0e, 0x89, 0x39, 0x26, 0x34,
|
||||
0xf5, 0x3c, 0x90, 0xc3, 0x5b, 0x52, 0x75, 0x42, 0xa8, 0x7c, 0x25, 0xd0, 0xbf, 0xcb, 0x42, 0x91,
|
||||
0xcf, 0x76, 0x93, 0x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5b, 0xd5, 0x2b, 0xc9,
|
||||
0x7f, 0x2a, 0xe1, 0x67, 0x72, 0xa9, 0x92, 0xcf, 0x32, 0x4f, 0x1a, 0x11, 0xec, 0xda, 0x74, 0xb2,
|
||||
0x80, 0xb9, 0x51, 0x49, 0x0f, 0xa7, 0x17, 0xd0, 0x88, 0xf6, 0x32, 0xbf, 0x7e, 0x2a, 0xcd, 0xc7,
|
||||
0x94, 0x1d, 0xc6, 0x35, 0x1a, 0x8c, 0x0f, 0xc6, 0xc4, 0xe3, 0x7f, 0x4f, 0x1c, 0x08, 0x95, 0xe5,
|
||||
0x3b, 0xe1, 0xfc, 0x3f, 0x23, 0x9f, 0x8b, 0xaf, 0xff, 0x64, 0x32, 0x57, 0xeb, 0xdc, 0xf6, 0xa3,
|
||||
0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0xf4, 0xbf, 0x21, 0x35, 0xfd, 0x19, 0x00, 0x00,
|
||||
}
|
||||
|
175
vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/text_annotation.pb.go
generated
vendored
175
vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/text_annotation.pb.go
generated
vendored
@ -25,10 +25,9 @@ const (
|
||||
TextAnnotation_DetectedBreak_SURE_SPACE TextAnnotation_DetectedBreak_BreakType = 2
|
||||
// Line-wrapping break.
|
||||
TextAnnotation_DetectedBreak_EOL_SURE_SPACE TextAnnotation_DetectedBreak_BreakType = 3
|
||||
// End-line hyphen that is not present in text; does
|
||||
// End-line hyphen that is not present in text; does not co-occur with
|
||||
// `SPACE`, `LEADER_SPACE`, or `LINE_BREAK`.
|
||||
TextAnnotation_DetectedBreak_HYPHEN TextAnnotation_DetectedBreak_BreakType = 4
|
||||
// not co-occur with SPACE, LEADER_SPACE, or
|
||||
// LINE_BREAK.
|
||||
// Line break that ends a paragraph.
|
||||
TextAnnotation_DetectedBreak_LINE_BREAK TextAnnotation_DetectedBreak_BreakType = 5
|
||||
)
|
||||
@ -101,9 +100,9 @@ func (Block_BlockType) EnumDescriptor() ([]byte, []int) { return fileDescriptor2
|
||||
// The hierarchy of an OCR extracted text structure is like this:
|
||||
// TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol
|
||||
// Each structural component, starting from Page, may further have their own
|
||||
// properties. Properties describe detected languages, breaks etc.. Please
|
||||
// refer to the [google.cloud.vision.v1.TextAnnotation.TextProperty][google.cloud.vision.v1.TextAnnotation.TextProperty] message
|
||||
// definition below for more detail.
|
||||
// properties. Properties describe detected languages, breaks etc.. Please refer
|
||||
// to the [TextAnnotation.TextProperty][google.cloud.vision.v1.TextAnnotation.TextProperty] message definition below for more
|
||||
// detail.
|
||||
type TextAnnotation struct {
|
||||
// List of pages detected by OCR.
|
||||
Pages []*Page `protobuf:"bytes,1,rep,name=pages" json:"pages,omitempty"`
|
||||
@ -163,6 +162,7 @@ func (m *TextAnnotation_DetectedLanguage) GetConfidence() float32 {
|
||||
|
||||
// Detected start or end of a structural component.
|
||||
type TextAnnotation_DetectedBreak struct {
|
||||
// Detected break type.
|
||||
Type TextAnnotation_DetectedBreak_BreakType `protobuf:"varint,1,opt,name=type,enum=google.cloud.vision.v1.TextAnnotation_DetectedBreak_BreakType" json:"type,omitempty"`
|
||||
// True if break prepends the element.
|
||||
IsPrefix bool `protobuf:"varint,2,opt,name=is_prefix,json=isPrefix" json:"is_prefix,omitempty"`
|
||||
@ -224,6 +224,8 @@ type Page struct {
|
||||
Height int32 `protobuf:"varint,3,opt,name=height" json:"height,omitempty"`
|
||||
// List of blocks of text, images etc on this page.
|
||||
Blocks []*Block `protobuf:"bytes,4,rep,name=blocks" json:"blocks,omitempty"`
|
||||
// Confidence of the OCR results on the page. Range [0, 1].
|
||||
Confidence float32 `protobuf:"fixed32,5,opt,name=confidence" json:"confidence,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Page) Reset() { *m = Page{} }
|
||||
@ -259,6 +261,13 @@ func (m *Page) GetBlocks() []*Block {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Page) GetConfidence() float32 {
|
||||
if m != nil {
|
||||
return m.Confidence
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// Logical element on the page.
|
||||
type Block struct {
|
||||
// Additional information detected for the block.
|
||||
@ -269,20 +278,27 @@ type Block struct {
|
||||
// is represented as around the top-left corner as defined when the text is
|
||||
// read in the 'natural' orientation.
|
||||
// For example:
|
||||
// * when the text is horizontal it might look like:
|
||||
// 0----1
|
||||
// | |
|
||||
// 3----2
|
||||
// * when it's rotated 180 degrees around the top-left corner it becomes:
|
||||
// 2----3
|
||||
// | |
|
||||
// 1----0
|
||||
//
|
||||
// * when the text is horizontal it might look like:
|
||||
//
|
||||
// 0----1
|
||||
// | |
|
||||
// 3----2
|
||||
//
|
||||
// * when it's rotated 180 degrees around the top-left corner it becomes:
|
||||
//
|
||||
// 2----3
|
||||
// | |
|
||||
// 1----0
|
||||
//
|
||||
// and the vertice order will still be (0, 1, 2, 3).
|
||||
BoundingBox *BoundingPoly `protobuf:"bytes,2,opt,name=bounding_box,json=boundingBox" json:"bounding_box,omitempty"`
|
||||
// List of paragraphs in this block (if this blocks is of type text).
|
||||
Paragraphs []*Paragraph `protobuf:"bytes,3,rep,name=paragraphs" json:"paragraphs,omitempty"`
|
||||
// Detected block type (text, image etc) for this block.
|
||||
BlockType Block_BlockType `protobuf:"varint,4,opt,name=block_type,json=blockType,enum=google.cloud.vision.v1.Block_BlockType" json:"block_type,omitempty"`
|
||||
// Confidence of the OCR results on the block. Range [0, 1].
|
||||
Confidence float32 `protobuf:"fixed32,5,opt,name=confidence" json:"confidence,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Block) Reset() { *m = Block{} }
|
||||
@ -318,6 +334,13 @@ func (m *Block) GetBlockType() Block_BlockType {
|
||||
return Block_UNKNOWN
|
||||
}
|
||||
|
||||
func (m *Block) GetConfidence() float32 {
|
||||
if m != nil {
|
||||
return m.Confidence
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// Structural unit of text representing a number of words in certain order.
|
||||
type Paragraph struct {
|
||||
// Additional information detected for the paragraph.
|
||||
@ -340,6 +363,8 @@ type Paragraph struct {
|
||||
BoundingBox *BoundingPoly `protobuf:"bytes,2,opt,name=bounding_box,json=boundingBox" json:"bounding_box,omitempty"`
|
||||
// List of words in this paragraph.
|
||||
Words []*Word `protobuf:"bytes,3,rep,name=words" json:"words,omitempty"`
|
||||
// Confidence of the OCR results for the paragraph. Range [0, 1].
|
||||
Confidence float32 `protobuf:"fixed32,4,opt,name=confidence" json:"confidence,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Paragraph) Reset() { *m = Paragraph{} }
|
||||
@ -368,6 +393,13 @@ func (m *Paragraph) GetWords() []*Word {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Paragraph) GetConfidence() float32 {
|
||||
if m != nil {
|
||||
return m.Confidence
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// A word representation.
|
||||
type Word struct {
|
||||
// Additional information detected for the word.
|
||||
@ -391,6 +423,8 @@ type Word struct {
|
||||
// List of symbols in the word.
|
||||
// The order of the symbols follows the natural reading order.
|
||||
Symbols []*Symbol `protobuf:"bytes,3,rep,name=symbols" json:"symbols,omitempty"`
|
||||
// Confidence of the OCR results for the word. Range [0, 1].
|
||||
Confidence float32 `protobuf:"fixed32,4,opt,name=confidence" json:"confidence,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Word) Reset() { *m = Word{} }
|
||||
@ -419,6 +453,13 @@ func (m *Word) GetSymbols() []*Symbol {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Word) GetConfidence() float32 {
|
||||
if m != nil {
|
||||
return m.Confidence
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// A single symbol representation.
|
||||
type Symbol struct {
|
||||
// Additional information detected for the symbol.
|
||||
@ -441,6 +482,8 @@ type Symbol struct {
|
||||
BoundingBox *BoundingPoly `protobuf:"bytes,2,opt,name=bounding_box,json=boundingBox" json:"bounding_box,omitempty"`
|
||||
// The actual UTF-8 representation of the symbol.
|
||||
Text string `protobuf:"bytes,3,opt,name=text" json:"text,omitempty"`
|
||||
// Confidence of the OCR results for the symbol. Range [0, 1].
|
||||
Confidence float32 `protobuf:"fixed32,4,opt,name=confidence" json:"confidence,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Symbol) Reset() { *m = Symbol{} }
|
||||
@ -469,6 +512,13 @@ func (m *Symbol) GetText() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Symbol) GetConfidence() float32 {
|
||||
if m != nil {
|
||||
return m.Confidence
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*TextAnnotation)(nil), "google.cloud.vision.v1.TextAnnotation")
|
||||
proto.RegisterType((*TextAnnotation_DetectedLanguage)(nil), "google.cloud.vision.v1.TextAnnotation.DetectedLanguage")
|
||||
@ -486,52 +536,53 @@ func init() {
|
||||
func init() { proto.RegisterFile("google/cloud/vision/v1/text_annotation.proto", fileDescriptor2) }
|
||||
|
||||
var fileDescriptor2 = []byte{
|
||||
// 744 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x55, 0x4f, 0x6f, 0xd3, 0x4e,
|
||||
0x10, 0xfd, 0xb9, 0xb1, 0xd3, 0x78, 0xd2, 0x46, 0xfe, 0x2d, 0xa8, 0x8a, 0x42, 0xa9, 0x8a, 0x01,
|
||||
0xd1, 0x03, 0x72, 0xd4, 0x14, 0x04, 0x12, 0x08, 0x29, 0x4e, 0x0d, 0xad, 0x1a, 0x25, 0xd6, 0x36,
|
||||
0x51, 0xf9, 0x73, 0xb0, 0xfc, 0x67, 0xeb, 0x58, 0x4d, 0xbd, 0x96, 0xed, 0xb6, 0xc9, 0x8d, 0x4f,
|
||||
0xc5, 0x89, 0x6f, 0xc1, 0x09, 0xee, 0x9c, 0xb9, 0x72, 0x44, 0x5e, 0xdb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0x39, 0xe0, 0x93, 0xbf, 0x0e, 0xea, 0x43, 0x25,
|
||||
0xc8, 0x9c, 0xb1, 0x8b, 0xab, 0xb6, 0x76, 0x7e, 0x93, 0x7f, 0xbe, 0x28, 0x78, 0x46, 0x82, 0x6e,
|
||||
0x82, 0x70, 0xe1, 0x39, 0xf1, 0x88, 0xa9, 0x15, 0x70, 0x1a, 0xa0, 0x35, 0x28, 0x8f, 0x88, 0xe7,
|
||||
0x8e, 0xe2, 0x7a, 0x89, 0xa5, 0xb3, 0x08, 0x3d, 0x86, 0xb2, 0x35, 0xa6, 0xf6, 0x49, 0x54, 0xe7,
|
||||
0x59, 0x01, 0x6f, 0x17, 0x1d, 0xae, 0x26, 0x28, 0x9c, 0x81, 0xe5, 0xf7, 0x25, 0x10, 0x58, 0xe6,
|
||||
0xdf, 0xeb, 0x7f, 0x05, 0x2b, 0x16, 0x3d, 0xf3, 0x1d, 0xcf, 0x77, 0x0d, 0x8b, 0x4e, 0xb2, 0xa2,
|
||||
0xdf, 0x2b, 0xd4, 0x95, 0x61, 0x75, 0x3a, 0x9e, 0xe2, 0x6a, 0xbe, 0x53, 0xa5, 0x13, 0xd4, 0x06,
|
||||
0x08, 0xcc, 0xd0, 0x74, 0x43, 0x33, 0x18, 0x45, 0xf5, 0x12, 0xb3, 0x77, 0xa7, 0xb8, 0x8d, 0x33,
|
||||
0x24, 0x9e, 0xdb, 0x84, 0x5e, 0x02, 0x30, 0xc3, 0x06, 0xeb, 0x2b, 0x9e, 0xf5, 0xd5, 0x83, 0x5f,
|
||||
0x56, 0x28, 0xfd, 0xb2, 0x06, 0x12, 0xad, 0x7c, 0x29, 0x63, 0x10, 0x67, 0xf9, 0xc5, 0x46, 0xa9,
|
||||
0x00, 0x3f, 0xd0, 0x5e, 0x0f, 0x24, 0x2e, 0x69, 0x99, 0x41, 0x5b, 0xed, 0x26, 0x2d, 0x52, 0x85,
|
||||
0x65, 0x7d, 0xbf, 0x33, 0x18, 0xe2, 0xa4, 0x37, 0x44, 0x10, 0xf0, 0xb0, 0xab, 0x61, 0x89, 0x4f,
|
||||
0xf2, 0x6a, 0x1b, 0x77, 0xfa, 0xbb, 0x9a, 0x24, 0xc8, 0x9f, 0x39, 0x10, 0x67, 0xaa, 0xaf, 0xf1,
|
||||
0x35, 0xb4, 0x40, 0xb8, 0xa0, 0xa1, 0x93, 0xdf, 0x40, 0xe1, 0x43, 0x7a, 0x44, 0x43, 0x07, 0xa7,
|
||||
0x50, 0xf9, 0x0b, 0x07, 0x7c, 0x12, 0x5f, 0x63, 0x5b, 0x4f, 0x61, 0x39, 0x9a, 0x9e, 0x5a, 0x74,
|
||||
0x9c, 0x1b, 0xdb, 0x28, 0xe2, 0x38, 0x64, 0x30, 0x9c, 0xc3, 0xe5, 0x0f, 0x1c, 0x94, 0xd3, 0xdc,
|
||||
0x35, 0xb6, 0x97, 0x8f, 0xb2, 0xd2, 0xe5, 0x28, 0x53, 0x63, 0x68, 0xd8, 0xf4, 0xb4, 0x80, 0x4b,
|
||||
0xbd, 0xb1, 0xa8, 0x50, 0x4f, 0x06, 0xab, 0xce, 0xbd, 0x7d, 0x9e, 0xc1, 0x5d, 0x9a, 0xbc, 0xd5,
|
||||
0x0a, 0x0d, 0xdd, 0xa6, 0x4b, 0x7c, 0x36, 0x76, 0x9b, 0xe9, 0x4f, 0x66, 0xe0, 0x45, 0x57, 0x07,
|
||||
0xf4, 0xb3, 0x74, 0xf5, 0x9d, 0xe3, 0xac, 0x32, 0xc3, 0xee, 0xfc, 0x08, 0x00, 0x00, 0xff, 0xff,
|
||||
0x80, 0x29, 0x2a, 0x3b, 0x2f, 0x08, 0x00, 0x00,
|
||||
// 763 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0xcf, 0x6f, 0xd3, 0x4a,
|
||||
0x10, 0x7e, 0x6e, 0xec, 0x34, 0x9e, 0xb4, 0x91, 0xdf, 0xbe, 0xa7, 0x2a, 0x0a, 0xa5, 0x2a, 0x01,
|
||||
0x44, 0x0f, 0xc8, 0x51, 0x53, 0x10, 0x48, 0x20, 0xa4, 0x38, 0x35, 0xb4, 0x6a, 0x94, 0x58, 0xdb,
|
||||
0x44, 0xe5, 0xc7, 0xc1, 0xf2, 0x8f, 0xad, 0x63, 0x35, 0xf5, 0x5a, 0xb6, 0xdb, 0x26, 0xff, 0x0d,
|
||||
0xff, 0x13, 0x12, 0x27, 0xae, 0x9c, 0xb9, 0x02, 0x27, 0xe4, 0xb5, 0x9d, 0x26, 0x01, 0x53, 0x40,
|
||||
0x1c, 0x7a, 0xb1, 0x76, 0x26, 0xdf, 0x7c, 0x33, 0xdf, 0x8c, 0x27, 0x6b, 0xb8, 0xef, 0x50, 0xea,
|
||||
0x8c, 0x48, 0xc3, 0x1a, 0xd1, 0x33, 0xbb, 0x71, 0xee, 0x86, 0x2e, 0xf5, 0x1a, 0xe7, 0xdb, 0x8d,
|
||||
0x88, 0x8c, 0x23, 0xdd, 0xf0, 0x3c, 0x1a, 0x19, 0x91, 0x4b, 0x3d, 0xd9, 0x0f, 0x68, 0x44, 0xd1,
|
||||
0x5a, 0x82, 0x96, 0x19, 0x5a, 0x4e, 0xd0, 0xf2, 0xf9, 0x76, 0x6d, 0x3d, 0x65, 0x31, 0x7c, 0xb7,
|
||||
0x71, 0x19, 0x14, 0x26, 0x51, 0xb5, 0xbb, 0x39, 0x39, 0x1c, 0x42, 0x4f, 0x49, 0x14, 0x4c, 0x12,
|
||||
0x58, 0xfd, 0x13, 0x0f, 0x95, 0x3e, 0x19, 0x47, 0xad, 0x29, 0x01, 0x6a, 0x82, 0xe0, 0x1b, 0x0e,
|
||||
0x09, 0xab, 0xdc, 0x66, 0x61, 0xab, 0xdc, 0x5c, 0x97, 0x7f, 0x9c, 0x5f, 0xd6, 0x0c, 0x87, 0xe0,
|
||||
0x04, 0x8a, 0x10, 0xf0, 0x71, 0xf1, 0xd5, 0xa5, 0x4d, 0x6e, 0x4b, 0xc4, 0xec, 0x5c, 0x3b, 0x02,
|
||||
0x69, 0x97, 0x44, 0xc4, 0x8a, 0x88, 0xdd, 0x31, 0x3c, 0xe7, 0xcc, 0x70, 0x08, 0xba, 0x0d, 0xab,
|
||||
0xa3, 0xf4, 0xac, 0x5b, 0xd4, 0x26, 0x55, 0x8e, 0x05, 0xac, 0x64, 0xce, 0x36, 0xb5, 0x09, 0xda,
|
||||
0x00, 0xb0, 0xa8, 0x77, 0xec, 0xda, 0xc4, 0xb3, 0x08, 0xa3, 0x5c, 0xc2, 0x33, 0x9e, 0xda, 0x47,
|
||||
0x0e, 0x56, 0x33, 0x66, 0x25, 0x20, 0xc6, 0x09, 0xc2, 0xc0, 0x47, 0x13, 0x3f, 0x61, 0xab, 0x34,
|
||||
0x9f, 0xe5, 0x55, 0x3c, 0x2f, 0x54, 0x9e, 0xe3, 0x90, 0xd9, 0xb3, 0x3f, 0xf1, 0x09, 0x66, 0x5c,
|
||||
0xe8, 0x06, 0x88, 0x6e, 0xa8, 0xfb, 0x01, 0x39, 0x76, 0xc7, 0xac, 0x88, 0x12, 0x2e, 0xb9, 0xa1,
|
||||
0xc6, 0xec, 0xba, 0x05, 0xe2, 0x14, 0x8f, 0xca, 0xb0, 0x3c, 0xe8, 0x1e, 0x74, 0x7b, 0x47, 0x5d,
|
||||
0xe9, 0x1f, 0x24, 0x82, 0x70, 0xa8, 0xb5, 0xda, 0xaa, 0xc4, 0xa1, 0x0a, 0xc0, 0xe1, 0x00, 0xab,
|
||||
0x7a, 0x62, 0x2f, 0x21, 0x04, 0x15, 0xb5, 0xd7, 0xd1, 0x67, 0x7c, 0x05, 0x04, 0x50, 0xdc, 0x7b,
|
||||
0xa5, 0xed, 0xa9, 0x5d, 0x89, 0x8f, 0xf1, 0x9d, 0xfd, 0xae, 0xaa, 0x2b, 0x58, 0x6d, 0x1d, 0x48,
|
||||
0x42, 0xed, 0x1d, 0x07, 0x2b, 0x71, 0xc9, 0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, 0xa7, 0x48, 0x3c, 0x13, 0x84, 0x9e, 0x03, 0xb0, 0x86, 0xe8, 0x6c,
|
||||
0xef, 0x78, 0xb6, 0x77, 0xf7, 0x7e, 0xda, 0xc1, 0xe4, 0xc9, 0x16, 0x4c, 0x34, 0xb3, 0xe3, 0x95,
|
||||
0xed, 0xc4, 0x20, 0x4e, 0xe3, 0xe6, 0x17, 0xad, 0x04, 0x7c, 0x5f, 0x7d, 0xd9, 0x97, 0xb8, 0x78,
|
||||
0xe5, 0xfa, 0x2d, 0xa5, 0x13, 0xaf, 0x58, 0x19, 0x96, 0xb5, 0xfd, 0x76, 0x7f, 0x80, 0xe3, 0xdd,
|
||||
0x12, 0x41, 0xc0, 0x83, 0x8e, 0x8a, 0x25, 0x3e, 0xf6, 0x2b, 0x2d, 0xdc, 0xee, 0xed, 0xaa, 0x92,
|
||||
0x50, 0xff, 0xc2, 0x81, 0x38, 0x55, 0x75, 0x8d, 0xc7, 0xd4, 0x04, 0xe1, 0x82, 0x06, 0x76, 0x36,
|
||||
0xa1, 0xdc, 0x3f, 0xe2, 0x23, 0x1a, 0xd8, 0x38, 0x81, 0x2e, 0xf4, 0x93, 0xff, 0xae, 0x9f, 0x5f,
|
||||
0x39, 0xe0, 0x63, 0xfc, 0x35, 0x96, 0xfd, 0x18, 0x96, 0xc3, 0xc9, 0xa9, 0x49, 0x47, 0x99, 0xf0,
|
||||
0x8d, 0x3c, 0x8e, 0x43, 0x06, 0xc3, 0x19, 0xfc, 0x4a, 0xf1, 0xef, 0x39, 0x28, 0x26, 0x31, 0xd7,
|
||||
0x58, 0x7e, 0x76, 0x95, 0x16, 0x2e, 0xaf, 0xd2, 0xab, 0x84, 0x29, 0x11, 0xd4, 0x2c, 0x7a, 0x9a,
|
||||
0x93, 0x4b, 0xf9, 0x6f, 0x5e, 0x81, 0x16, 0x5f, 0xfc, 0x1a, 0xf7, 0xfa, 0x69, 0x0a, 0x77, 0x68,
|
||||
0x7c, 0x97, 0xc8, 0x34, 0x70, 0x1a, 0x0e, 0xf1, 0xd8, 0x67, 0x41, 0x23, 0xf9, 0xc9, 0xf0, 0xdd,
|
||||
0x70, 0xf1, 0x03, 0xe2, 0x49, 0x72, 0xfa, 0xcc, 0x71, 0x66, 0x91, 0x61, 0x77, 0xbe, 0x05, 0x00,
|
||||
0x00, 0xff, 0xff, 0x3f, 0x4a, 0xe7, 0xb0, 0xcf, 0x08, 0x00, 0x00,
|
||||
}
|
||||
|
146
vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/web_detection.pb.go
generated
vendored
146
vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/web_detection.pb.go
generated
vendored
@ -18,8 +18,7 @@ type WebDetection struct {
|
||||
// Deduced entities from similar images on the Internet.
|
||||
WebEntities []*WebDetection_WebEntity `protobuf:"bytes,1,rep,name=web_entities,json=webEntities" json:"web_entities,omitempty"`
|
||||
// Fully matching images from the Internet.
|
||||
// They're definite neardups and most often a copy of the query image with
|
||||
// merely a size change.
|
||||
// Can include resized copies of the query image.
|
||||
FullMatchingImages []*WebDetection_WebImage `protobuf:"bytes,2,rep,name=full_matching_images,json=fullMatchingImages" json:"full_matching_images,omitempty"`
|
||||
// Partial matching images from the Internet.
|
||||
// Those images are similar enough to share some key-point features. For
|
||||
@ -27,6 +26,10 @@ type WebDetection struct {
|
||||
PartialMatchingImages []*WebDetection_WebImage `protobuf:"bytes,3,rep,name=partial_matching_images,json=partialMatchingImages" json:"partial_matching_images,omitempty"`
|
||||
// Web pages containing the matching images from the Internet.
|
||||
PagesWithMatchingImages []*WebDetection_WebPage `protobuf:"bytes,4,rep,name=pages_with_matching_images,json=pagesWithMatchingImages" json:"pages_with_matching_images,omitempty"`
|
||||
// The visually similar image results.
|
||||
VisuallySimilarImages []*WebDetection_WebImage `protobuf:"bytes,6,rep,name=visually_similar_images,json=visuallySimilarImages" json:"visually_similar_images,omitempty"`
|
||||
// Best guess text labels for the request image.
|
||||
BestGuessLabels []*WebDetection_WebLabel `protobuf:"bytes,8,rep,name=best_guess_labels,json=bestGuessLabels" json:"best_guess_labels,omitempty"`
|
||||
}
|
||||
|
||||
func (m *WebDetection) Reset() { *m = WebDetection{} }
|
||||
@ -62,6 +65,20 @@ func (m *WebDetection) GetPagesWithMatchingImages() []*WebDetection_WebPage {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *WebDetection) GetVisuallySimilarImages() []*WebDetection_WebImage {
|
||||
if m != nil {
|
||||
return m.VisuallySimilarImages
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *WebDetection) GetBestGuessLabels() []*WebDetection_WebLabel {
|
||||
if m != nil {
|
||||
return m.BestGuessLabels
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Entity deduced from similar images on the Internet.
|
||||
type WebDetection_WebEntity struct {
|
||||
// Opaque entity ID.
|
||||
@ -103,8 +120,7 @@ func (m *WebDetection_WebEntity) GetDescription() string {
|
||||
type WebDetection_WebImage struct {
|
||||
// The result image URL.
|
||||
Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
|
||||
// Overall relevancy score for the image.
|
||||
// Not normalized and not comparable across different image queries.
|
||||
// (Deprecated) Overall relevancy score for the image.
|
||||
Score float32 `protobuf:"fixed32,2,opt,name=score" json:"score,omitempty"`
|
||||
}
|
||||
|
||||
@ -131,9 +147,18 @@ func (m *WebDetection_WebImage) GetScore() float32 {
|
||||
type WebDetection_WebPage struct {
|
||||
// The result web page URL.
|
||||
Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
|
||||
// Overall relevancy score for the web page.
|
||||
// Not normalized and not comparable across different image queries.
|
||||
// (Deprecated) Overall relevancy score for the web page.
|
||||
Score float32 `protobuf:"fixed32,2,opt,name=score" json:"score,omitempty"`
|
||||
// Title for the web page, may contain HTML markups.
|
||||
PageTitle string `protobuf:"bytes,3,opt,name=page_title,json=pageTitle" json:"page_title,omitempty"`
|
||||
// Fully matching images on the page.
|
||||
// Can include resized copies of the query image.
|
||||
FullMatchingImages []*WebDetection_WebImage `protobuf:"bytes,4,rep,name=full_matching_images,json=fullMatchingImages" json:"full_matching_images,omitempty"`
|
||||
// Partial matching images on the page.
|
||||
// Those images are similar enough to share some key-point features. For
|
||||
// example an original image will likely have partial matching for its
|
||||
// crops.
|
||||
PartialMatchingImages []*WebDetection_WebImage `protobuf:"bytes,5,rep,name=partial_matching_images,json=partialMatchingImages" json:"partial_matching_images,omitempty"`
|
||||
}
|
||||
|
||||
func (m *WebDetection_WebPage) Reset() { *m = WebDetection_WebPage{} }
|
||||
@ -155,39 +180,98 @@ func (m *WebDetection_WebPage) GetScore() float32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *WebDetection_WebPage) GetPageTitle() string {
|
||||
if m != nil {
|
||||
return m.PageTitle
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *WebDetection_WebPage) GetFullMatchingImages() []*WebDetection_WebImage {
|
||||
if m != nil {
|
||||
return m.FullMatchingImages
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *WebDetection_WebPage) GetPartialMatchingImages() []*WebDetection_WebImage {
|
||||
if m != nil {
|
||||
return m.PartialMatchingImages
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Label to provide extra metadata for the web detection.
|
||||
type WebDetection_WebLabel struct {
|
||||
// Label for extra metadata.
|
||||
Label string `protobuf:"bytes,1,opt,name=label" json:"label,omitempty"`
|
||||
// The BCP-47 language code for `label`, such as "en-US" or "sr-Latn".
|
||||
// For more information, see
|
||||
// http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
|
||||
LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode" json:"language_code,omitempty"`
|
||||
}
|
||||
|
||||
func (m *WebDetection_WebLabel) Reset() { *m = WebDetection_WebLabel{} }
|
||||
func (m *WebDetection_WebLabel) String() string { return proto.CompactTextString(m) }
|
||||
func (*WebDetection_WebLabel) ProtoMessage() {}
|
||||
func (*WebDetection_WebLabel) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0, 3} }
|
||||
|
||||
func (m *WebDetection_WebLabel) GetLabel() string {
|
||||
if m != nil {
|
||||
return m.Label
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *WebDetection_WebLabel) GetLanguageCode() string {
|
||||
if m != nil {
|
||||
return m.LanguageCode
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*WebDetection)(nil), "google.cloud.vision.v1.WebDetection")
|
||||
proto.RegisterType((*WebDetection_WebEntity)(nil), "google.cloud.vision.v1.WebDetection.WebEntity")
|
||||
proto.RegisterType((*WebDetection_WebImage)(nil), "google.cloud.vision.v1.WebDetection.WebImage")
|
||||
proto.RegisterType((*WebDetection_WebPage)(nil), "google.cloud.vision.v1.WebDetection.WebPage")
|
||||
proto.RegisterType((*WebDetection_WebLabel)(nil), "google.cloud.vision.v1.WebDetection.WebLabel")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/cloud/vision/v1/web_detection.proto", fileDescriptor3) }
|
||||
|
||||
var fileDescriptor3 = []byte{
|
||||
// 383 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0x41, 0x4f, 0xea, 0x40,
|
||||
0x14, 0x85, 0x53, 0xca, 0x7b, 0x0f, 0x06, 0x16, 0xcf, 0x09, 0x4a, 0x53, 0x5d, 0x34, 0xae, 0x88,
|
||||
0xd1, 0x69, 0xc0, 0xa5, 0xae, 0x88, 0x2e, 0x58, 0x98, 0x60, 0x37, 0x24, 0x6e, 0xea, 0xd0, 0x8e,
|
||||
0xc3, 0x4d, 0xca, 0x4c, 0xd3, 0x19, 0x20, 0xfc, 0x58, 0xff, 0x87, 0x4b, 0x33, 0xd3, 0x62, 0x10,
|
||||
0x30, 0x21, 0xee, 0xee, 0xdc, 0x9e, 0xf3, 0x9d, 0xf6, 0xf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, 0x5f, 0xc3, 0xc4, 0xe7, 0xa8, 0x69, 0x7f, 0xc7,
|
||||
0x3a, 0x86, 0xd4, 0x73, 0x02, 0xa7, 0xd7, 0x8c, 0x1a, 0x65, 0x63, 0x94, 0xe2, 0x0e, 0xfa, 0xa3,
|
||||
0x12, 0x59, 0x30, 0xaf, 0x16, 0x38, 0xbd, 0x5a, 0x54, 0x1e, 0x70, 0x80, 0x5a, 0x29, 0x53, 0x49,
|
||||
0x01, 0xb9, 0xc9, 0xf3, 0x5c, 0x6b, 0xda, 0x6e, 0xf9, 0x03, 0xd4, 0xd8, 0x7c, 0x2f, 0xfe, 0x8f,
|
||||
0xdc, 0x45, 0x91, 0x55, 0x68, 0x53, 0x1e, 0xa6, 0xfa, 0x7d, 0xf4, 0xaf, 0x7a, 0xf3, 0x63, 0x2d,
|
||||
0xc3, 0x02, 0xf9, 0x89, 0x9c, 0xff, 0x30, 0x94, 0xe1, 0xc9, 0xf6, 0x54, 0xc6, 0x66, 0x21, 0xc7,
|
||||
0xce, 0xcb, 0x7d, 0x25, 0xe6, 0x32, 0xa3, 0x82, 0x13, 0x59, 0xf0, 0x90, 0x33, 0x61, 0xd7, 0x35,
|
||||
0x2c, 0x1f, 0xd1, 0x1c, 0xd4, 0xee, 0x9d, 0xb8, 0x2b, 0xab, 0x0f, 0xc7, 0x99, 0xfe, 0xb5, 0xda,
|
||||
0xdb, 0xcf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x66, 0xd9, 0xde, 0x3f, 0x3e, 0x03, 0x00, 0x00,
|
||||
// 505 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x94, 0xd1, 0x8b, 0xd3, 0x4e,
|
||||
0x10, 0xc7, 0x49, 0x7b, 0x77, 0xbf, 0x76, 0xdb, 0x1f, 0x7a, 0xcb, 0xe9, 0x85, 0xa8, 0x50, 0xf4,
|
||||
0xa5, 0x88, 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||||
0x7b, 0x4f, 0xb2, 0x25, 0x4d, 0x05, 0x39, 0xae, 0x79, 0x63, 0x80, 0x6f, 0x7b, 0xf4, 0x6f, 0xe3,
|
||||
0x71, 0xcf, 0xd3, 0xae, 0xd8, 0x00, 0x89, 0x6a, 0x0c, 0xd8, 0x0a, 0xcc, 0x7c, 0xcb, 0x69, 0xcf,
|
||||
0x3a, 0x3d, 0xdb, 0xd5, 0x69, 0x86, 0x46, 0xc7, 0x96, 0x77, 0x09, 0x66, 0xbe, 0x7d, 0xa3, 0x25,
|
||||
0xe8, 0x96, 0x4b, 0xb9, 0x66, 0x1a, 0x16, 0x20, 0x79, 0xd3, 0xf9, 0x1c, 0xdc, 0xea, 0x46, 0x1d,
|
||||
0xed, 0xa3, 0x83, 0x79, 0x9b, 0xcf, 0xe4, 0x30, 0x13, 0xda, 0xb0, 0xb2, 0x15, 0x5a, 0x33, 0xc9,
|
||||
0x33, 0x21, 0x75, 0x38, 0xf8, 0x33, 0x83, 0x77, 0xa8, 0x4a, 0xef, 0x20, 0xe7, 0x2d, 0x62, 0x6c,
|
||||
0xae, 0xa3, 0xaf, 0x64, 0xf8, 0x7b, 0x1d, 0xe8, 0x03, 0x32, 0xb4, 0x0b, 0xb5, 0x66, 0x50, 0x84,
|
||||
0xc1, 0x24, 0x98, 0x0e, 0xd3, 0x81, 0x2b, 0x5c, 0x14, 0xf4, 0x88, 0xec, 0xeb, 0x5c, 0x35, 0x22,
|
||||
0xec, 0x4d, 0x82, 0x69, 0x2f, 0x75, 0x09, 0x9d, 0x90, 0x51, 0x21, 0x74, 0xde, 0x40, 0x8d, 0x46,
|
||||
0x61, 0xdf, 0x8a, 0x36, 0x4b, 0xd1, 0x29, 0x19, 0x74, 0xf7, 0xa3, 0x77, 0x49, 0xbf, 0x6d, 0xa4,
|
||||
0x47, 0x63, 0x78, 0x3d, 0x35, 0xfa, 0xde, 0x23, 0xff, 0xf9, 0xe1, 0xef, 0xaa, 0xa1, 0x8f, 0x08,
|
||||
0xc1, 0xdf, 0xc4, 0x0c, 0x18, 0x29, 0xfc, 0x41, 0x86, 0x58, 0xf9, 0x84, 0x85, 0x1b, 0xb7, 0x7b,
|
||||
0xef, 0x1f, 0x6c, 0xf7, 0xfe, 0xdf, 0xdb, 0xee, 0xe8, 0xdc, 0x8e, 0xd3, 0xfe, 0x3d, 0x1c, 0x84,
|
||||
0x5d, 0x06, 0x3f, 0x1c, 0x97, 0xd0, 0x27, 0xe4, 0x7f, 0xc9, 0xab, 0xb2, 0xc5, 0x61, 0xe4, 0xaa,
|
||||
0x70, 0x63, 0x1a, 0xa6, 0xe3, 0xae, 0xf8, 0x5a, 0x15, 0xe2, 0xac, 0x21, 0x51, 0xae, 0x16, 0x37,
|
||||
0x9c, 0xe8, 0xec, 0x70, 0xf3, 0x48, 0x33, 0x7c, 0x81, 0x66, 0xc1, 0x97, 0x57, 0xbe, 0xb9, 0x54,
|
||||
0x48, 0x8a, 0x55, 0x53, 0x26, 0xa5, 0xa8, 0xec, 0xfb, 0x94, 0xb8, 0x4f, 0xbc, 0x06, 0x7d, 0xf5,
|
||||
0x11, 0x7c, 0xe9, 0xa2, 0x9f, 0x41, 0x90, 0x1d, 0xd8, 0xde, 0x17, 0xbf, 0x02, 0x00, 0x00, 0xff,
|
||||
0xff, 0x1c, 0xe5, 0x3e, 0x5b, 0x2f, 0x05, 0x00, 0x00,
|
||||
}
|
||||
|
183
vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/geometry.pb.go
generated
vendored
Normal file
183
vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/geometry.pb.go
generated
vendored
Normal file
@ -0,0 +1,183 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/vision/v1p2beta1/geometry.proto
|
||||
|
||||
/*
|
||||
Package vision is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/cloud/vision/v1p2beta1/geometry.proto
|
||||
google/cloud/vision/v1p2beta1/image_annotator.proto
|
||||
google/cloud/vision/v1p2beta1/text_annotation.proto
|
||||
google/cloud/vision/v1p2beta1/web_detection.proto
|
||||
|
||||
It has these top-level messages:
|
||||
Vertex
|
||||
BoundingPoly
|
||||
Position
|
||||
Feature
|
||||
ImageSource
|
||||
Image
|
||||
FaceAnnotation
|
||||
LocationInfo
|
||||
Property
|
||||
EntityAnnotation
|
||||
SafeSearchAnnotation
|
||||
LatLongRect
|
||||
ColorInfo
|
||||
DominantColorsAnnotation
|
||||
ImageProperties
|
||||
CropHint
|
||||
CropHintsAnnotation
|
||||
CropHintsParams
|
||||
WebDetectionParams
|
||||
ImageContext
|
||||
AnnotateImageRequest
|
||||
ImageAnnotationContext
|
||||
AnnotateImageResponse
|
||||
BatchAnnotateImagesRequest
|
||||
BatchAnnotateImagesResponse
|
||||
AsyncAnnotateFileRequest
|
||||
AsyncAnnotateFileResponse
|
||||
AsyncBatchAnnotateFilesRequest
|
||||
AsyncBatchAnnotateFilesResponse
|
||||
InputConfig
|
||||
OutputConfig
|
||||
GcsSource
|
||||
GcsDestination
|
||||
OperationMetadata
|
||||
TextAnnotation
|
||||
Page
|
||||
Block
|
||||
Paragraph
|
||||
Word
|
||||
Symbol
|
||||
WebDetection
|
||||
*/
|
||||
package vision
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// A vertex represents a 2D point in the image.
|
||||
// NOTE: the vertex coordinates are in the same scale as the original image.
|
||||
type Vertex struct {
|
||||
// X coordinate.
|
||||
X int32 `protobuf:"varint,1,opt,name=x" json:"x,omitempty"`
|
||||
// Y coordinate.
|
||||
Y int32 `protobuf:"varint,2,opt,name=y" json:"y,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Vertex) Reset() { *m = Vertex{} }
|
||||
func (m *Vertex) String() string { return proto.CompactTextString(m) }
|
||||
func (*Vertex) ProtoMessage() {}
|
||||
func (*Vertex) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
|
||||
func (m *Vertex) GetX() int32 {
|
||||
if m != nil {
|
||||
return m.X
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Vertex) GetY() int32 {
|
||||
if m != nil {
|
||||
return m.Y
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// A bounding polygon for the detected image annotation.
|
||||
type BoundingPoly struct {
|
||||
// The bounding polygon vertices.
|
||||
Vertices []*Vertex `protobuf:"bytes,1,rep,name=vertices" json:"vertices,omitempty"`
|
||||
}
|
||||
|
||||
func (m *BoundingPoly) Reset() { *m = BoundingPoly{} }
|
||||
func (m *BoundingPoly) String() string { return proto.CompactTextString(m) }
|
||||
func (*BoundingPoly) ProtoMessage() {}
|
||||
func (*BoundingPoly) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
|
||||
func (m *BoundingPoly) GetVertices() []*Vertex {
|
||||
if m != nil {
|
||||
return m.Vertices
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// A 3D position in the image, used primarily for Face detection landmarks.
|
||||
// A valid Position must have both x and y coordinates.
|
||||
// The position coordinates are in the same scale as the original image.
|
||||
type Position struct {
|
||||
// X coordinate.
|
||||
X float32 `protobuf:"fixed32,1,opt,name=x" json:"x,omitempty"`
|
||||
// Y coordinate.
|
||||
Y float32 `protobuf:"fixed32,2,opt,name=y" json:"y,omitempty"`
|
||||
// Z coordinate (or depth).
|
||||
Z float32 `protobuf:"fixed32,3,opt,name=z" json:"z,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Position) Reset() { *m = Position{} }
|
||||
func (m *Position) String() string { return proto.CompactTextString(m) }
|
||||
func (*Position) ProtoMessage() {}
|
||||
func (*Position) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||
|
||||
func (m *Position) GetX() float32 {
|
||||
if m != nil {
|
||||
return m.X
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Position) GetY() float32 {
|
||||
if m != nil {
|
||||
return m.Y
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Position) GetZ() float32 {
|
||||
if m != nil {
|
||||
return m.Z
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Vertex)(nil), "google.cloud.vision.v1p2beta1.Vertex")
|
||||
proto.RegisterType((*BoundingPoly)(nil), "google.cloud.vision.v1p2beta1.BoundingPoly")
|
||||
proto.RegisterType((*Position)(nil), "google.cloud.vision.v1p2beta1.Position")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/cloud/vision/v1p2beta1/geometry.proto", fileDescriptor0) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
// 243 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xb1, 0x4b, 0xc3, 0x40,
|
||||
0x14, 0x87, 0x79, 0x29, 0x96, 0x72, 0xd6, 0x25, 0x53, 0x16, 0xa1, 0x06, 0x85, 0x0e, 0x72, 0x47,
|
||||
0xab, 0x9b, 0x93, 0x71, 0x70, 0x8d, 0x19, 0x1c, 0xdc, 0xd2, 0xf4, 0xf1, 0x38, 0x48, 0xef, 0x85,
|
||||
0xcb, 0x35, 0xf4, 0x8a, 0x7f, 0xb8, 0xa3, 0xf4, 0xae, 0x54, 0x1c, 0xda, 0xf1, 0x77, 0xf7, 0x3d,
|
||||
0x3e, 0xf8, 0xc4, 0x23, 0x31, 0x53, 0x8b, 0xaa, 0x69, 0x79, 0xbb, 0x56, 0x83, 0xee, 0x35, 0x1b,
|
||||
0x35, 0x2c, 0xba, 0xe5, 0x0a, 0x5d, 0xbd, 0x50, 0x84, 0xbc, 0x41, 0x67, 0xbd, 0xec, 0x2c, 0x3b,
|
||||
0x4e, 0x6f, 0x23, 0x2d, 0x03, 0x2d, 0x23, 0x2d, 0x4f, 0x74, 0x7e, 0x2f, 0xc6, 0x9f, 0x68, 0x1d,
|
||||
0xee, 0xd2, 0xa9, 0x80, 0x5d, 0x06, 0x33, 0x98, 0x5f, 0x55, 0x10, 0x96, 0xcf, 0x92, 0xb8, 0x7c,
|
||||
0xfe, 0x21, 0xa6, 0x05, 0x6f, 0xcd, 0x5a, 0x1b, 0x2a, 0xb9, 0xf5, 0xe9, 0xab, 0x98, 0x0c, 0x68,
|
||||
0x9d, 0x6e, 0xb0, 0xcf, 0x60, 0x36, 0x9a, 0x5f, 0x2f, 0x1f, 0xe4, 0x45, 0x8f, 0x8c, 0x92, 0xea,
|
||||
0x74, 0x96, 0x3f, 0x8b, 0x49, 0xc9, 0xbd, 0x76, 0x9a, 0xcd, 0x9f, 0x3a, 0xf9, 0xa7, 0x4e, 0x2a,
|
||||
0xf0, 0x87, 0xb5, 0xcf, 0x46, 0x71, 0xed, 0x8b, 0x6f, 0x71, 0xd7, 0xf0, 0xe6, 0xb2, 0xab, 0xb8,
|
||||
0x79, 0x3f, 0x26, 0x28, 0x0f, 0x05, 0x4a, 0xf8, 0x7a, 0x3b, 0xf2, 0xc4, 0x6d, 0x6d, 0x48, 0xb2,
|
||||
0x25, 0x45, 0x68, 0x42, 0x1f, 0x15, 0xbf, 0xea, 0x4e, 0xf7, 0x67, 0x82, 0xbe, 0xc4, 0x87, 0x1f,
|
||||
0x80, 0xd5, 0x38, 0x9c, 0x3c, 0xfd, 0x06, 0x00, 0x00, 0xff, 0xff, 0x5a, 0xa2, 0xee, 0x2b, 0x82,
|
||||
0x01, 0x00, 0x00,
|
||||
}
|
1933
vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/image_annotator.pb.go
generated
vendored
Normal file
1933
vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/image_annotator.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
593
vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/text_annotation.pb.go
generated
vendored
Normal file
593
vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/text_annotation.pb.go
generated
vendored
Normal file
@ -0,0 +1,593 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/vision/v1p2beta1/text_annotation.proto
|
||||
|
||||
package vision
|
||||
|
||||
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
|
||||
|
||||
// Enum to denote the type of break found. New line, space etc.
|
||||
type TextAnnotation_DetectedBreak_BreakType int32
|
||||
|
||||
const (
|
||||
// Unknown break label type.
|
||||
TextAnnotation_DetectedBreak_UNKNOWN TextAnnotation_DetectedBreak_BreakType = 0
|
||||
// Regular space.
|
||||
TextAnnotation_DetectedBreak_SPACE TextAnnotation_DetectedBreak_BreakType = 1
|
||||
// Sure space (very wide).
|
||||
TextAnnotation_DetectedBreak_SURE_SPACE TextAnnotation_DetectedBreak_BreakType = 2
|
||||
// Line-wrapping break.
|
||||
TextAnnotation_DetectedBreak_EOL_SURE_SPACE TextAnnotation_DetectedBreak_BreakType = 3
|
||||
// End-line hyphen that is not present in text; does not co-occur with
|
||||
// `SPACE`, `LEADER_SPACE`, or `LINE_BREAK`.
|
||||
TextAnnotation_DetectedBreak_HYPHEN TextAnnotation_DetectedBreak_BreakType = 4
|
||||
// Line break that ends a paragraph.
|
||||
TextAnnotation_DetectedBreak_LINE_BREAK TextAnnotation_DetectedBreak_BreakType = 5
|
||||
)
|
||||
|
||||
var TextAnnotation_DetectedBreak_BreakType_name = map[int32]string{
|
||||
0: "UNKNOWN",
|
||||
1: "SPACE",
|
||||
2: "SURE_SPACE",
|
||||
3: "EOL_SURE_SPACE",
|
||||
4: "HYPHEN",
|
||||
5: "LINE_BREAK",
|
||||
}
|
||||
var TextAnnotation_DetectedBreak_BreakType_value = map[string]int32{
|
||||
"UNKNOWN": 0,
|
||||
"SPACE": 1,
|
||||
"SURE_SPACE": 2,
|
||||
"EOL_SURE_SPACE": 3,
|
||||
"HYPHEN": 4,
|
||||
"LINE_BREAK": 5,
|
||||
}
|
||||
|
||||
func (x TextAnnotation_DetectedBreak_BreakType) String() string {
|
||||
return proto.EnumName(TextAnnotation_DetectedBreak_BreakType_name, int32(x))
|
||||
}
|
||||
func (TextAnnotation_DetectedBreak_BreakType) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor2, []int{0, 1, 0}
|
||||
}
|
||||
|
||||
// Type of a block (text, image etc) as identified by OCR.
|
||||
type Block_BlockType int32
|
||||
|
||||
const (
|
||||
// Unknown block type.
|
||||
Block_UNKNOWN Block_BlockType = 0
|
||||
// Regular text block.
|
||||
Block_TEXT Block_BlockType = 1
|
||||
// Table block.
|
||||
Block_TABLE Block_BlockType = 2
|
||||
// Image block.
|
||||
Block_PICTURE Block_BlockType = 3
|
||||
// Horizontal/vertical line box.
|
||||
Block_RULER Block_BlockType = 4
|
||||
// Barcode block.
|
||||
Block_BARCODE Block_BlockType = 5
|
||||
)
|
||||
|
||||
var Block_BlockType_name = map[int32]string{
|
||||
0: "UNKNOWN",
|
||||
1: "TEXT",
|
||||
2: "TABLE",
|
||||
3: "PICTURE",
|
||||
4: "RULER",
|
||||
5: "BARCODE",
|
||||
}
|
||||
var Block_BlockType_value = map[string]int32{
|
||||
"UNKNOWN": 0,
|
||||
"TEXT": 1,
|
||||
"TABLE": 2,
|
||||
"PICTURE": 3,
|
||||
"RULER": 4,
|
||||
"BARCODE": 5,
|
||||
}
|
||||
|
||||
func (x Block_BlockType) String() string {
|
||||
return proto.EnumName(Block_BlockType_name, int32(x))
|
||||
}
|
||||
func (Block_BlockType) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{2, 0} }
|
||||
|
||||
// TextAnnotation contains a structured representation of OCR extracted text.
|
||||
// The hierarchy of an OCR extracted text structure is like this:
|
||||
// TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol
|
||||
// Each structural component, starting from Page, may further have their own
|
||||
// properties. Properties describe detected languages, breaks etc.. Please refer
|
||||
// to the [TextAnnotation.TextProperty][google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty] message definition below for more
|
||||
// detail.
|
||||
type TextAnnotation struct {
|
||||
// List of pages detected by OCR.
|
||||
Pages []*Page `protobuf:"bytes,1,rep,name=pages" json:"pages,omitempty"`
|
||||
// UTF-8 text detected on the pages.
|
||||
Text string `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"`
|
||||
}
|
||||
|
||||
func (m *TextAnnotation) Reset() { *m = TextAnnotation{} }
|
||||
func (m *TextAnnotation) String() string { return proto.CompactTextString(m) }
|
||||
func (*TextAnnotation) ProtoMessage() {}
|
||||
func (*TextAnnotation) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
|
||||
|
||||
func (m *TextAnnotation) GetPages() []*Page {
|
||||
if m != nil {
|
||||
return m.Pages
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TextAnnotation) GetText() string {
|
||||
if m != nil {
|
||||
return m.Text
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Detected language for a structural component.
|
||||
type TextAnnotation_DetectedLanguage struct {
|
||||
// The BCP-47 language code, such as "en-US" or "sr-Latn". For more
|
||||
// information, see
|
||||
// http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
|
||||
LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode" json:"language_code,omitempty"`
|
||||
// Confidence of detected language. Range [0, 1].
|
||||
Confidence float32 `protobuf:"fixed32,2,opt,name=confidence" json:"confidence,omitempty"`
|
||||
}
|
||||
|
||||
func (m *TextAnnotation_DetectedLanguage) Reset() { *m = TextAnnotation_DetectedLanguage{} }
|
||||
func (m *TextAnnotation_DetectedLanguage) String() string { return proto.CompactTextString(m) }
|
||||
func (*TextAnnotation_DetectedLanguage) ProtoMessage() {}
|
||||
func (*TextAnnotation_DetectedLanguage) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor2, []int{0, 0}
|
||||
}
|
||||
|
||||
func (m *TextAnnotation_DetectedLanguage) GetLanguageCode() string {
|
||||
if m != nil {
|
||||
return m.LanguageCode
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *TextAnnotation_DetectedLanguage) GetConfidence() float32 {
|
||||
if m != nil {
|
||||
return m.Confidence
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// Detected start or end of a structural component.
|
||||
type TextAnnotation_DetectedBreak struct {
|
||||
// Detected break type.
|
||||
Type TextAnnotation_DetectedBreak_BreakType `protobuf:"varint,1,opt,name=type,enum=google.cloud.vision.v1p2beta1.TextAnnotation_DetectedBreak_BreakType" json:"type,omitempty"`
|
||||
// True if break prepends the element.
|
||||
IsPrefix bool `protobuf:"varint,2,opt,name=is_prefix,json=isPrefix" json:"is_prefix,omitempty"`
|
||||
}
|
||||
|
||||
func (m *TextAnnotation_DetectedBreak) Reset() { *m = TextAnnotation_DetectedBreak{} }
|
||||
func (m *TextAnnotation_DetectedBreak) String() string { return proto.CompactTextString(m) }
|
||||
func (*TextAnnotation_DetectedBreak) ProtoMessage() {}
|
||||
func (*TextAnnotation_DetectedBreak) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0, 1} }
|
||||
|
||||
func (m *TextAnnotation_DetectedBreak) GetType() TextAnnotation_DetectedBreak_BreakType {
|
||||
if m != nil {
|
||||
return m.Type
|
||||
}
|
||||
return TextAnnotation_DetectedBreak_UNKNOWN
|
||||
}
|
||||
|
||||
func (m *TextAnnotation_DetectedBreak) GetIsPrefix() bool {
|
||||
if m != nil {
|
||||
return m.IsPrefix
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// Additional information detected on the structural component.
|
||||
type TextAnnotation_TextProperty struct {
|
||||
// A list of detected languages together with confidence.
|
||||
DetectedLanguages []*TextAnnotation_DetectedLanguage `protobuf:"bytes,1,rep,name=detected_languages,json=detectedLanguages" json:"detected_languages,omitempty"`
|
||||
// Detected start or end of a text segment.
|
||||
DetectedBreak *TextAnnotation_DetectedBreak `protobuf:"bytes,2,opt,name=detected_break,json=detectedBreak" json:"detected_break,omitempty"`
|
||||
}
|
||||
|
||||
func (m *TextAnnotation_TextProperty) Reset() { *m = TextAnnotation_TextProperty{} }
|
||||
func (m *TextAnnotation_TextProperty) String() string { return proto.CompactTextString(m) }
|
||||
func (*TextAnnotation_TextProperty) ProtoMessage() {}
|
||||
func (*TextAnnotation_TextProperty) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0, 2} }
|
||||
|
||||
func (m *TextAnnotation_TextProperty) GetDetectedLanguages() []*TextAnnotation_DetectedLanguage {
|
||||
if m != nil {
|
||||
return m.DetectedLanguages
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TextAnnotation_TextProperty) GetDetectedBreak() *TextAnnotation_DetectedBreak {
|
||||
if m != nil {
|
||||
return m.DetectedBreak
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Detected page from OCR.
|
||||
type Page struct {
|
||||
// Additional information detected on the page.
|
||||
Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property" json:"property,omitempty"`
|
||||
// Page width. For PDFs the unit is points. For images (including
|
||||
// TIFFs) the unit is pixels.
|
||||
Width int32 `protobuf:"varint,2,opt,name=width" json:"width,omitempty"`
|
||||
// Page height. For PDFs the unit is points. For images (including
|
||||
// TIFFs) the unit is pixels.
|
||||
Height int32 `protobuf:"varint,3,opt,name=height" json:"height,omitempty"`
|
||||
// List of blocks of text, images etc on this page.
|
||||
Blocks []*Block `protobuf:"bytes,4,rep,name=blocks" json:"blocks,omitempty"`
|
||||
// Confidence of the OCR results on the page. Range [0, 1].
|
||||
Confidence float32 `protobuf:"fixed32,5,opt,name=confidence" json:"confidence,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Page) Reset() { *m = Page{} }
|
||||
func (m *Page) String() string { return proto.CompactTextString(m) }
|
||||
func (*Page) ProtoMessage() {}
|
||||
func (*Page) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
|
||||
|
||||
func (m *Page) GetProperty() *TextAnnotation_TextProperty {
|
||||
if m != nil {
|
||||
return m.Property
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Page) GetWidth() int32 {
|
||||
if m != nil {
|
||||
return m.Width
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Page) GetHeight() int32 {
|
||||
if m != nil {
|
||||
return m.Height
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Page) GetBlocks() []*Block {
|
||||
if m != nil {
|
||||
return m.Blocks
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Page) GetConfidence() float32 {
|
||||
if m != nil {
|
||||
return m.Confidence
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// Logical element on the page.
|
||||
type Block struct {
|
||||
// Additional information detected for the block.
|
||||
Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property" json:"property,omitempty"`
|
||||
// The bounding box for the block.
|
||||
// The vertices are in the order of top-left, top-right, bottom-right,
|
||||
// bottom-left. When a rotation of the bounding box is detected the rotation
|
||||
// is represented as around the top-left corner as defined when the text is
|
||||
// read in the 'natural' orientation.
|
||||
// For example:
|
||||
//
|
||||
// * when the text is horizontal it might look like:
|
||||
//
|
||||
// 0----1
|
||||
// | |
|
||||
// 3----2
|
||||
//
|
||||
// * when it's rotated 180 degrees around the top-left corner it becomes:
|
||||
//
|
||||
// 2----3
|
||||
// | |
|
||||
// 1----0
|
||||
//
|
||||
// and the vertice order will still be (0, 1, 2, 3).
|
||||
BoundingBox *BoundingPoly `protobuf:"bytes,2,opt,name=bounding_box,json=boundingBox" json:"bounding_box,omitempty"`
|
||||
// List of paragraphs in this block (if this blocks is of type text).
|
||||
Paragraphs []*Paragraph `protobuf:"bytes,3,rep,name=paragraphs" json:"paragraphs,omitempty"`
|
||||
// Detected block type (text, image etc) for this block.
|
||||
BlockType Block_BlockType `protobuf:"varint,4,opt,name=block_type,json=blockType,enum=google.cloud.vision.v1p2beta1.Block_BlockType" json:"block_type,omitempty"`
|
||||
// Confidence of the OCR results on the block. Range [0, 1].
|
||||
Confidence float32 `protobuf:"fixed32,5,opt,name=confidence" json:"confidence,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Block) Reset() { *m = Block{} }
|
||||
func (m *Block) String() string { return proto.CompactTextString(m) }
|
||||
func (*Block) ProtoMessage() {}
|
||||
func (*Block) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{2} }
|
||||
|
||||
func (m *Block) GetProperty() *TextAnnotation_TextProperty {
|
||||
if m != nil {
|
||||
return m.Property
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Block) GetBoundingBox() *BoundingPoly {
|
||||
if m != nil {
|
||||
return m.BoundingBox
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Block) GetParagraphs() []*Paragraph {
|
||||
if m != nil {
|
||||
return m.Paragraphs
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Block) GetBlockType() Block_BlockType {
|
||||
if m != nil {
|
||||
return m.BlockType
|
||||
}
|
||||
return Block_UNKNOWN
|
||||
}
|
||||
|
||||
func (m *Block) GetConfidence() float32 {
|
||||
if m != nil {
|
||||
return m.Confidence
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// Structural unit of text representing a number of words in certain order.
|
||||
type Paragraph struct {
|
||||
// Additional information detected for the paragraph.
|
||||
Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property" json:"property,omitempty"`
|
||||
// The bounding box for the paragraph.
|
||||
// The vertices are in the order of top-left, top-right, bottom-right,
|
||||
// bottom-left. When a rotation of the bounding box is detected the rotation
|
||||
// is represented as around the top-left corner as defined when the text is
|
||||
// read in the 'natural' orientation.
|
||||
// For example:
|
||||
// * when the text is horizontal it might look like:
|
||||
// 0----1
|
||||
// | |
|
||||
// 3----2
|
||||
// * when it's rotated 180 degrees around the top-left corner it becomes:
|
||||
// 2----3
|
||||
// | |
|
||||
// 1----0
|
||||
// and the vertice order will still be (0, 1, 2, 3).
|
||||
BoundingBox *BoundingPoly `protobuf:"bytes,2,opt,name=bounding_box,json=boundingBox" json:"bounding_box,omitempty"`
|
||||
// List of words in this paragraph.
|
||||
Words []*Word `protobuf:"bytes,3,rep,name=words" json:"words,omitempty"`
|
||||
// Confidence of the OCR results for the paragraph. Range [0, 1].
|
||||
Confidence float32 `protobuf:"fixed32,4,opt,name=confidence" json:"confidence,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Paragraph) Reset() { *m = Paragraph{} }
|
||||
func (m *Paragraph) String() string { return proto.CompactTextString(m) }
|
||||
func (*Paragraph) ProtoMessage() {}
|
||||
func (*Paragraph) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{3} }
|
||||
|
||||
func (m *Paragraph) GetProperty() *TextAnnotation_TextProperty {
|
||||
if m != nil {
|
||||
return m.Property
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Paragraph) GetBoundingBox() *BoundingPoly {
|
||||
if m != nil {
|
||||
return m.BoundingBox
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Paragraph) GetWords() []*Word {
|
||||
if m != nil {
|
||||
return m.Words
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Paragraph) GetConfidence() float32 {
|
||||
if m != nil {
|
||||
return m.Confidence
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// A word representation.
|
||||
type Word struct {
|
||||
// Additional information detected for the word.
|
||||
Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property" json:"property,omitempty"`
|
||||
// The bounding box for the word.
|
||||
// The vertices are in the order of top-left, top-right, bottom-right,
|
||||
// bottom-left. When a rotation of the bounding box is detected the rotation
|
||||
// is represented as around the top-left corner as defined when the text is
|
||||
// read in the 'natural' orientation.
|
||||
// For example:
|
||||
// * when the text is horizontal it might look like:
|
||||
// 0----1
|
||||
// | |
|
||||
// 3----2
|
||||
// * when it's rotated 180 degrees around the top-left corner it becomes:
|
||||
// 2----3
|
||||
// | |
|
||||
// 1----0
|
||||
// and the vertice order will still be (0, 1, 2, 3).
|
||||
BoundingBox *BoundingPoly `protobuf:"bytes,2,opt,name=bounding_box,json=boundingBox" json:"bounding_box,omitempty"`
|
||||
// List of symbols in the word.
|
||||
// The order of the symbols follows the natural reading order.
|
||||
Symbols []*Symbol `protobuf:"bytes,3,rep,name=symbols" json:"symbols,omitempty"`
|
||||
// Confidence of the OCR results for the word. Range [0, 1].
|
||||
Confidence float32 `protobuf:"fixed32,4,opt,name=confidence" json:"confidence,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Word) Reset() { *m = Word{} }
|
||||
func (m *Word) String() string { return proto.CompactTextString(m) }
|
||||
func (*Word) ProtoMessage() {}
|
||||
func (*Word) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{4} }
|
||||
|
||||
func (m *Word) GetProperty() *TextAnnotation_TextProperty {
|
||||
if m != nil {
|
||||
return m.Property
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Word) GetBoundingBox() *BoundingPoly {
|
||||
if m != nil {
|
||||
return m.BoundingBox
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Word) GetSymbols() []*Symbol {
|
||||
if m != nil {
|
||||
return m.Symbols
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Word) GetConfidence() float32 {
|
||||
if m != nil {
|
||||
return m.Confidence
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// A single symbol representation.
|
||||
type Symbol struct {
|
||||
// Additional information detected for the symbol.
|
||||
Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property" json:"property,omitempty"`
|
||||
// The bounding box for the symbol.
|
||||
// The vertices are in the order of top-left, top-right, bottom-right,
|
||||
// bottom-left. When a rotation of the bounding box is detected the rotation
|
||||
// is represented as around the top-left corner as defined when the text is
|
||||
// read in the 'natural' orientation.
|
||||
// For example:
|
||||
// * when the text is horizontal it might look like:
|
||||
// 0----1
|
||||
// | |
|
||||
// 3----2
|
||||
// * when it's rotated 180 degrees around the top-left corner it becomes:
|
||||
// 2----3
|
||||
// | |
|
||||
// 1----0
|
||||
// and the vertice order will still be (0, 1, 2, 3).
|
||||
BoundingBox *BoundingPoly `protobuf:"bytes,2,opt,name=bounding_box,json=boundingBox" json:"bounding_box,omitempty"`
|
||||
// The actual UTF-8 representation of the symbol.
|
||||
Text string `protobuf:"bytes,3,opt,name=text" json:"text,omitempty"`
|
||||
// Confidence of the OCR results for the symbol. Range [0, 1].
|
||||
Confidence float32 `protobuf:"fixed32,4,opt,name=confidence" json:"confidence,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Symbol) Reset() { *m = Symbol{} }
|
||||
func (m *Symbol) String() string { return proto.CompactTextString(m) }
|
||||
func (*Symbol) ProtoMessage() {}
|
||||
func (*Symbol) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{5} }
|
||||
|
||||
func (m *Symbol) GetProperty() *TextAnnotation_TextProperty {
|
||||
if m != nil {
|
||||
return m.Property
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Symbol) GetBoundingBox() *BoundingPoly {
|
||||
if m != nil {
|
||||
return m.BoundingBox
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Symbol) GetText() string {
|
||||
if m != nil {
|
||||
return m.Text
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Symbol) GetConfidence() float32 {
|
||||
if m != nil {
|
||||
return m.Confidence
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*TextAnnotation)(nil), "google.cloud.vision.v1p2beta1.TextAnnotation")
|
||||
proto.RegisterType((*TextAnnotation_DetectedLanguage)(nil), "google.cloud.vision.v1p2beta1.TextAnnotation.DetectedLanguage")
|
||||
proto.RegisterType((*TextAnnotation_DetectedBreak)(nil), "google.cloud.vision.v1p2beta1.TextAnnotation.DetectedBreak")
|
||||
proto.RegisterType((*TextAnnotation_TextProperty)(nil), "google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty")
|
||||
proto.RegisterType((*Page)(nil), "google.cloud.vision.v1p2beta1.Page")
|
||||
proto.RegisterType((*Block)(nil), "google.cloud.vision.v1p2beta1.Block")
|
||||
proto.RegisterType((*Paragraph)(nil), "google.cloud.vision.v1p2beta1.Paragraph")
|
||||
proto.RegisterType((*Word)(nil), "google.cloud.vision.v1p2beta1.Word")
|
||||
proto.RegisterType((*Symbol)(nil), "google.cloud.vision.v1p2beta1.Symbol")
|
||||
proto.RegisterEnum("google.cloud.vision.v1p2beta1.TextAnnotation_DetectedBreak_BreakType", TextAnnotation_DetectedBreak_BreakType_name, TextAnnotation_DetectedBreak_BreakType_value)
|
||||
proto.RegisterEnum("google.cloud.vision.v1p2beta1.Block_BlockType", Block_BlockType_name, Block_BlockType_value)
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/vision/v1p2beta1/text_annotation.proto", fileDescriptor2)
|
||||
}
|
||||
|
||||
var fileDescriptor2 = []byte{
|
||||
// 774 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x56, 0x4f, 0x6f, 0xd3, 0x48,
|
||||
0x14, 0x5f, 0x27, 0x76, 0x1a, 0xbf, 0xb4, 0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
0x09, 0x69, 0xf1, 0xf3, 0x43, 0xe3, 0x5e, 0x76, 0x52, 0x94, 0x43, 0xe3, 0x3b, 0x4c, 0xa6, 0x81,
|
||||
0xd3, 0x74, 0x88, 0xc7, 0x1e, 0x27, 0xcd, 0xe4, 0x2f, 0xc3, 0x77, 0xc3, 0x6f, 0xbc, 0x66, 0x76,
|
||||
0x13, 0xc7, 0x67, 0x8e, 0x33, 0x4b, 0x0c, 0xb2, 0xfd, 0x25, 0x00, 0x00, 0xff, 0xff, 0xce, 0x91,
|
||||
0x71, 0x97, 0x71, 0x09, 0x00, 0x00,
|
||||
}
|
278
vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/web_detection.pb.go
generated
vendored
Normal file
278
vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/web_detection.pb.go
generated
vendored
Normal file
@ -0,0 +1,278 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/cloud/vision/v1p2beta1/web_detection.proto
|
||||
|
||||
package vision
|
||||
|
||||
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
|
||||
|
||||
// Relevant information for the image from the Internet.
|
||||
type WebDetection struct {
|
||||
// Deduced entities from similar images on the Internet.
|
||||
WebEntities []*WebDetection_WebEntity `protobuf:"bytes,1,rep,name=web_entities,json=webEntities" json:"web_entities,omitempty"`
|
||||
// Fully matching images from the Internet.
|
||||
// Can include resized copies of the query image.
|
||||
FullMatchingImages []*WebDetection_WebImage `protobuf:"bytes,2,rep,name=full_matching_images,json=fullMatchingImages" json:"full_matching_images,omitempty"`
|
||||
// Partial matching images from the Internet.
|
||||
// Those images are similar enough to share some key-point features. For
|
||||
// example an original image will likely have partial matching for its crops.
|
||||
PartialMatchingImages []*WebDetection_WebImage `protobuf:"bytes,3,rep,name=partial_matching_images,json=partialMatchingImages" json:"partial_matching_images,omitempty"`
|
||||
// Web pages containing the matching images from the Internet.
|
||||
PagesWithMatchingImages []*WebDetection_WebPage `protobuf:"bytes,4,rep,name=pages_with_matching_images,json=pagesWithMatchingImages" json:"pages_with_matching_images,omitempty"`
|
||||
// The visually similar image results.
|
||||
VisuallySimilarImages []*WebDetection_WebImage `protobuf:"bytes,6,rep,name=visually_similar_images,json=visuallySimilarImages" json:"visually_similar_images,omitempty"`
|
||||
// The service's best guess as to the topic of the request image.
|
||||
// Inferred from similar images on the open web.
|
||||
BestGuessLabels []*WebDetection_WebLabel `protobuf:"bytes,8,rep,name=best_guess_labels,json=bestGuessLabels" json:"best_guess_labels,omitempty"`
|
||||
}
|
||||
|
||||
func (m *WebDetection) Reset() { *m = WebDetection{} }
|
||||
func (m *WebDetection) String() string { return proto.CompactTextString(m) }
|
||||
func (*WebDetection) ProtoMessage() {}
|
||||
func (*WebDetection) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0} }
|
||||
|
||||
func (m *WebDetection) GetWebEntities() []*WebDetection_WebEntity {
|
||||
if m != nil {
|
||||
return m.WebEntities
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *WebDetection) GetFullMatchingImages() []*WebDetection_WebImage {
|
||||
if m != nil {
|
||||
return m.FullMatchingImages
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *WebDetection) GetPartialMatchingImages() []*WebDetection_WebImage {
|
||||
if m != nil {
|
||||
return m.PartialMatchingImages
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *WebDetection) GetPagesWithMatchingImages() []*WebDetection_WebPage {
|
||||
if m != nil {
|
||||
return m.PagesWithMatchingImages
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *WebDetection) GetVisuallySimilarImages() []*WebDetection_WebImage {
|
||||
if m != nil {
|
||||
return m.VisuallySimilarImages
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *WebDetection) GetBestGuessLabels() []*WebDetection_WebLabel {
|
||||
if m != nil {
|
||||
return m.BestGuessLabels
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Entity deduced from similar images on the Internet.
|
||||
type WebDetection_WebEntity struct {
|
||||
// Opaque entity ID.
|
||||
EntityId string `protobuf:"bytes,1,opt,name=entity_id,json=entityId" json:"entity_id,omitempty"`
|
||||
// Overall relevancy score for the entity.
|
||||
// Not normalized and not comparable across different image queries.
|
||||
Score float32 `protobuf:"fixed32,2,opt,name=score" json:"score,omitempty"`
|
||||
// Canonical description of the entity, in English.
|
||||
Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
|
||||
}
|
||||
|
||||
func (m *WebDetection_WebEntity) Reset() { *m = WebDetection_WebEntity{} }
|
||||
func (m *WebDetection_WebEntity) String() string { return proto.CompactTextString(m) }
|
||||
func (*WebDetection_WebEntity) ProtoMessage() {}
|
||||
func (*WebDetection_WebEntity) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0, 0} }
|
||||
|
||||
func (m *WebDetection_WebEntity) GetEntityId() string {
|
||||
if m != nil {
|
||||
return m.EntityId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *WebDetection_WebEntity) GetScore() float32 {
|
||||
if m != nil {
|
||||
return m.Score
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *WebDetection_WebEntity) GetDescription() string {
|
||||
if m != nil {
|
||||
return m.Description
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Metadata for online images.
|
||||
type WebDetection_WebImage struct {
|
||||
// The result image URL.
|
||||
Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
|
||||
// (Deprecated) Overall relevancy score for the image.
|
||||
Score float32 `protobuf:"fixed32,2,opt,name=score" json:"score,omitempty"`
|
||||
}
|
||||
|
||||
func (m *WebDetection_WebImage) Reset() { *m = WebDetection_WebImage{} }
|
||||
func (m *WebDetection_WebImage) String() string { return proto.CompactTextString(m) }
|
||||
func (*WebDetection_WebImage) ProtoMessage() {}
|
||||
func (*WebDetection_WebImage) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0, 1} }
|
||||
|
||||
func (m *WebDetection_WebImage) GetUrl() string {
|
||||
if m != nil {
|
||||
return m.Url
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *WebDetection_WebImage) GetScore() float32 {
|
||||
if m != nil {
|
||||
return m.Score
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// Metadata for web pages.
|
||||
type WebDetection_WebPage struct {
|
||||
// The result web page URL.
|
||||
Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
|
||||
// (Deprecated) Overall relevancy score for the web page.
|
||||
Score float32 `protobuf:"fixed32,2,opt,name=score" json:"score,omitempty"`
|
||||
// Title for the web page, may contain HTML markups.
|
||||
PageTitle string `protobuf:"bytes,3,opt,name=page_title,json=pageTitle" json:"page_title,omitempty"`
|
||||
// Fully matching images on the page.
|
||||
// Can include resized copies of the query image.
|
||||
FullMatchingImages []*WebDetection_WebImage `protobuf:"bytes,4,rep,name=full_matching_images,json=fullMatchingImages" json:"full_matching_images,omitempty"`
|
||||
// Partial matching images on the page.
|
||||
// Those images are similar enough to share some key-point features. For
|
||||
// example an original image will likely have partial matching for its
|
||||
// crops.
|
||||
PartialMatchingImages []*WebDetection_WebImage `protobuf:"bytes,5,rep,name=partial_matching_images,json=partialMatchingImages" json:"partial_matching_images,omitempty"`
|
||||
}
|
||||
|
||||
func (m *WebDetection_WebPage) Reset() { *m = WebDetection_WebPage{} }
|
||||
func (m *WebDetection_WebPage) String() string { return proto.CompactTextString(m) }
|
||||
func (*WebDetection_WebPage) ProtoMessage() {}
|
||||
func (*WebDetection_WebPage) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0, 2} }
|
||||
|
||||
func (m *WebDetection_WebPage) GetUrl() string {
|
||||
if m != nil {
|
||||
return m.Url
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *WebDetection_WebPage) GetScore() float32 {
|
||||
if m != nil {
|
||||
return m.Score
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *WebDetection_WebPage) GetPageTitle() string {
|
||||
if m != nil {
|
||||
return m.PageTitle
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *WebDetection_WebPage) GetFullMatchingImages() []*WebDetection_WebImage {
|
||||
if m != nil {
|
||||
return m.FullMatchingImages
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *WebDetection_WebPage) GetPartialMatchingImages() []*WebDetection_WebImage {
|
||||
if m != nil {
|
||||
return m.PartialMatchingImages
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Label to provide extra metadata for the web detection.
|
||||
type WebDetection_WebLabel struct {
|
||||
// Label for extra metadata.
|
||||
Label string `protobuf:"bytes,1,opt,name=label" json:"label,omitempty"`
|
||||
// The BCP-47 language code for `label`, such as "en-US" or "sr-Latn".
|
||||
// For more information, see
|
||||
// http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
|
||||
LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode" json:"language_code,omitempty"`
|
||||
}
|
||||
|
||||
func (m *WebDetection_WebLabel) Reset() { *m = WebDetection_WebLabel{} }
|
||||
func (m *WebDetection_WebLabel) String() string { return proto.CompactTextString(m) }
|
||||
func (*WebDetection_WebLabel) ProtoMessage() {}
|
||||
func (*WebDetection_WebLabel) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0, 3} }
|
||||
|
||||
func (m *WebDetection_WebLabel) GetLabel() string {
|
||||
if m != nil {
|
||||
return m.Label
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *WebDetection_WebLabel) GetLanguageCode() string {
|
||||
if m != nil {
|
||||
return m.LanguageCode
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*WebDetection)(nil), "google.cloud.vision.v1p2beta1.WebDetection")
|
||||
proto.RegisterType((*WebDetection_WebEntity)(nil), "google.cloud.vision.v1p2beta1.WebDetection.WebEntity")
|
||||
proto.RegisterType((*WebDetection_WebImage)(nil), "google.cloud.vision.v1p2beta1.WebDetection.WebImage")
|
||||
proto.RegisterType((*WebDetection_WebPage)(nil), "google.cloud.vision.v1p2beta1.WebDetection.WebPage")
|
||||
proto.RegisterType((*WebDetection_WebLabel)(nil), "google.cloud.vision.v1p2beta1.WebDetection.WebLabel")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/cloud/vision/v1p2beta1/web_detection.proto", fileDescriptor3) }
|
||||
|
||||
var fileDescriptor3 = []byte{
|
||||
// 511 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x94, 0x4f, 0x6f, 0xd3, 0x30,
|
||||
0x18, 0xc6, 0x95, 0x76, 0x1b, 0x8d, 0x5b, 0x04, 0xb3, 0x86, 0x16, 0x05, 0x26, 0x15, 0xb8, 0xf4,
|
||||
0x94, 0xa8, 0x1d, 0x9c, 0xb8, 0x6d, 0x4c, 0x68, 0x12, 0x48, 0x55, 0x40, 0x1a, 0xe2, 0x92, 0x39,
|
||||
0x89, 0x97, 0xbe, 0x92, 0x1b, 0x47, 0xb1, 0xd3, 0xaa, 0x37, 0x4e, 0x7c, 0x14, 0x3e, 0x23, 0x47,
|
||||
0xf4, 0xda, 0xee, 0x54, 0x51, 0x36, 0x31, 0x86, 0xb8, 0xf9, 0x7d, 0xac, 0xe7, 0xf9, 0xd9, 0xaf,
|
||||
0xff, 0x90, 0x71, 0x29, 0x65, 0x29, 0x78, 0x9c, 0x0b, 0xd9, 0x16, 0xf1, 0x02, 0x14, 0xc8, 0x2a,
|
||||
0x5e, 0x8c, 0xeb, 0x49, 0xc6, 0x35, 0x1b, 0xc7, 0x4b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0x39, 0xbf, 0x7d, 0x65, 0x27, 0xfb, 0x9b, 0x4b, 0x9b, 0xe2, 0x0f, 0x36,
|
||||
0xf5, 0xbe, 0x9c, 0x3a, 0x4f, 0x29, 0x31, 0x31, 0x92, 0x4d, 0x19, 0x97, 0xbc, 0x32, 0xff, 0x5b,
|
||||
0x6c, 0xa7, 0x58, 0x0d, 0xea, 0x86, 0x2f, 0xf5, 0x8d, 0x15, 0x7e, 0x78, 0x5e, 0xb6, 0x67, 0x2c,
|
||||
0xc7, 0x3f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x66, 0x62, 0xaa, 0xcd, 0x84, 0x05, 0x00, 0x00,
|
||||
}
|
Reference in New Issue
Block a user