Bumping k8s dependencies to 1.13
This commit is contained in:
1133
vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/job_service.pb.go
generated
vendored
1133
vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/job_service.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
717
vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/model_service.pb.go
generated
vendored
717
vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/model_service.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
81
vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/operation_metadata.pb.go
generated
vendored
81
vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/operation_metadata.pb.go
generated
vendored
@@ -3,17 +3,25 @@
|
||||
|
||||
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"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
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
|
||||
|
||||
// The operation type.
|
||||
type OperationMetadata_OperationType int32
|
||||
|
||||
@@ -34,6 +42,7 @@ var OperationMetadata_OperationType_name = map[int32]string{
|
||||
2: "DELETE_VERSION",
|
||||
3: "DELETE_MODEL",
|
||||
}
|
||||
|
||||
var OperationMetadata_OperationType_value = map[string]int32{
|
||||
"OPERATION_TYPE_UNSPECIFIED": 0,
|
||||
"CREATE_VERSION": 1,
|
||||
@@ -44,48 +53,72 @@ var OperationMetadata_OperationType_value = map[string]int32{
|
||||
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}
|
||||
return fileDescriptor_6a63a989e77eed3e, []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"`
|
||||
CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" 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"`
|
||||
StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" 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"`
|
||||
EndTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" 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"`
|
||||
IsCancellationRequested bool `protobuf:"varint,4,opt,name=is_cancellation_requested,json=isCancellationRequested,proto3" json:"is_cancellation_requested,omitempty"`
|
||||
// The operation type.
|
||||
OperationType OperationMetadata_OperationType `protobuf:"varint,5,opt,name=operation_type,json=operationType,enum=google.cloud.ml.v1.OperationMetadata_OperationType" json:"operation_type,omitempty"`
|
||||
OperationType OperationMetadata_OperationType `protobuf:"varint,5,opt,name=operation_type,json=operationType,proto3,enum=google.cloud.ml.v1.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"`
|
||||
ModelName string `protobuf:"bytes,6,opt,name=model_name,json=modelName,proto3" json:"model_name,omitempty"`
|
||||
// Contains the version associated with the operation.
|
||||
Version *Version `protobuf:"bytes,7,opt,name=version" json:"version,omitempty"`
|
||||
Version *Version `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
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) Reset() { *m = OperationMetadata{} }
|
||||
func (m *OperationMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*OperationMetadata) ProtoMessage() {}
|
||||
func (*OperationMetadata) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_6a63a989e77eed3e, []int{0}
|
||||
}
|
||||
|
||||
func (m *OperationMetadata) GetCreateTime() *google_protobuf2.Timestamp {
|
||||
func (m *OperationMetadata) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_OperationMetadata.Unmarshal(m, b)
|
||||
}
|
||||
func (m *OperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_OperationMetadata.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *OperationMetadata) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_OperationMetadata.Merge(m, src)
|
||||
}
|
||||
func (m *OperationMetadata) XXX_Size() int {
|
||||
return xxx_messageInfo_OperationMetadata.Size(m)
|
||||
}
|
||||
func (m *OperationMetadata) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_OperationMetadata.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_OperationMetadata proto.InternalMessageInfo
|
||||
|
||||
func (m *OperationMetadata) GetCreateTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.CreateTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *OperationMetadata) GetStartTime() *google_protobuf2.Timestamp {
|
||||
func (m *OperationMetadata) GetStartTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.StartTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *OperationMetadata) GetEndTime() *google_protobuf2.Timestamp {
|
||||
func (m *OperationMetadata) GetEndTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.EndTime
|
||||
}
|
||||
@@ -121,13 +154,15 @@ func (m *OperationMetadata) GetVersion() *Version {
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*OperationMetadata)(nil), "google.cloud.ml.v1.OperationMetadata")
|
||||
proto.RegisterEnum("google.cloud.ml.v1.OperationMetadata_OperationType", OperationMetadata_OperationType_name, OperationMetadata_OperationType_value)
|
||||
proto.RegisterType((*OperationMetadata)(nil), "google.cloud.ml.v1.OperationMetadata")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/cloud/ml/v1/operation_metadata.proto", fileDescriptor2) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/ml/v1/operation_metadata.proto", fileDescriptor_6a63a989e77eed3e)
|
||||
}
|
||||
|
||||
var fileDescriptor2 = []byte{
|
||||
var fileDescriptor_6a63a989e77eed3e = []byte{
|
||||
// 454 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, 0x1a, 0x75, 0x0d, 0x99, 0x1e, 0xb6, 0xcc, 0xfb, 0x17, 0xfa, 0x30,
|
||||
|
||||
128
vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/prediction_service.pb.go
generated
vendored
128
vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/prediction_service.pb.go
generated
vendored
@@ -3,15 +3,14 @@
|
||||
|
||||
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"
|
||||
context "context"
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
httpbody "google.golang.org/genproto/googleapis/api/httpbody"
|
||||
grpc "google.golang.org/grpc"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
@@ -19,6 +18,12 @@ 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
|
||||
|
||||
// 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
|
||||
@@ -209,16 +214,39 @@ 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"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" 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"`
|
||||
HttpBody *httpbody.HttpBody `protobuf:"bytes,2,opt,name=http_body,json=httpBody,proto3" json:"http_body,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
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) Reset() { *m = PredictRequest{} }
|
||||
func (m *PredictRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*PredictRequest) ProtoMessage() {}
|
||||
func (*PredictRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ca7339bffd66a462, []int{0}
|
||||
}
|
||||
|
||||
func (m *PredictRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_PredictRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *PredictRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_PredictRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *PredictRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_PredictRequest.Merge(m, src)
|
||||
}
|
||||
func (m *PredictRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_PredictRequest.Size(m)
|
||||
}
|
||||
func (m *PredictRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_PredictRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_PredictRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *PredictRequest) GetName() string {
|
||||
if m != nil {
|
||||
@@ -227,7 +255,7 @@ func (m *PredictRequest) GetName() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *PredictRequest) GetHttpBody() *google_api3.HttpBody {
|
||||
func (m *PredictRequest) GetHttpBody() *httpbody.HttpBody {
|
||||
if m != nil {
|
||||
return m.HttpBody
|
||||
}
|
||||
@@ -238,6 +266,34 @@ func init() {
|
||||
proto.RegisterType((*PredictRequest)(nil), "google.cloud.ml.v1.PredictRequest")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/ml/v1/prediction_service.proto", fileDescriptor_ca7339bffd66a462)
|
||||
}
|
||||
|
||||
var fileDescriptor_ca7339bffd66a462 = []byte{
|
||||
// 308 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x51, 0x4f, 0x4b, 0xfb, 0x30,
|
||||
0x18, 0xa6, 0xe3, 0xc7, 0x4f, 0x17, 0xc1, 0x43, 0x10, 0x9d, 0x45, 0x64, 0xd4, 0xcb, 0x9c, 0x90,
|
||||
0xd0, 0xe9, 0x69, 0xe2, 0x65, 0x27, 0x6f, 0x96, 0x79, 0x10, 0xbc, 0x8c, 0xac, 0x0d, 0x59, 0x24,
|
||||
0xcd, 0x1b, 0xdb, 0xac, 0x30, 0xc4, 0x8b, 0x37, 0xcf, 0x7e, 0x34, 0xbf, 0x82, 0x1f, 0x44, 0xd2,
|
||||
0x04, 0x99, 0xd4, 0xdb, 0x4b, 0xde, 0xe7, 0x79, 0x9f, 0x3f, 0x41, 0x17, 0x02, 0x40, 0x28, 0x4e,
|
||||
0x73, 0x05, 0xeb, 0x82, 0x96, 0x8a, 0x36, 0x29, 0x35, 0x15, 0x2f, 0x64, 0x6e, 0x25, 0xe8, 0x45,
|
||||
0xcd, 0xab, 0x46, 0xe6, 0x9c, 0x98, 0x0a, 0x2c, 0x60, 0xec, 0xc1, 0xa4, 0x05, 0x93, 0x52, 0x91,
|
||||
0x26, 0x8d, 0x4f, 0xc2, 0x01, 0x66, 0x24, 0x65, 0x5a, 0x83, 0x65, 0x8e, 0x58, 0x7b, 0x46, 0x7c,
|
||||
0xbc, 0xb5, 0x5d, 0x59, 0x6b, 0x96, 0x50, 0x6c, 0xfc, 0x2a, 0x79, 0x40, 0xfb, 0x99, 0x17, 0x9a,
|
||||
0xf3, 0xe7, 0x35, 0xaf, 0x2d, 0xc6, 0xe8, 0x9f, 0x66, 0x25, 0x1f, 0x44, 0xc3, 0x68, 0xd4, 0x9f,
|
||||
0xb7, 0x33, 0x4e, 0x51, 0xdf, 0xf1, 0x16, 0x8e, 0x38, 0xe8, 0x0d, 0xa3, 0xd1, 0xde, 0xe4, 0x80,
|
||||
0x04, 0x1b, 0xcc, 0x48, 0x72, 0x6b, 0xad, 0x99, 0x41, 0xb1, 0x99, 0xef, 0xae, 0xc2, 0x34, 0x79,
|
||||
0x8f, 0xd0, 0xd1, 0x9d, 0x56, 0x52, 0xf3, 0xec, 0x27, 0xc8, 0xbd, 0xcf, 0x81, 0x35, 0xda, 0x09,
|
||||
0x8f, 0x38, 0x21, 0xdd, 0x34, 0xe4, 0xb7, 0xa3, 0xf8, 0x4f, 0xa9, 0xe4, 0xfc, 0xed, 0xf3, 0xeb,
|
||||
0xa3, 0x77, 0x96, 0x9c, 0xba, 0xb2, 0x5e, 0x9c, 0xcd, 0x1b, 0x53, 0xc1, 0x13, 0xcf, 0x6d, 0x4d,
|
||||
0xc7, 0xe3, 0xd7, 0x69, 0xe8, 0x6f, 0x1a, 0x8d, 0x67, 0x0a, 0xc5, 0x39, 0x94, 0x1d, 0x25, 0x77,
|
||||
0xae, 0x49, 0x67, 0x87, 0x1d, 0x83, 0x99, 0xab, 0x26, 0x8b, 0x1e, 0xaf, 0x02, 0x43, 0x80, 0x62,
|
||||
0x5a, 0x10, 0xa8, 0x04, 0x15, 0x5c, 0xb7, 0xc5, 0x51, 0xbf, 0x62, 0x46, 0xd6, 0xdb, 0xbf, 0x76,
|
||||
0x5d, 0xaa, 0xe5, 0xff, 0x16, 0x70, 0xf9, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x81, 0x8e, 0x25, 0xca,
|
||||
0xd5, 0x01, 0x00, 0x00,
|
||||
}
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ context.Context
|
||||
var _ grpc.ClientConn
|
||||
@@ -246,13 +302,14 @@ var _ grpc.ClientConn
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// Client API for OnlinePredictionService service
|
||||
|
||||
// OnlinePredictionServiceClient is the client API for OnlinePredictionService service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||
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)
|
||||
Predict(ctx context.Context, in *PredictRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error)
|
||||
}
|
||||
|
||||
type onlinePredictionServiceClient struct {
|
||||
@@ -263,22 +320,21 @@ func NewOnlinePredictionServiceClient(cc *grpc.ClientConn) OnlinePredictionServi
|
||||
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.v1.OnlinePredictionService/Predict", in, out, c.cc, opts...)
|
||||
func (c *onlinePredictionServiceClient) Predict(ctx context.Context, in *PredictRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error) {
|
||||
out := new(httpbody.HttpBody)
|
||||
err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.OnlinePredictionService/Predict", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for OnlinePredictionService service
|
||||
|
||||
// OnlinePredictionServiceServer is the 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)
|
||||
Predict(context.Context, *PredictRequest) (*httpbody.HttpBody, error)
|
||||
}
|
||||
|
||||
func RegisterOnlinePredictionServiceServer(s *grpc.Server, srv OnlinePredictionServiceServer) {
|
||||
@@ -315,29 +371,3 @@ var _OnlinePredictionService_serviceDesc = grpc.ServiceDesc{
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/cloud/ml/v1/prediction_service.proto",
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/cloud/ml/v1/prediction_service.proto", fileDescriptor3) }
|
||||
|
||||
var fileDescriptor3 = []byte{
|
||||
// 308 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x51, 0x4f, 0x4b, 0xfb, 0x30,
|
||||
0x18, 0xa6, 0xe3, 0xc7, 0x4f, 0x17, 0xc1, 0x43, 0x10, 0x9d, 0x45, 0x64, 0xd4, 0xcb, 0x9c, 0x90,
|
||||
0xd0, 0xe9, 0x69, 0xe2, 0x65, 0x27, 0x6f, 0x96, 0x79, 0x10, 0xbc, 0x8c, 0xac, 0x0d, 0x59, 0x24,
|
||||
0xcd, 0x1b, 0xdb, 0xac, 0x30, 0xc4, 0x8b, 0x37, 0xcf, 0x7e, 0x34, 0xbf, 0x82, 0x1f, 0x44, 0xd2,
|
||||
0x04, 0x99, 0xd4, 0xdb, 0x4b, 0xde, 0xe7, 0x79, 0x9f, 0x3f, 0x41, 0x17, 0x02, 0x40, 0x28, 0x4e,
|
||||
0x73, 0x05, 0xeb, 0x82, 0x96, 0x8a, 0x36, 0x29, 0x35, 0x15, 0x2f, 0x64, 0x6e, 0x25, 0xe8, 0x45,
|
||||
0xcd, 0xab, 0x46, 0xe6, 0x9c, 0x98, 0x0a, 0x2c, 0x60, 0xec, 0xc1, 0xa4, 0x05, 0x93, 0x52, 0x91,
|
||||
0x26, 0x8d, 0x4f, 0xc2, 0x01, 0x66, 0x24, 0x65, 0x5a, 0x83, 0x65, 0x8e, 0x58, 0x7b, 0x46, 0x7c,
|
||||
0xbc, 0xb5, 0x5d, 0x59, 0x6b, 0x96, 0x50, 0x6c, 0xfc, 0x2a, 0x79, 0x40, 0xfb, 0x99, 0x17, 0x9a,
|
||||
0xf3, 0xe7, 0x35, 0xaf, 0x2d, 0xc6, 0xe8, 0x9f, 0x66, 0x25, 0x1f, 0x44, 0xc3, 0x68, 0xd4, 0x9f,
|
||||
0xb7, 0x33, 0x4e, 0x51, 0xdf, 0xf1, 0x16, 0x8e, 0x38, 0xe8, 0x0d, 0xa3, 0xd1, 0xde, 0xe4, 0x80,
|
||||
0x04, 0x1b, 0xcc, 0x48, 0x72, 0x6b, 0xad, 0x99, 0x41, 0xb1, 0x99, 0xef, 0xae, 0xc2, 0x34, 0x79,
|
||||
0x8f, 0xd0, 0xd1, 0x9d, 0x56, 0x52, 0xf3, 0xec, 0x27, 0xc8, 0xbd, 0xcf, 0x81, 0x35, 0xda, 0x09,
|
||||
0x8f, 0x38, 0x21, 0xdd, 0x34, 0xe4, 0xb7, 0xa3, 0xf8, 0x4f, 0xa9, 0xe4, 0xfc, 0xed, 0xf3, 0xeb,
|
||||
0xa3, 0x77, 0x96, 0x9c, 0xba, 0xb2, 0x5e, 0x9c, 0xcd, 0x1b, 0x53, 0xc1, 0x13, 0xcf, 0x6d, 0x4d,
|
||||
0xc7, 0xe3, 0xd7, 0x69, 0xe8, 0x6f, 0x1a, 0x8d, 0x67, 0x0a, 0xc5, 0x39, 0x94, 0x1d, 0x25, 0x77,
|
||||
0xae, 0x49, 0x67, 0x87, 0x1d, 0x83, 0x99, 0xab, 0x26, 0x8b, 0x1e, 0xaf, 0x02, 0x43, 0x80, 0x62,
|
||||
0x5a, 0x10, 0xa8, 0x04, 0x15, 0x5c, 0xb7, 0xc5, 0x51, 0xbf, 0x62, 0x46, 0xd6, 0xdb, 0xbf, 0x76,
|
||||
0x5d, 0xaa, 0xe5, 0xff, 0x16, 0x70, 0xf9, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x81, 0x8e, 0x25, 0xca,
|
||||
0xd5, 0x01, 0x00, 0x00,
|
||||
}
|
||||
|
||||
149
vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/project_service.pb.go
generated
vendored
149
vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/project_service.pb.go
generated
vendored
@@ -3,14 +3,13 @@
|
||||
|
||||
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"
|
||||
context "context"
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
grpc "google.golang.org/grpc"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
@@ -18,18 +17,47 @@ 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
|
||||
|
||||
// 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"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
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) Reset() { *m = GetConfigRequest{} }
|
||||
func (m *GetConfigRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetConfigRequest) ProtoMessage() {}
|
||||
func (*GetConfigRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_9d9ea4142d12cde4, []int{0}
|
||||
}
|
||||
|
||||
func (m *GetConfigRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GetConfigRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *GetConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_GetConfigRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *GetConfigRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_GetConfigRequest.Merge(m, src)
|
||||
}
|
||||
func (m *GetConfigRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_GetConfigRequest.Size(m)
|
||||
}
|
||||
func (m *GetConfigRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_GetConfigRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_GetConfigRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *GetConfigRequest) GetName() string {
|
||||
if m != nil {
|
||||
@@ -41,15 +69,38 @@ func (m *GetConfigRequest) GetName() string {
|
||||
// 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"`
|
||||
ServiceAccount string `protobuf:"bytes,1,opt,name=service_account,json=serviceAccount,proto3" 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"`
|
||||
ServiceAccountProject int64 `protobuf:"varint,2,opt,name=service_account_project,json=serviceAccountProject,proto3" json:"service_account_project,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
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) Reset() { *m = GetConfigResponse{} }
|
||||
func (m *GetConfigResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetConfigResponse) ProtoMessage() {}
|
||||
func (*GetConfigResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_9d9ea4142d12cde4, []int{1}
|
||||
}
|
||||
|
||||
func (m *GetConfigResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GetConfigResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *GetConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_GetConfigResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *GetConfigResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_GetConfigResponse.Merge(m, src)
|
||||
}
|
||||
func (m *GetConfigResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_GetConfigResponse.Size(m)
|
||||
}
|
||||
func (m *GetConfigResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_GetConfigResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_GetConfigResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *GetConfigResponse) GetServiceAccount() string {
|
||||
if m != nil {
|
||||
@@ -70,6 +121,34 @@ func init() {
|
||||
proto.RegisterType((*GetConfigResponse)(nil), "google.cloud.ml.v1.GetConfigResponse")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/cloud/ml/v1/project_service.proto", fileDescriptor_9d9ea4142d12cde4)
|
||||
}
|
||||
|
||||
var fileDescriptor_9d9ea4142d12cde4 = []byte{
|
||||
// 319 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xbf, 0x4a, 0x43, 0x31,
|
||||
0x14, 0xc6, 0xb9, 0x55, 0x84, 0x66, 0xf0, 0x4f, 0x44, 0x2c, 0x45, 0xb0, 0x16, 0xb5, 0xc5, 0x21,
|
||||
0xa1, 0x2a, 0x0e, 0x8a, 0x83, 0x75, 0x70, 0x12, 0x4a, 0xdd, 0x5c, 0x4a, 0xbc, 0x1e, 0x43, 0x24,
|
||||
0xc9, 0x89, 0x37, 0xe9, 0x5d, 0xc4, 0x41, 0x5f, 0xc1, 0xdd, 0x97, 0xf2, 0x15, 0x7c, 0x10, 0xe9,
|
||||
0x4d, 0x94, 0xda, 0x0e, 0x6e, 0x87, 0x73, 0x7e, 0x5f, 0xf2, 0x7d, 0xe7, 0x90, 0xae, 0x44, 0x94,
|
||||
0x1a, 0x78, 0xae, 0x71, 0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4, 0x99, 0xa3, 0x99, 0x7b, 0x54, 0x38, 0xc5, 0xca, 0x5e, 0x7f, 0x3d, 0x79, 0x4f,
|
||||
0x8e, 0x07, 0x93, 0x8d, 0x0f, 0xb2, 0xdb, 0xe3, 0x84, 0x4b, 0xd4, 0xc2, 0x4a, 0x86, 0x85, 0xe4,
|
||||
0x12, 0x6c, 0x75, 0x0f, 0x1e, 0x47, 0xc2, 0x29, 0x3f, 0x7d, 0xee, 0x33, 0xa3, 0xef, 0x96, 0x2a,
|
||||
0xe0, 0xe8, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xd0, 0xa5, 0x43, 0x33, 0x0e, 0x02, 0x00, 0x00,
|
||||
}
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ context.Context
|
||||
var _ grpc.ClientConn
|
||||
@@ -78,8 +157,9 @@ var _ grpc.ClientConn
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// Client API for ProjectManagementService service
|
||||
|
||||
// ProjectManagementServiceClient is the client API for ProjectManagementService service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||
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
|
||||
@@ -98,15 +178,14 @@ func NewProjectManagementServiceClient(cc *grpc.ClientConn) ProjectManagementSer
|
||||
|
||||
func (c *projectManagementServiceClient) GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*GetConfigResponse, error) {
|
||||
out := new(GetConfigResponse)
|
||||
err := grpc.Invoke(ctx, "/google.cloud.ml.v1.ProjectManagementService/GetConfig", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ProjectManagementService/GetConfig", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for ProjectManagementService service
|
||||
|
||||
// ProjectManagementServiceServer is the 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
|
||||
@@ -149,29 +228,3 @@ var _ProjectManagementService_serviceDesc = grpc.ServiceDesc{
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/cloud/ml/v1/project_service.proto",
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/cloud/ml/v1/project_service.proto", fileDescriptor4) }
|
||||
|
||||
var fileDescriptor4 = []byte{
|
||||
// 319 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xbf, 0x4a, 0x43, 0x31,
|
||||
0x14, 0xc6, 0xb9, 0x55, 0x84, 0x66, 0xf0, 0x4f, 0x44, 0x2c, 0x45, 0xb0, 0x16, 0xb5, 0xc5, 0x21,
|
||||
0xa1, 0x2a, 0x0e, 0x8a, 0x83, 0x75, 0x70, 0x12, 0x4a, 0xdd, 0x5c, 0x4a, 0xbc, 0x1e, 0x43, 0x24,
|
||||
0xc9, 0x89, 0x37, 0xe9, 0x5d, 0xc4, 0x41, 0x5f, 0xc1, 0xdd, 0x97, 0xf2, 0x15, 0x7c, 0x10, 0xe9,
|
||||
0x4d, 0x94, 0xda, 0x0e, 0x6e, 0x87, 0x73, 0x7e, 0x5f, 0xf2, 0x7d, 0xe7, 0x90, 0xae, 0x44, 0x94,
|
||||
0x1a, 0x78, 0xae, 0x71, 0x7c, 0xcf, 0x8d, 0xe6, 0x65, 0x8f, 0xbb, 0x02, 0x1f, 0x21, 0x0f, 0x23,
|
||||
0x0f, 0x45, 0xa9, 0x72, 0x60, 0xae, 0xc0, 0x80, 0x94, 0x46, 0x92, 0x55, 0x24, 0x33, 0x9a, 0x95,
|
||||
0xbd, 0xe6, 0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||
0x12, 0x6c, 0x75, 0x0f, 0x1e, 0x47, 0xc2, 0x29, 0x3f, 0x7d, 0xee, 0x33, 0xa3, 0xef, 0x96, 0x2a,
|
||||
0xe0, 0xe8, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xd0, 0xa5, 0x43, 0x33, 0x0e, 0x02, 0x00, 0x00,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user