diff --git a/protogen/api/account/v1/message.pb.go b/protogen/api/account/v1/message.pb.go index 99708b65..ae8989b1 100644 --- a/protogen/api/account/v1/message.pb.go +++ b/protogen/api/account/v1/message.pb.go @@ -559,6 +559,50 @@ func (m *Account) GetCloudProvidersAvailable() []v11.RegionID_CloudProvider { return nil } +type ProjectConfig struct { + // The ID of the Default Project. + DefaultProjectId string `protobuf:"bytes,1,opt,name=default_project_id,json=defaultProjectId,proto3" json:"default_project_id,omitempty"` +} + +func (m *ProjectConfig) Reset() { *m = ProjectConfig{} } +func (*ProjectConfig) ProtoMessage() {} +func (*ProjectConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_603c66a56913ad55, []int{7} +} +func (m *ProjectConfig) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ProjectConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ProjectConfig.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ProjectConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProjectConfig.Merge(m, src) +} +func (m *ProjectConfig) XXX_Size() int { + return m.Size() +} +func (m *ProjectConfig) XXX_DiscardUnknown() { + xxx_messageInfo_ProjectConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_ProjectConfig proto.InternalMessageInfo + +func (m *ProjectConfig) GetDefaultProjectId() string { + if m != nil { + return m.DefaultProjectId + } + return "" +} + type GCPSinkSettings struct { ExportInternalServiceAccountEmails []string `protobuf:"bytes,1,rep,name=export_internal_service_account_emails,json=exportInternalServiceAccountEmails,proto3" json:"export_internal_service_account_emails,omitempty"` AuditlogInternalServiceAccountEmails []string `protobuf:"bytes,2,rep,name=auditlog_internal_service_account_emails,json=auditlogInternalServiceAccountEmails,proto3" json:"auditlog_internal_service_account_emails,omitempty"` @@ -567,7 +611,7 @@ type GCPSinkSettings struct { func (m *GCPSinkSettings) Reset() { *m = GCPSinkSettings{} } func (*GCPSinkSettings) ProtoMessage() {} func (*GCPSinkSettings) Descriptor() ([]byte, []int) { - return fileDescriptor_603c66a56913ad55, []int{7} + return fileDescriptor_603c66a56913ad55, []int{8} } func (m *GCPSinkSettings) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -624,84 +668,87 @@ func init() { proto.RegisterMapType((map[string]*v1.SinkSpec)(nil), "api.account.v1.AccountSpec.OutputSinksEntry") proto.RegisterType((*Account)(nil), "api.account.v1.Account") proto.RegisterMapType((map[string]*v1.Sink)(nil), "api.account.v1.Account.OutputSinksEntry") + proto.RegisterType((*ProjectConfig)(nil), "api.account.v1.ProjectConfig") proto.RegisterType((*GCPSinkSettings)(nil), "api.account.v1.GCPSinkSettings") } func init() { proto.RegisterFile("api/account/v1/message.proto", fileDescriptor_603c66a56913ad55) } var fileDescriptor_603c66a56913ad55 = []byte{ - // 1130 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcd, 0x72, 0x1b, 0x45, - 0x17, 0xd5, 0xe8, 0xc7, 0x92, 0xae, 0x6c, 0x69, 0xdc, 0x71, 0x3e, 0x2b, 0x72, 0x32, 0x71, 0xa9, - 0x3e, 0x82, 0x08, 0xa9, 0x11, 0x71, 0x48, 0x15, 0x84, 0x62, 0xa1, 0x48, 0x93, 0xa0, 0x24, 0xb6, - 0xc5, 0xc8, 0x76, 0x41, 0x16, 0x4c, 0xb5, 0x67, 0x3a, 0xaa, 0xae, 0x48, 0x33, 0xc3, 0x4c, 0x8f, - 0x12, 0xef, 0x78, 0x04, 0x36, 0xbc, 0x03, 0x2f, 0xc1, 0x9e, 0xa5, 0x97, 0x59, 0x62, 0x79, 0x01, - 0xcb, 0xc0, 0x13, 0x50, 0xdd, 0xd3, 0x83, 0x7e, 0xfc, 0xc7, 0x82, 0xdd, 0xf4, 0xbd, 0xe7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aa, 0xb0, 0x36, 0x17, - 0x4d, 0x28, 0x00, 0x5d, 0x83, 0xca, 0x5c, 0xc6, 0xe8, 0xa8, 0xa5, 0xbb, 0x9f, 0xc0, 0x52, 0x8f, - 0x04, 0xd4, 0x73, 0xd0, 0xff, 0x00, 0xf5, 0x0c, 0xb3, 0xbb, 0xdb, 0x59, 0x18, 0x4c, 0x19, 0x40, - 0xc6, 0x3b, 0xad, 0x6f, 0x55, 0xe5, 0xf1, 0x37, 0xc7, 0x27, 0x5a, 0xea, 0xdd, 0x89, 0x96, 0x7a, - 0x7f, 0xa2, 0x29, 0x3f, 0x4c, 0x34, 0xe5, 0xe7, 0x89, 0xa6, 0xfc, 0x3a, 0xd1, 0x94, 0xe3, 0x89, - 0xa6, 0xfc, 0x36, 0xd1, 0x94, 0x3f, 0x26, 0x5a, 0xea, 0xfd, 0x44, 0x53, 0x7e, 0x3c, 0xd5, 0x52, - 0xc7, 0xa7, 0x5a, 0xea, 0xdd, 0xa9, 0x96, 0x7a, 0x59, 0x67, 0x23, 0x3f, 0x18, 0xea, 0xc2, 0xbd, - 0xcd, 0xf9, 0x3f, 0x70, 0x5f, 0xc8, 0xcf, 0xc3, 0x25, 0xf1, 0x80, 0x3c, 0xf8, 0x3b, 0x00, 0x00, - 0xff, 0xff, 0xee, 0x3d, 0x97, 0xe6, 0xe1, 0x09, 0x00, 0x00, + // 1166 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x4d, 0x77, 0xdb, 0x44, + 0x17, 0xb6, 0xfc, 0x11, 0xdb, 0xd7, 0xb1, 0xad, 0x4c, 0xd3, 0x37, 0xae, 0xd3, 0xaa, 0x39, 0x3e, + 0x2f, 0xc5, 0x94, 0x1e, 0x99, 0xa6, 0xf4, 0x1c, 0x28, 0xa7, 0x0b, 0xd7, 0x56, 0x8b, 0xfb, 0x91, + 0x18, 0x39, 0xe9, 0x81, 0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f, 0x47, 0x6b, 0xe2, 0xfd, 0xb9, 0xf1, + 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x9c, 0x82, 0x8d, 0x6d, 0x20, 0x0a, 0x00, 0x00, } func (x State) String() string { @@ -962,6 +1009,30 @@ func (this *Account) Equal(that interface{}) bool { } return true } +func (this *ProjectConfig) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*ProjectConfig) + if !ok { + that2, ok := that.(ProjectConfig) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.DefaultProjectId != that1.DefaultProjectId { + return false + } + return true +} func (this *GCPSinkSettings) Equal(that interface{}) bool { if that == nil { return this == nil @@ -1152,6 +1223,16 @@ func (this *Account) GoString() string { s = append(s, "}") return strings.Join(s, "") } +func (this *ProjectConfig) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&account.ProjectConfig{") + s = append(s, "DefaultProjectId: "+fmt.Sprintf("%#v", this.DefaultProjectId)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} func (this *GCPSinkSettings) GoString() string { if this == nil { return "nil" @@ -1632,6 +1713,36 @@ func (m *Account) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *ProjectConfig) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ProjectConfig) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ProjectConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.DefaultProjectId) > 0 { + i -= len(m.DefaultProjectId) + copy(dAtA[i:], m.DefaultProjectId) + i = encodeVarintMessage(dAtA, i, uint64(len(m.DefaultProjectId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *GCPSinkSettings) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -1879,6 +1990,19 @@ func (m *Account) Size() (n int) { return n } +func (m *ProjectConfig) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.DefaultProjectId) + if l > 0 { + n += 1 + l + sovMessage(uint64(l)) + } + return n +} + func (m *GCPSinkSettings) Size() (n int) { if m == nil { return 0 @@ -2033,6 +2157,16 @@ func (this *Account) String() string { }, "") return s } +func (this *ProjectConfig) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&ProjectConfig{`, + `DefaultProjectId:` + fmt.Sprintf("%v", this.DefaultProjectId) + `,`, + `}`, + }, "") + return s +} func (this *GCPSinkSettings) String() string { if this == nil { return "nil" @@ -3606,6 +3740,91 @@ func (m *Account) Unmarshal(dAtA []byte) error { } return nil } +func (m *ProjectConfig) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ProjectConfig: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ProjectConfig: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DefaultProjectId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DefaultProjectId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *GCPSinkSettings) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/protogen/api/accountservice/v1/service.pb.go b/protogen/api/accountservice/v1/service.pb.go index 57017b35..acc4f185 100644 --- a/protogen/api/accountservice/v1/service.pb.go +++ b/protogen/api/accountservice/v1/service.pb.go @@ -29,28 +29,32 @@ func init() { } var fileDescriptor_3e50bdfe3e07e117 = []byte{ - // 324 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0xb1, 0x4e, 0xc3, 0x30, - 0x10, 0x86, 0xed, 0x01, 0x06, 0x4b, 0x80, 0x88, 0xc4, 0xd2, 0xe1, 0x06, 0x58, 0x40, 0x14, 0xa7, - 0x85, 0x91, 0x09, 0x96, 0x6e, 0x0c, 0x45, 0x5d, 0x58, 0x90, 0x49, 0x8f, 0x2a, 0x52, 0x5b, 0x1b, - 0xdb, 0xad, 0x90, 0x58, 0x78, 0x04, 0x1e, 0x83, 0x9d, 0x97, 0x60, 0xec, 0xd8, 0x91, 0xba, 0x0b, - 0x63, 0x1f, 0x01, 0x09, 0x27, 0xa1, 0x81, 0x14, 0xcc, 0x66, 0xf9, 0xbe, 0xff, 0x3e, 0x9f, 0xa5, - 0x63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xd0, 0x67, 0x07, 0xf4, 0xd5, 0x01, 0x9d, 0x38, 0xa0, - 0x6f, 0x0e, 0xe8, 0xbb, 0x03, 0xb2, 0x70, 0x40, 0x9f, 0xe6, 0x40, 0x26, 0x73, 0x20, 0xd3, 0x39, - 0x90, 0xab, 0x86, 0x1d, 0x28, 0xdd, 0xe7, 0x49, 0x5f, 0x8e, 0xba, 0x71, 0xe5, 0x96, 0x9c, 0x96, - 0x6f, 0x6e, 0xd6, 0x3f, 0x97, 0xe4, 0xe4, 0x23, 0x00, 0x00, 0xff, 0xff, 0xa1, 0xcd, 0x29, 0x05, - 0x90, 0x03, 0x00, 0x00, + // 392 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0xbf, 0x4e, 0xc2, 0x40, + 0x1c, 0xc7, 0x7b, 0xd1, 0x10, 0x38, 0x83, 0xc4, 0x33, 0x26, 0xa6, 0x24, 0x37, 0xe8, 0xa2, 0x11, + 0x5a, 0xd0, 0x4d, 0x27, 0x5d, 0xd8, 0x1c, 0x30, 0x2c, 0x2e, 0xe6, 0x2c, 0x27, 0x36, 0xa1, 0xbd, + 0xb3, 0x77, 0xed, 0x40, 0x1c, 0x5c, 0x9c, 0x58, 0x1c, 0x78, 0x08, 0x9f, 0x83, 0xc9, 0x38, 0x31, + 0x32, 0x4a, 0x59, 0x1c, 0x79, 0x04, 0xa3, 0xd7, 0x2a, 0x0d, 0x45, 0xeb, 0xd6, 0x5c, 0x3e, 0xdf, + 0x7f, 0x4d, 0x7e, 0x70, 0x97, 0x70, 0xdb, 0x24, 0x96, 0xc5, 0x7c, 0x57, 0x0a, 0xea, 0x05, 0xb6, + 0x45, 0xcd, 0xa0, 0x6e, 0x46, 0x9f, 0x06, 0xf7, 0x98, 0x64, 0x68, 0x8b, 0x70, 0xdb, 0x48, 0x42, + 0x46, 0x50, 0xd7, 0x2b, 0xe9, 0x5a, 0x8f,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, 0xf4, 0xd2, + 0xeb, 0xa0, 0xbc, 0x06, 0x0b, 0x82, 0x10, 0x51, 0x25, 0xdc, 0x3e, 0x3e, 0xbb, 0x19, 0x4d, 0xb0, + 0x36, 0x9e, 0x60, 0x6d, 0x36, 0xc1, 0xe0, 0x21, 0xc4, 0xe0, 0x39, 0xc4, 0xe0, 0x25, 0xc4, 0x60, + 0x14, 0x62, 0xf0, 0x16, 0x62, 0xf0, 0x1e, 0x62, 0x6d, 0x16, 0x62, 0xf0, 0x34, 0xc5, 0xda, 0x68, + 0x8a, 0xb5, 0xf1, 0x14, 0x6b, 0x97, 0x35, 0xe9, 0x70, 0xaf, 0x6b, 0x58, 0x5d, 0xe6, 0xb7, 0xcd, + 0xd4, 0x63, 0x3d, 0x49, 0xbe, 0x5c, 0xe7, 0xbe, 0x8e, 0xef, 0xe8, 0x23, 0x00, 0x00, 0xff, 0xff, + 0xd6, 0x08, 0xa4, 0x22, 0x17, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/protogen/api/cloud/account/v1/message.pb.go b/protogen/api/cloud/account/v1/message.pb.go index 2e12669c..59de4f77 100644 --- a/protogen/api/cloud/account/v1/message.pb.go +++ b/protogen/api/cloud/account/v1/message.pb.go @@ -386,7 +386,6 @@ func (*AuditLogSinkSpec) XXX_OneofWrappers() []interface{} { } // AuditLogSink is only used by Audit Log -// temporal:dev type AuditLogSink struct { // Name of the sink e.g. "audit_log_01" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` diff --git a/protogen/api/cloud/auditlog/v1/message.pb.go b/protogen/api/cloud/auditlog/v1/message.pb.go index afeb5333..4dc6a068 100644 --- a/protogen/api/cloud/auditlog/v1/message.pb.go +++ b/protogen/api/cloud/auditlog/v1/message.pb.go @@ -87,34 +87,41 @@ func (LogLevel) EnumDescriptor() ([]byte, []int) { } // LogRecord represents an audit log entry from Temporal, structured for easy parsing and analysis. -// temporal:dev type LogRecord struct { // Time when the log was emitted from the source EmitTime *types.Timestamp `protobuf:"bytes,1,opt,name=emit_time,json=emitTime,proto3" json:"emit_time,omitempty"` // Deprecated, we should use status field to represent the request status, and level field seems not being used. + // temporal:dev Level LogLevel `protobuf:"varint,2,opt,name=level,proto3,enum=temporal.api.cloud.auditlog.v1.LogLevel" json:"level,omitempty"` // Deprecated: Do not use. // Deprecated, we've been using principal field to show the agent to do the request + // temporal:dev UserEmail string `protobuf:"bytes,3,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` // Deprecated: Do not use. // Changed to use x_forwarded_for to be more accurate name + // temporal:dev CallerIpAddress string `protobuf:"bytes,4,opt,name=caller_ip_address,json=callerIpAddress,proto3" json:"caller_ip_address,omitempty"` // Deprecated: Do not use. // Operation performed Operation string `protobuf:"bytes,5,opt,name=operation,proto3" json:"operation,omitempty"` // Deprecated, we will use the raw_details field to capture and expose the request details to the customer. // The raw_details field will be assigned the value of the 'gprc.raw_request' header. If it has raw cert data // we will use the fingerprint of it instead. + // temporal:dev Details *OperationDetail `protobuf:"bytes,6,opt,name=details,proto3" json:"details,omitempty"` // Deprecated: Do not use. // Operation status from API call Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"` // Deprecated, this was an old design, and it has not been used. + // temporal:dev Category LogCategory `protobuf:"varint,8,opt,name=category,proto3,enum=temporal.api.cloud.auditlog.v1.LogCategory" json:"category,omitempty"` // Deprecated: Do not use. // Specifies the version of the log entry to distinguish between different systems on the server side. Version int32 `protobuf:"varint,9,opt,name=version,proto3" json:"version,omitempty"` // Unique ID for the log record. LogId string `protobuf:"bytes,10,opt,name=log_id,json=logId,proto3" json:"log_id,omitempty"` // Request ID / Async Operation ID + // temporal:dev RequestId string `protobuf:"bytes,11,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // Deprecated: Do not use. // Principal struct Principal *Principal `protobuf:"bytes,12,opt,name=principal,proto3" json:"principal,omitempty"` + // Raw request details - comment out for now, will need to wait for gogo deprecation to add it back + RawDetails *types.Struct `protobuf:"bytes,13,opt,name=raw_details,json=rawDetails,proto3" json:"raw_details,omitempty"` // x_forwarded_for, capture the chain of ip address from the caller XForwardedFor string `protobuf:"bytes,14,opt,name=x_forwarded_for,json=xForwardedFor,proto3" json:"x_forwarded_for,omitempty"` // Request ID / Async Operation ID @@ -243,6 +250,13 @@ func (m *LogRecord) GetPrincipal() *Principal { return nil } +func (m *LogRecord) GetRawDetails() *types.Struct { + if m != nil { + return m.RawDetails + } + return nil +} + func (m *LogRecord) GetXForwardedFor() string { if m != nil { return m.XForwardedFor @@ -648,7 +662,6 @@ func (m *ThirdPartyLogDetail) GetRawMessage() string { return "" } -// temporal:dev type Principal struct { // Possible type values: user, serviceaccount. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` @@ -736,84 +749,85 @@ func init() { } var fileDescriptor_283286ea48ab34f8 = []byte{ - // 1217 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xcf, 0x6e, 0xdb, 0xc6, - 0x13, 0x16, 0x69, 0xcb, 0xb1, 0x46, 0xb6, 0x25, 0xaf, 0x63, 0x87, 0xbf, 0x20, 0x60, 0x1c, 0xe5, - 0x87, 0xc0, 0x49, 0x13, 0x0a, 0x76, 0x5a, 0xb4, 0x50, 0xd1, 0x02, 0xb2, 0x2d, 0x19, 0x42, 0xe4, - 0x3f, 0xa0, 0xe5, 0x14, 0x09, 0x8a, 0x12, 0x1b, 0x72, 0xcd, 0x2c, 0x42, 0x71, 0xd9, 0xe5, 0xd2, - 0x8e, 0x6e, 0x79, 0x80, 0x1e, 0xfa, 0x08, 0x3d, 0x16, 0x7d, 0x8d, 0x5e, 0x7a, 0xcc, 0x31, 0xc7, - 0x44, 0xb9, 0x14, 0x3d, 0xe5, 0x11, 0x8a, 0x5d, 0x92, 0x92, 0x65, 0xb8, 0xb5, 0xd1, 0xdb, 0xee, - 0x37, 0xdf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x1a, 0x8a, 0xd4, 0x68, 0xe4, 0xac, 0x46, 0xe3, 0xe9, 0xfa, 0x8b, 0x19, 0xf5, - 0x6b, 0xf6, 0xf8, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x81, 0x31, 0x42, 0x8e, 0x3b, 0x0a, 0x00, - 0x00, + // 1247 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xcd, 0x6e, 0xdb, 0x46, + 0x17, 0x15, 0x69, 0xcb, 0xb1, 0xae, 0x6c, 0x4b, 0x1e, 0xc7, 0x0e, 0x3f, 0xc3, 0x60, 0x1c, 0xe5, + 0x43, 0xe0, 0xa4, 0x09, 0x05, 0x3b, 0x2d, 0x1a, 0xa8, 0x68, 0x01, 0xd9, 0x96, 0x0c, 0x21, 0xf2, + 0x0f, 0x68, 0x39, 0x45, 0x82, 0xa2, 0xc4, 0x84, 0x1c, 0x33, 0x83, 0x50, 0x24, 0x3b, 0x1c, 0xda, + 0xd1, 0x2e, 0x0f, 0xd0, 0x45, 0x1f, 0xa3, 0xe8, 0x6b, 0x74, 0xd3, 0x65, 0x96, 0x41, 0x57, 0x89, + 0xbc, 0x29, 0xba, 0xca, 0x23, 0x14, 0x33, 0x24, 0x25, 0x4b, 0x75, 0x2b, 0xa3, 0xbb, 0x99, 0x73, + 0xcf, 0xb9, 0x97, 0x73, 0xe7, 0xcc, 0x0c, 0xe1, 0x21, 0x27, 0xdd, 0x30, 0x60, 0xd8, 0xab, 0xe2, + 0x90, 0x56, 0x6d, 0x2f, 0x88, 0x9d, 0x2a, 0x8e, 0x1d, 0xca, 0xbd, 0xc0, 0xad, 0x9e, 0x6d, 0x56, + 0xbb, 0x24, 0x8a, 0xb0, 0x4b, 0x8c, 0x90, 0x05, 0x3c, 0x40, 0x7a, 0xc6, 0x36, 0x70, 0x48, 0x0d, + 0xc9, 0x36, 0x32, 0xb6, 0x71, 0xb6, 0xb9, 0x7a, 0xdb, 0x0d, 0x02, 0xd7, 0x23, 0x55, 0xc9, 0x7e, + 0x19, 0x9f, 0x56, 0x39, 0xed, 0x92, 0x88, 0xe3, 0x6e, 0x98, 0x24, 0x58, 0x5d, 0x1b, 0x27, 0x44, + 0x9c, 0xc5, 0x36, 0x4f, 0xa2, 0x95, 0xdf, 0xf3, 0x50, 0x68, 0x07, 0xae, 0x49, 0xec, 0x80, 0x39, + 0xe8, 0x4b, 0x28, 0x90, 0x2e, 0xe5, 0x96, 0xc8, 0xa1, 0x29, 0xeb, 0xca, 0x46, 0x71, 0x6b, 0xd5, + 0x48, 0xf4, 0x46, 0xa6, 0x37, 0x3a, 0x59, 0x01, 0x73, 0x56, 0x90, 0xc5, 0x14, 0x6d, 0x43, 0xde, + 0x23, 0x67, 0xc4, 0xd3, 0xd4, 0x75, 0x65, 0x63, 0x61, 0x6b, 0xc3, 0xf8, 0xf7, 0xaf, 0x36, 0xda, + 0x81, 0xdb, 0x16, 0xfc, 0x6d, 0x55, 0x53, 0xcc, 0x44, 0x8a, 0xee, 0x00, 0xc4, 0x11, 0x61, 0x16, + 0xe9, 0x62, 0xea, 0x69, 0x53, 0xeb, 0xca, 0x46, 0x41, 0x86, 0x0b, 0x02, 0x6d, 0x08, 0x10, 0x19, + 0xb0, 0x68, 0x63, 0xcf, 0x23, 0xcc, 0xa2, 0xa1, 0x85, 0x1d, 0x87, 0x91, 0x28, 0xd2, 0xa6, 0x07, + 0xcc, 0x52, 0x12, 0x6c, 0x85, 0xf5, 0x24, 0x84, 0xd6, 0xa0, 0x10, 0x84, 0x84, 0x61, 0x4e, 0x03, + 0x5f, 0xcb, 0x0b, 0x9e, 0x39, 0x04, 0xd0, 0x3e, 0xdc, 0x70, 0x08, 0xc7, 0xd4, 0x8b, 0xb4, 0x19, + 0xb9, 0xd6, 0xea, 0xa4, 0xcf, 0x3e, 0xcc, 0xb4, 0xbb, 0x52, 0x27, 0x8b, 0x66, 0x39, 0xd0, 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x89, 0x42, 0x6c, 0x27, 0x16, 0x2f, 0x98, 0x43, 0x00, 0xdd, 0x81, 0x39, + 0x8e, 0x99, 0x4b, 0xb8, 0x25, 0x4c, 0x17, 0x69, 0xea, 0xfa, 0xd4, 0x46, 0xc1, 0x2c, 0x26, 0xd8, + 0x89, 0x80, 0xd0, 0x4d, 0xc8, 0xb3, 0xc0, 0x23, 0x91, 0x36, 0x25, 0x63, 0xc9, 0x04, 0x7d, 0x0e, + 0x2b, 0xb6, 0x47, 0x89, 0xcf, 0x2d, 0x1b, 0x5b, 0xa7, 0xd4, 0x77, 0x09, 0x13, 0x7d, 0xe1, 0xc2, + 0x9e, 0x82, 0x76, 0x33, 0x89, 0xee, 0xe0, 0xe6, 0xa5, 0x18, 0xea, 0xc2, 0xad, 0x88, 0x60, 0x66, + 0xbf, 0xb2, 0x30, 0xe7, 0x8c, 0xbe, 0x8c, 0x39, 0xb1, 0xe2, 0xd0, 0xc1, 0x9c, 0x48, 0xb7, 0x16, + 0xb7, 0xbe, 0x98, 0xb4, 0x0f, 0xc7, 0x52, 0x5e, 0xcf, 0xd4, 0x27, 0x52, 0x6c, 0x2e, 0x47, 0x57, + 0xc1, 0xe8, 0x11, 0x20, 0xec, 0x38, 0x54, 0x74, 0x03, 0x7b, 0x56, 0x7a, 0xcf, 0x48, 0xef, 0x17, + 0xcc, 0xc5, 0x61, 0x64, 0x3f, 0x09, 0x08, 0x43, 0x33, 0xe2, 0x0a, 0xab, 0xa5, 0x86, 0x4e, 0x66, + 0xe8, 0x3e, 0x94, 0xb1, 0x6d, 0x07, 0xb1, 0xcf, 0xad, 0x53, 0x82, 0x79, 0xcc, 0x48, 0xa4, 0xcd, + 0xca, 0x55, 0x96, 0x52, 0xbc, 0x99, 0xc2, 0xc8, 0x86, 0x25, 0xfe, 0x8a, 0x32, 0xc7, 0x0a, 0x31, + 0xe3, 0xbd, 0x81, 0x33, 0x0a, 0x72, 0x71, 0x8f, 0x27, 0x2d, 0xae, 0x23, 0xa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Category) String() string { @@ -885,6 +899,9 @@ func (this *LogRecord) Equal(that interface{}) bool { if !this.Principal.Equal(that1.Principal) { return false } + if !this.RawDetails.Equal(that1.RawDetails) { + return false + } if this.XForwardedFor != that1.XForwardedFor { return false } @@ -1141,7 +1158,7 @@ func (this *LogRecord) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 18) + s := make([]string, 0, 19) s = append(s, "&auditlog.LogRecord{") if this.EmitTime != nil { s = append(s, "EmitTime: "+fmt.Sprintf("%#v", this.EmitTime)+",\n") @@ -1161,6 +1178,9 @@ func (this *LogRecord) GoString() string { if this.Principal != nil { s = append(s, "Principal: "+fmt.Sprintf("%#v", this.Principal)+",\n") } + if this.RawDetails != nil { + s = append(s, "RawDetails: "+fmt.Sprintf("%#v", this.RawDetails)+",\n") + } s = append(s, "XForwardedFor: "+fmt.Sprintf("%#v", this.XForwardedFor)+",\n") s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") s = append(s, "}") @@ -1317,6 +1337,18 @@ func (m *LogRecord) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x72 } + if m.RawDetails != nil { + { + size, err := m.RawDetails.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMessage(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x6a + } if m.Principal != nil { { size, err := m.Principal.MarshalToSizedBuffer(dAtA[:i]) @@ -1856,6 +1888,10 @@ func (m *LogRecord) Size() (n int) { l = m.Principal.Size() n += 1 + l + sovMessage(uint64(l)) } + if m.RawDetails != nil { + l = m.RawDetails.Size() + n += 1 + l + sovMessage(uint64(l)) + } l = len(m.XForwardedFor) if l > 0 { n += 1 + l + sovMessage(uint64(l)) @@ -2066,6 +2102,7 @@ func (this *LogRecord) String() string { `LogId:` + fmt.Sprintf("%v", this.LogId) + `,`, `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, `Principal:` + strings.Replace(this.Principal.String(), "Principal", "Principal", 1) + `,`, + `RawDetails:` + strings.Replace(fmt.Sprintf("%v", this.RawDetails), "Struct", "types.Struct", 1) + `,`, `XForwardedFor:` + fmt.Sprintf("%v", this.XForwardedFor) + `,`, `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, `}`, @@ -2563,6 +2600,42 @@ func (m *LogRecord) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RawDetails", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.RawDetails == nil { + m.RawDetails = &types.Struct{} + } + if err := m.RawDetails.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex case 14: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field XForwardedFor", wireType) diff --git a/protogen/api/cloud/billing/v1/message.pb.go b/protogen/api/cloud/billing/v1/message.pb.go new file mode 100644 index 00000000..665bf321 --- /dev/null +++ b/protogen/api/cloud/billing/v1/message.pb.go @@ -0,0 +1,1662 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: temporal/api/cloud/billing/v1/message.proto + +package billing + +import ( + fmt "fmt" + proto "github.com/gogo/protobuf/proto" + types "github.com/gogo/protobuf/types" + io "io" + math "math" + math_bits "math/bits" + reflect "reflect" + strconv "strconv" + strings "strings" +) + +// 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.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +type BillingReport_State int32 + +const ( + BILLING_REPORT_STATE_UNSPECIFIED BillingReport_State = 0 + BILLING_REPORT_STATE_IN_PROGRESS BillingReport_State = 1 + BILLING_REPORT_STATE_GENERATED BillingReport_State = 2 + BILLING_REPORT_STATE_FAILED BillingReport_State = 3 +) + +var BillingReport_State_name = map[int32]string{ + 0: "BillingReportStateUnspecified", + 1: "BillingReportStateInProgress", + 2: "BillingReportStateGenerated", + 3: "BillingReportStateFailed", +} + +var BillingReport_State_value = map[string]int32{ + "BillingReportStateUnspecified": 0, + "BillingReportStateInProgress": 1, + "BillingReportStateGenerated": 2, + "BillingReportStateFailed": 3, +} + +func (BillingReport_State) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_bb517b8a2f3f0183, []int{1, 0} +} + +type BillingReport_Download_FileFormat int32 + +const ( + FILE_FORMAT_UNSPECIFIED BillingReport_Download_FileFormat = 0 + FILE_FORMAT_CSV BillingReport_Download_FileFormat = 1 +) + +var BillingReport_Download_FileFormat_name = map[int32]string{ + 0: "FileFormatUnspecified", + 1: "FileFormatCsv", +} + +var BillingReport_Download_FileFormat_value = map[string]int32{ + "FileFormatUnspecified": 0, + "FileFormatCsv": 1, +} + +func (BillingReport_Download_FileFormat) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_bb517b8a2f3f0183, []int{1, 0, 0} +} + +// temporal:dev +type BillingReportSpec struct { + // The start time of the billing report (in UTC). + StartTimeInclusive *types.Timestamp `protobuf:"bytes,1,opt,name=start_time_inclusive,json=startTimeInclusive,proto3" json:"start_time_inclusive,omitempty"` + // The end time of the billing report (in UTC). + EndTimeExclusive *types.Timestamp `protobuf:"bytes,2,opt,name=end_time_exclusive,json=endTimeExclusive,proto3" json:"end_time_exclusive,omitempty"` + // The duration after which the download url will expire. + // Optional, default is 5 minutes and maximum is 1 hour. + DownloadUrlExpirationDuration *types.Duration `protobuf:"bytes,3,opt,name=download_url_expiration_duration,json=downloadUrlExpirationDuration,proto3" json:"download_url_expiration_duration,omitempty"` + // The description for the billing report. + // Optional, default is empty. + Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` +} + +func (m *BillingReportSpec) Reset() { *m = BillingReportSpec{} } +func (*BillingReportSpec) ProtoMessage() {} +func (*BillingReportSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_bb517b8a2f3f0183, []int{0} +} +func (m *BillingReportSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *BillingReportSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_BillingReportSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *BillingReportSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_BillingReportSpec.Merge(m, src) +} +func (m *BillingReportSpec) XXX_Size() int { + return m.Size() +} +func (m *BillingReportSpec) XXX_DiscardUnknown() { + xxx_messageInfo_BillingReportSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_BillingReportSpec proto.InternalMessageInfo + +func (m *BillingReportSpec) GetStartTimeInclusive() *types.Timestamp { + if m != nil { + return m.StartTimeInclusive + } + return nil +} + +func (m *BillingReportSpec) GetEndTimeExclusive() *types.Timestamp { + if m != nil { + return m.EndTimeExclusive + } + return nil +} + +func (m *BillingReportSpec) GetDownloadUrlExpirationDuration() *types.Duration { + if m != nil { + return m.DownloadUrlExpirationDuration + } + return nil +} + +func (m *BillingReportSpec) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +// temporal:dev +type BillingReport struct { + // The id of the billing report. + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // The current state of the billing report. + State BillingReport_State `protobuf:"varint,2,opt,name=state,proto3,enum=temporal.api.cloud.billing.v1.BillingReport_State" json:"state,omitempty"` + // The spec used to generate this billing report. + Spec *BillingReportSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"` + // The download information for the billing report. + // For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.) + DownloadInfo []*BillingReport_Download `protobuf:"bytes,4,rep,name=download_info,json=downloadInfo,proto3" json:"download_info,omitempty"` + // The date and time when the billing report was requested. + RequestedTime *types.Timestamp `protobuf:"bytes,5,opt,name=requested_time,json=requestedTime,proto3" json:"requested_time,omitempty"` + // The date and time when the billing report generation completed. + GeneratedTime *types.Timestamp `protobuf:"bytes,6,opt,name=generated_time,json=generatedTime,proto3" json:"generated_time,omitempty"` + // The async operation id associated with the billing report generation. + AsyncOperationId string `protobuf:"bytes,7,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` +} + +func (m *BillingReport) Reset() { *m = BillingReport{} } +func (*BillingReport) ProtoMessage() {} +func (*BillingReport) Descriptor() ([]byte, []int) { + return fileDescriptor_bb517b8a2f3f0183, []int{1} +} +func (m *BillingReport) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *BillingReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_BillingReport.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *BillingReport) XXX_Merge(src proto.Message) { + xxx_messageInfo_BillingReport.Merge(m, src) +} +func (m *BillingReport) XXX_Size() int { + return m.Size() +} +func (m *BillingReport) XXX_DiscardUnknown() { + xxx_messageInfo_BillingReport.DiscardUnknown(m) +} + +var xxx_messageInfo_BillingReport proto.InternalMessageInfo + +func (m *BillingReport) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *BillingReport) GetState() BillingReport_State { + if m != nil { + return m.State + } + return BILLING_REPORT_STATE_UNSPECIFIED +} + +func (m *BillingReport) GetSpec() *BillingReportSpec { + if m != nil { + return m.Spec + } + return nil +} + +func (m *BillingReport) GetDownloadInfo() []*BillingReport_Download { + if m != nil { + return m.DownloadInfo + } + return nil +} + +func (m *BillingReport) GetRequestedTime() *types.Timestamp { + if m != nil { + return m.RequestedTime + } + return nil +} + +func (m *BillingReport) GetGeneratedTime() *types.Timestamp { + if m != nil { + return m.GeneratedTime + } + return nil +} + +func (m *BillingReport) GetAsyncOperationId() string { + if m != nil { + return m.AsyncOperationId + } + return "" +} + +// temporal:dev +type BillingReport_Download struct { + // The download url. + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + // The time when the download url will expire. + UrlExpirationTime *types.Timestamp `protobuf:"bytes,2,opt,name=url_expiration_time,json=urlExpirationTime,proto3" json:"url_expiration_time,omitempty"` + // The file format of the billing report + FileFormat BillingReport_Download_FileFormat `protobuf:"varint,3,opt,name=file_format,json=fileFormat,proto3,enum=temporal.api.cloud.billing.v1.BillingReport_Download_FileFormat" json:"file_format,omitempty"` + // The size of the file in bytes. Useful for pre-allocating space, progress indicators, etc. + FileSizeBytes int64 `protobuf:"varint,4,opt,name=file_size_bytes,json=fileSizeBytes,proto3" json:"file_size_bytes,omitempty"` +} + +func (m *BillingReport_Download) Reset() { *m = BillingReport_Download{} } +func (*BillingReport_Download) ProtoMessage() {} +func (*BillingReport_Download) Descriptor() ([]byte, []int) { + return fileDescriptor_bb517b8a2f3f0183, []int{1, 0} +} +func (m *BillingReport_Download) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *BillingReport_Download) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_BillingReport_Download.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *BillingReport_Download) XXX_Merge(src proto.Message) { + xxx_messageInfo_BillingReport_Download.Merge(m, src) +} +func (m *BillingReport_Download) XXX_Size() int { + return m.Size() +} +func (m *BillingReport_Download) XXX_DiscardUnknown() { + xxx_messageInfo_BillingReport_Download.DiscardUnknown(m) +} + +var xxx_messageInfo_BillingReport_Download proto.InternalMessageInfo + +func (m *BillingReport_Download) GetUrl() string { + if m != nil { + return m.Url + } + return "" +} + +func (m *BillingReport_Download) GetUrlExpirationTime() *types.Timestamp { + if m != nil { + return m.UrlExpirationTime + } + return nil +} + +func (m *BillingReport_Download) GetFileFormat() BillingReport_Download_FileFormat { + if m != nil { + return m.FileFormat + } + return FILE_FORMAT_UNSPECIFIED +} + +func (m *BillingReport_Download) GetFileSizeBytes() int64 { + if m != nil { + return m.FileSizeBytes + } + return 0 +} + +func init() { + proto.RegisterEnum("temporal.api.cloud.billing.v1.BillingReport_State", BillingReport_State_name, BillingReport_State_value) + proto.RegisterEnum("temporal.api.cloud.billing.v1.BillingReport_Download_FileFormat", BillingReport_Download_FileFormat_name, BillingReport_Download_FileFormat_value) + proto.RegisterType((*BillingReportSpec)(nil), "temporal.api.cloud.billing.v1.BillingReportSpec") + proto.RegisterType((*BillingReport)(nil), "temporal.api.cloud.billing.v1.BillingReport") + proto.RegisterType((*BillingReport_Download)(nil), "temporal.api.cloud.billing.v1.BillingReport.Download") +} + +func init() { + proto.RegisterFile("temporal/api/cloud/billing/v1/message.proto", fileDescriptor_bb517b8a2f3f0183) +} + +var fileDescriptor_bb517b8a2f3f0183 = []byte{ + // 770 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0x4f, 0x4f, 0xe3, 0x46, + 0x18, 0xc6, 0x63, 0x87, 0x3f, 0x65, 0x42, 0x82, 0x19, 0x2a, 0x35, 0x0d, 0xc2, 0x44, 0x69, 0x55, + 0x21, 0x51, 0x39, 0x4d, 0xaa, 0x5e, 0x5c, 0xa9, 0x6a, 0x42, 0x1c, 0x70, 0x15, 0x92, 0x68, 0x1c, + 0x38, 0x70, 0xb1, 0x9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7a, 0xca, 0x23, 0xc8, 0x97, 0x54, 0x6a, 0x5b, 0xef, 0xa2, 0xce, + 0x3e, 0x52, 0x34, 0x4d, 0xe0, 0x60, 0x09, 0x88, 0x4f, 0xaa, 0xf6, 0x95, 0xb6, 0x82, 0x6a, 0x3d, + 0xa5, 0x21, 0xf0, 0x70, 0x1b, 0x6c, 0x3e, 0xa9, 0x69, 0xd6, 0xd4, 0x96, 0xd2, 0x10, 0xd2, 0xf5, + 0x77, 0xdc, 0xd5, 0x8d, 0x98, 0xba, 0xbe, 0x11, 0x53, 0x77, 0x37, 0x22, 0xf7, 0xef, 0x44, 0xe4, + 0xfe, 0x9f, 0x88, 0xdc, 0xdb, 0x89, 0xc8, 0x5d, 0x4d, 0x44, 0xee, 0xfd, 0x44, 0xe4, 0x3e, 0x4c, + 0xc4, 0xd4, 0xdd, 0x44, 0xe4, 0x2e, 0x6f, 0xc5, 0xd4, 0xd5, 0xad, 0x98, 0xba, 0xbe, 0x15, 0x53, + 0xa0, 0x48, 0xe8, 0xf3, 0x49, 0xd4, 0x57, 0x0f, 0xa3, 0xe7, 0xb8, 0x1b, 0x86, 0xdd, 0xe5, 0x4e, + 0x76, 0x47, 0x33, 0x0e, 0x42, 0x9f, 0x7c, 0xc2, 0x7f, 0x8f, 0x97, 0xaf, 0xf8, 0xed, 0x5e, 0x2c, + 0x25, 0x54, 0xaa, 0x39, 0x44, 0xda, 0x63, 0xf8, 0x38, 0x5d, 0xe9, 0xb8, 0xf2, 0x91, 0xff, 0xe1, + 0x5e, 0x21, 0xcb, 0x35, 0x87, 0xc8, 0x32, 0xd3, 0xc8, 0x72, 0x2c, 0x92, 0xe5, 0xe3, 0x4a, 0x7f, + 0x89, 0x8d, 0xda, 0xaf, 0x9f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xbb, 0x7b, 0xcd, 0x8e, 0x3a, 0x06, + 0x00, 0x00, +} + +func (x BillingReport_State) String() string { + s, ok := BillingReport_State_name[int32(x)] + if ok { + return s + } + return strconv.Itoa(int(x)) +} +func (x BillingReport_Download_FileFormat) String() string { + s, ok := BillingReport_Download_FileFormat_name[int32(x)] + if ok { + return s + } + return strconv.Itoa(int(x)) +} +func (this *BillingReportSpec) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*BillingReportSpec) + if !ok { + that2, ok := that.(BillingReportSpec) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if !this.StartTimeInclusive.Equal(that1.StartTimeInclusive) { + return false + } + if !this.EndTimeExclusive.Equal(that1.EndTimeExclusive) { + return false + } + if !this.DownloadUrlExpirationDuration.Equal(that1.DownloadUrlExpirationDuration) { + return false + } + if this.Description != that1.Description { + return false + } + return true +} +func (this *BillingReport) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*BillingReport) + if !ok { + that2, ok := that.(BillingReport) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.Id != that1.Id { + return false + } + if this.State != that1.State { + return false + } + if !this.Spec.Equal(that1.Spec) { + return false + } + if len(this.DownloadInfo) != len(that1.DownloadInfo) { + return false + } + for i := range this.DownloadInfo { + if !this.DownloadInfo[i].Equal(that1.DownloadInfo[i]) { + return false + } + } + if !this.RequestedTime.Equal(that1.RequestedTime) { + return false + } + if !this.GeneratedTime.Equal(that1.GeneratedTime) { + return false + } + if this.AsyncOperationId != that1.AsyncOperationId { + return false + } + return true +} +func (this *BillingReport_Download) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*BillingReport_Download) + if !ok { + that2, ok := that.(BillingReport_Download) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.Url != that1.Url { + return false + } + if !this.UrlExpirationTime.Equal(that1.UrlExpirationTime) { + return false + } + if this.FileFormat != that1.FileFormat { + return false + } + if this.FileSizeBytes != that1.FileSizeBytes { + return false + } + return true +} +func (this *BillingReportSpec) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 8) + s = append(s, "&billing.BillingReportSpec{") + if this.StartTimeInclusive != nil { + s = append(s, "StartTimeInclusive: "+fmt.Sprintf("%#v", this.StartTimeInclusive)+",\n") + } + if this.EndTimeExclusive != nil { + s = append(s, "EndTimeExclusive: "+fmt.Sprintf("%#v", this.EndTimeExclusive)+",\n") + } + if this.DownloadUrlExpirationDuration != nil { + s = append(s, "DownloadUrlExpirationDuration: "+fmt.Sprintf("%#v", this.DownloadUrlExpirationDuration)+",\n") + } + s = append(s, "Description: "+fmt.Sprintf("%#v", this.Description)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *BillingReport) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 11) + s = append(s, "&billing.BillingReport{") + s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") + s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") + if this.Spec != nil { + s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") + } + if this.DownloadInfo != nil { + s = append(s, "DownloadInfo: "+fmt.Sprintf("%#v", this.DownloadInfo)+",\n") + } + if this.RequestedTime != nil { + s = append(s, "RequestedTime: "+fmt.Sprintf("%#v", this.RequestedTime)+",\n") + } + if this.GeneratedTime != nil { + s = append(s, "GeneratedTime: "+fmt.Sprintf("%#v", this.GeneratedTime)+",\n") + } + s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *BillingReport_Download) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 8) + s = append(s, "&billing.BillingReport_Download{") + s = append(s, "Url: "+fmt.Sprintf("%#v", this.Url)+",\n") + if this.UrlExpirationTime != nil { + s = append(s, "UrlExpirationTime: "+fmt.Sprintf("%#v", this.UrlExpirationTime)+",\n") + } + s = append(s, "FileFormat: "+fmt.Sprintf("%#v", this.FileFormat)+",\n") + s = append(s, "FileSizeBytes: "+fmt.Sprintf("%#v", this.FileSizeBytes)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func valueToGoStringMessage(v interface{}, typ string) string { + rv := reflect.ValueOf(v) + if rv.IsNil() { + return "nil" + } + pv := reflect.Indirect(rv).Interface() + return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) +} +func (m *BillingReportSpec) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *BillingReportSpec) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *BillingReportSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Description) > 0 { + i -= len(m.Description) + copy(dAtA[i:], m.Description) + i = encodeVarintMessage(dAtA, i, uint64(len(m.Description))) + i-- + dAtA[i] = 0x22 + } + if m.DownloadUrlExpirationDuration != nil { + { + size, err := m.DownloadUrlExpirationDuration.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMessage(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.EndTimeExclusive != nil { + { + size, err := m.EndTimeExclusive.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMessage(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.StartTimeInclusive != nil { + { + size, err := m.StartTimeInclusive.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMessage(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *BillingReport) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *BillingReport) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *BillingReport) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.AsyncOperationId) > 0 { + i -= len(m.AsyncOperationId) + copy(dAtA[i:], m.AsyncOperationId) + i = encodeVarintMessage(dAtA, i, uint64(len(m.AsyncOperationId))) + i-- + dAtA[i] = 0x3a + } + if m.GeneratedTime != nil { + { + size, err := m.GeneratedTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMessage(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + if m.RequestedTime != nil { + { + size, err := m.RequestedTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMessage(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if len(m.DownloadInfo) > 0 { + for iNdEx := len(m.DownloadInfo) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.DownloadInfo[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMessage(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + } + if m.Spec != nil { + { + size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMessage(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.State != 0 { + i = encodeVarintMessage(dAtA, i, uint64(m.State)) + i-- + dAtA[i] = 0x10 + } + if len(m.Id) > 0 { + i -= len(m.Id) + copy(dAtA[i:], m.Id) + i = encodeVarintMessage(dAtA, i, uint64(len(m.Id))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *BillingReport_Download) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *BillingReport_Download) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *BillingReport_Download) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.FileSizeBytes != 0 { + i = encodeVarintMessage(dAtA, i, uint64(m.FileSizeBytes)) + i-- + dAtA[i] = 0x20 + } + if m.FileFormat != 0 { + i = encodeVarintMessage(dAtA, i, uint64(m.FileFormat)) + i-- + dAtA[i] = 0x18 + } + if m.UrlExpirationTime != nil { + { + size, err := m.UrlExpirationTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMessage(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Url) > 0 { + i -= len(m.Url) + copy(dAtA[i:], m.Url) + i = encodeVarintMessage(dAtA, i, uint64(len(m.Url))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintMessage(dAtA []byte, offset int, v uint64) int { + offset -= sovMessage(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *BillingReportSpec) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.StartTimeInclusive != nil { + l = m.StartTimeInclusive.Size() + n += 1 + l + sovMessage(uint64(l)) + } + if m.EndTimeExclusive != nil { + l = m.EndTimeExclusive.Size() + n += 1 + l + sovMessage(uint64(l)) + } + if m.DownloadUrlExpirationDuration != nil { + l = m.DownloadUrlExpirationDuration.Size() + n += 1 + l + sovMessage(uint64(l)) + } + l = len(m.Description) + if l > 0 { + n += 1 + l + sovMessage(uint64(l)) + } + return n +} + +func (m *BillingReport) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Id) + if l > 0 { + n += 1 + l + sovMessage(uint64(l)) + } + if m.State != 0 { + n += 1 + sovMessage(uint64(m.State)) + } + if m.Spec != nil { + l = m.Spec.Size() + n += 1 + l + sovMessage(uint64(l)) + } + if len(m.DownloadInfo) > 0 { + for _, e := range m.DownloadInfo { + l = e.Size() + n += 1 + l + sovMessage(uint64(l)) + } + } + if m.RequestedTime != nil { + l = m.RequestedTime.Size() + n += 1 + l + sovMessage(uint64(l)) + } + if m.GeneratedTime != nil { + l = m.GeneratedTime.Size() + n += 1 + l + sovMessage(uint64(l)) + } + l = len(m.AsyncOperationId) + if l > 0 { + n += 1 + l + sovMessage(uint64(l)) + } + return n +} + +func (m *BillingReport_Download) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Url) + if l > 0 { + n += 1 + l + sovMessage(uint64(l)) + } + if m.UrlExpirationTime != nil { + l = m.UrlExpirationTime.Size() + n += 1 + l + sovMessage(uint64(l)) + } + if m.FileFormat != 0 { + n += 1 + sovMessage(uint64(m.FileFormat)) + } + if m.FileSizeBytes != 0 { + n += 1 + sovMessage(uint64(m.FileSizeBytes)) + } + return n +} + +func sovMessage(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozMessage(x uint64) (n int) { + return sovMessage(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (this *BillingReportSpec) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&BillingReportSpec{`, + `StartTimeInclusive:` + strings.Replace(fmt.Sprintf("%v", this.StartTimeInclusive), "Timestamp", "types.Timestamp", 1) + `,`, + `EndTimeExclusive:` + strings.Replace(fmt.Sprintf("%v", this.EndTimeExclusive), "Timestamp", "types.Timestamp", 1) + `,`, + `DownloadUrlExpirationDuration:` + strings.Replace(fmt.Sprintf("%v", this.DownloadUrlExpirationDuration), "Duration", "types.Duration", 1) + `,`, + `Description:` + fmt.Sprintf("%v", this.Description) + `,`, + `}`, + }, "") + return s +} +func (this *BillingReport) String() string { + if this == nil { + return "nil" + } + repeatedStringForDownloadInfo := "[]*BillingReport_Download{" + for _, f := range this.DownloadInfo { + repeatedStringForDownloadInfo += strings.Replace(fmt.Sprintf("%v", f), "BillingReport_Download", "BillingReport_Download", 1) + "," + } + repeatedStringForDownloadInfo += "}" + s := strings.Join([]string{`&BillingReport{`, + `Id:` + fmt.Sprintf("%v", this.Id) + `,`, + `State:` + fmt.Sprintf("%v", this.State) + `,`, + `Spec:` + strings.Replace(this.Spec.String(), "BillingReportSpec", "BillingReportSpec", 1) + `,`, + `DownloadInfo:` + repeatedStringForDownloadInfo + `,`, + `RequestedTime:` + strings.Replace(fmt.Sprintf("%v", this.RequestedTime), "Timestamp", "types.Timestamp", 1) + `,`, + `GeneratedTime:` + strings.Replace(fmt.Sprintf("%v", this.GeneratedTime), "Timestamp", "types.Timestamp", 1) + `,`, + `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, + `}`, + }, "") + return s +} +func (this *BillingReport_Download) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&BillingReport_Download{`, + `Url:` + fmt.Sprintf("%v", this.Url) + `,`, + `UrlExpirationTime:` + strings.Replace(fmt.Sprintf("%v", this.UrlExpirationTime), "Timestamp", "types.Timestamp", 1) + `,`, + `FileFormat:` + fmt.Sprintf("%v", this.FileFormat) + `,`, + `FileSizeBytes:` + fmt.Sprintf("%v", this.FileSizeBytes) + `,`, + `}`, + }, "") + return s +} +func valueToStringMessage(v interface{}) string { + rv := reflect.ValueOf(v) + if rv.IsNil() { + return "nil" + } + pv := reflect.Indirect(rv).Interface() + return fmt.Sprintf("*%v", pv) +} +func (m *BillingReportSpec) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: BillingReportSpec: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: BillingReportSpec: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StartTimeInclusive", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.StartTimeInclusive == nil { + m.StartTimeInclusive = &types.Timestamp{} + } + if err := m.StartTimeInclusive.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EndTimeExclusive", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.EndTimeExclusive == nil { + m.EndTimeExclusive = &types.Timestamp{} + } + if err := m.EndTimeExclusive.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DownloadUrlExpirationDuration", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.DownloadUrlExpirationDuration == nil { + m.DownloadUrlExpirationDuration = &types.Duration{} + } + if err := m.DownloadUrlExpirationDuration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Description = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *BillingReport) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: BillingReport: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: BillingReport: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Id = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) + } + m.State = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.State |= BillingReport_State(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Spec == nil { + m.Spec = &BillingReportSpec{} + } + if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DownloadInfo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DownloadInfo = append(m.DownloadInfo, &BillingReport_Download{}) + if err := m.DownloadInfo[len(m.DownloadInfo)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RequestedTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.RequestedTime == nil { + m.RequestedTime = &types.Timestamp{} + } + if err := m.RequestedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GeneratedTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.GeneratedTime == nil { + m.GeneratedTime = &types.Timestamp{} + } + if err := m.GeneratedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *BillingReport_Download) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Download: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Download: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Url", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Url = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field UrlExpirationTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.UrlExpirationTime == nil { + m.UrlExpirationTime = &types.Timestamp{} + } + if err := m.UrlExpirationTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field FileFormat", wireType) + } + m.FileFormat = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.FileFormat |= BillingReport_Download_FileFormat(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field FileSizeBytes", wireType) + } + m.FileSizeBytes = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.FileSizeBytes |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipMessage(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowMessage + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowMessage + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowMessage + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthMessage + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupMessage + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthMessage + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthMessage = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowMessage = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group") +) diff --git a/protogen/api/cloud/cloudservice/v1/request_response.pb.go b/protogen/api/cloud/cloudservice/v1/request_response.pb.go index bd638a00..0958422c 100644 --- a/protogen/api/cloud/cloudservice/v1/request_response.pb.go +++ b/protogen/api/cloud/cloudservice/v1/request_response.pb.go @@ -9,19 +9,22 @@ import ( github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" types "github.com/gogo/protobuf/types" v15 "github.com/temporalio/tcld/protogen/api/cloud/account/v1" - v16 "github.com/temporalio/tcld/protogen/api/cloud/auditlog/v1" - v18 "github.com/temporalio/tcld/protogen/api/cloud/connectivityrule/v1" + v17 "github.com/temporalio/tcld/protogen/api/cloud/auditlog/v1" + v111 "github.com/temporalio/tcld/protogen/api/cloud/billing/v1" + v19 "github.com/temporalio/tcld/protogen/api/cloud/connectivityrule/v1" v1 "github.com/temporalio/tcld/protogen/api/cloud/identity/v1" v12 "github.com/temporalio/tcld/protogen/api/cloud/namespace/v1" v14 "github.com/temporalio/tcld/protogen/api/cloud/nexus/v1" v11 "github.com/temporalio/tcld/protogen/api/cloud/operation/v1" - v19 "github.com/temporalio/tcld/protogen/api/cloud/project/v1" + v110 "github.com/temporalio/tcld/protogen/api/cloud/project/v1" v13 "github.com/temporalio/tcld/protogen/api/cloud/region/v1" - v17 "github.com/temporalio/tcld/protogen/api/cloud/usage/v1" + v16 "github.com/temporalio/tcld/protogen/api/cloud/resource/v1" + v18 "github.com/temporalio/tcld/protogen/api/cloud/usage/v1" io "io" math "math" math_bits "math/bits" reflect "reflect" + strconv "strconv" strings "strings" ) @@ -36,6 +39,162 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// temporal:ui +type GetServiceAccountsRequest_ScopeType int32 + +const ( + GET_SERVICE_ACCOUNT_SCOPE_TYPE_UNSPECIFIED GetServiceAccountsRequest_ScopeType = 0 + GET_SERVICE_ACCOUNT_SCOPE_TYPE_ACCOUNT GetServiceAccountsRequest_ScopeType = 1 + GET_SERVICE_ACCOUNT_SCOPE_TYPE_NAMESPACE GetServiceAccountsRequest_ScopeType = 2 +) + +var GetServiceAccountsRequest_ScopeType_name = map[int32]string{ + 0: "GetServiceAccountScopeTypeUnspecified", + 1: "GetServiceAccountScopeTypeAccount", + 2: "GetServiceAccountScopeTypeNamespace", +} + +var GetServiceAccountsRequest_ScopeType_value = map[string]int32{ + "GetServiceAccountScopeTypeUnspecified": 0, + "GetServiceAccountScopeTypeAccount": 1, + "GetServiceAccountScopeTypeNamespace": 2, +} + +func (GetServiceAccountsRequest_ScopeType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{74, 0} +} + +type GetCurrentIdentityRequest struct { +} + +func (m *GetCurrentIdentityRequest) Reset() { *m = GetCurrentIdentityRequest{} } +func (*GetCurrentIdentityRequest) ProtoMessage() {} +func (*GetCurrentIdentityRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{0} +} +func (m *GetCurrentIdentityRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetCurrentIdentityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetCurrentIdentityRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetCurrentIdentityRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCurrentIdentityRequest.Merge(m, src) +} +func (m *GetCurrentIdentityRequest) XXX_Size() int { + return m.Size() +} +func (m *GetCurrentIdentityRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetCurrentIdentityRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetCurrentIdentityRequest proto.InternalMessageInfo + +type GetCurrentIdentityResponse struct { + // The authenticated principal making the request + // + // Types that are valid to be assigned to Principal: + // *GetCurrentIdentityResponse_User + // *GetCurrentIdentityResponse_ServiceAccount + Principal isGetCurrentIdentityResponse_Principal `protobuf_oneof:"principal"` + // The API key info used to authenticate the request, if any + PrincipalApiKey *v1.ApiKey `protobuf:"bytes,3,opt,name=principal_api_key,json=principalApiKey,proto3" json:"principal_api_key,omitempty"` +} + +func (m *GetCurrentIdentityResponse) Reset() { *m = GetCurrentIdentityResponse{} } +func (*GetCurrentIdentityResponse) ProtoMessage() {} +func (*GetCurrentIdentityResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{1} +} +func (m *GetCurrentIdentityResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetCurrentIdentityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetCurrentIdentityResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetCurrentIdentityResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCurrentIdentityResponse.Merge(m, src) +} +func (m *GetCurrentIdentityResponse) XXX_Size() int { + return m.Size() +} +func (m *GetCurrentIdentityResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetCurrentIdentityResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetCurrentIdentityResponse proto.InternalMessageInfo + +type isGetCurrentIdentityResponse_Principal interface { + isGetCurrentIdentityResponse_Principal() + Equal(interface{}) bool + MarshalTo([]byte) (int, error) + Size() int +} + +type GetCurrentIdentityResponse_User struct { + User *v1.User `protobuf:"bytes,1,opt,name=user,proto3,oneof" json:"user,omitempty"` +} +type GetCurrentIdentityResponse_ServiceAccount struct { + ServiceAccount *v1.ServiceAccount `protobuf:"bytes,2,opt,name=service_account,json=serviceAccount,proto3,oneof" json:"service_account,omitempty"` +} + +func (*GetCurrentIdentityResponse_User) isGetCurrentIdentityResponse_Principal() {} +func (*GetCurrentIdentityResponse_ServiceAccount) isGetCurrentIdentityResponse_Principal() {} + +func (m *GetCurrentIdentityResponse) GetPrincipal() isGetCurrentIdentityResponse_Principal { + if m != nil { + return m.Principal + } + return nil +} + +func (m *GetCurrentIdentityResponse) GetUser() *v1.User { + if x, ok := m.GetPrincipal().(*GetCurrentIdentityResponse_User); ok { + return x.User + } + return nil +} + +func (m *GetCurrentIdentityResponse) GetServiceAccount() *v1.ServiceAccount { + if x, ok := m.GetPrincipal().(*GetCurrentIdentityResponse_ServiceAccount); ok { + return x.ServiceAccount + } + return nil +} + +func (m *GetCurrentIdentityResponse) GetPrincipalApiKey() *v1.ApiKey { + if m != nil { + return m.PrincipalApiKey + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*GetCurrentIdentityResponse) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*GetCurrentIdentityResponse_User)(nil), + (*GetCurrentIdentityResponse_ServiceAccount)(nil), + } +} + type GetUsersRequest struct { // The requested size of the page to retrieve - optional. // Cannot exceed 1000. Defaults to 100. @@ -46,12 +205,19 @@ type GetUsersRequest struct { Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` // Filter users by the namespace they have access to - optional. Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"` + // Filter for email substring - optional + // temporal:ui + EmailSubstring string `protobuf:"bytes,100,opt,name=email_substring,json=emailSubstring,proto3" json:"email_substring,omitempty"` + // Inclusive filter for entity states - optional. + // This is not the enum, because gogoproto will panic on decoding a repeated enum. + // temporal:ui + IncludeStates []string `protobuf:"bytes,101,rep,name=include_states,json=includeStates,proto3" json:"include_states,omitempty"` } func (m *GetUsersRequest) Reset() { *m = GetUsersRequest{} } func (*GetUsersRequest) ProtoMessage() {} func (*GetUsersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{0} + return fileDescriptor_d04330087ace166d, []int{2} } func (m *GetUsersRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -108,6 +274,20 @@ func (m *GetUsersRequest) GetNamespace() string { return "" } +func (m *GetUsersRequest) GetEmailSubstring() string { + if m != nil { + return m.EmailSubstring + } + return "" +} + +func (m *GetUsersRequest) GetIncludeStates() []string { + if m != nil { + return m.IncludeStates + } + return nil +} + type GetUsersResponse struct { // The list of users in ascending ids order Users []*v1.User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` @@ -118,7 +298,7 @@ type GetUsersResponse struct { func (m *GetUsersResponse) Reset() { *m = GetUsersResponse{} } func (*GetUsersResponse) ProtoMessage() {} func (*GetUsersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{1} + return fileDescriptor_d04330087ace166d, []int{3} } func (m *GetUsersResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -164,12 +344,15 @@ func (m *GetUsersResponse) GetNextPageToken() string { type GetUserRequest struct { // The id of the user to get UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + // If true, only direct roles will be returned, not ones derived from group memberships. + // temporal:ui + IncludeDerivedRoles bool `protobuf:"varint,100,opt,name=include_derived_roles,json=includeDerivedRoles,proto3" json:"include_derived_roles,omitempty"` } func (m *GetUserRequest) Reset() { *m = GetUserRequest{} } func (*GetUserRequest) ProtoMessage() {} func (*GetUserRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{2} + return fileDescriptor_d04330087ace166d, []int{4} } func (m *GetUserRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -205,6 +388,13 @@ func (m *GetUserRequest) GetUserId() string { return "" } +func (m *GetUserRequest) GetIncludeDerivedRoles() bool { + if m != nil { + return m.IncludeDerivedRoles + } + return false +} + type GetUserResponse struct { // The user User *v1.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` @@ -213,7 +403,7 @@ type GetUserResponse struct { func (m *GetUserResponse) Reset() { *m = GetUserResponse{} } func (*GetUserResponse) ProtoMessage() {} func (*GetUserResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{3} + return fileDescriptor_d04330087ace166d, []int{5} } func (m *GetUserResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -259,7 +449,7 @@ type CreateUserRequest struct { func (m *CreateUserRequest) Reset() { *m = CreateUserRequest{} } func (*CreateUserRequest) ProtoMessage() {} func (*CreateUserRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{4} + return fileDescriptor_d04330087ace166d, []int{6} } func (m *CreateUserRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -312,7 +502,7 @@ type CreateUserResponse struct { func (m *CreateUserResponse) Reset() { *m = CreateUserResponse{} } func (*CreateUserResponse) ProtoMessage() {} func (*CreateUserResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{5} + return fileDescriptor_d04330087ace166d, []int{7} } func (m *CreateUserResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -370,7 +560,7 @@ type UpdateUserRequest struct { func (m *UpdateUserRequest) Reset() { *m = UpdateUserRequest{} } func (*UpdateUserRequest) ProtoMessage() {} func (*UpdateUserRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{6} + return fileDescriptor_d04330087ace166d, []int{8} } func (m *UpdateUserRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -435,7 +625,7 @@ type UpdateUserResponse struct { func (m *UpdateUserResponse) Reset() { *m = UpdateUserResponse{} } func (*UpdateUserResponse) ProtoMessage() {} func (*UpdateUserResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{7} + return fileDescriptor_d04330087ace166d, []int{9} } func (m *UpdateUserResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -484,7 +674,7 @@ type DeleteUserRequest struct { func (m *DeleteUserRequest) Reset() { *m = DeleteUserRequest{} } func (*DeleteUserRequest) ProtoMessage() {} func (*DeleteUserRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{8} + return fileDescriptor_d04330087ace166d, []int{10} } func (m *DeleteUserRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -542,7 +732,7 @@ type DeleteUserResponse struct { func (m *DeleteUserResponse) Reset() { *m = DeleteUserResponse{} } func (*DeleteUserResponse) ProtoMessage() {} func (*DeleteUserResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{9} + return fileDescriptor_d04330087ace166d, []int{11} } func (m *DeleteUserResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -595,7 +785,7 @@ type SetUserNamespaceAccessRequest struct { func (m *SetUserNamespaceAccessRequest) Reset() { *m = SetUserNamespaceAccessRequest{} } func (*SetUserNamespaceAccessRequest) ProtoMessage() {} func (*SetUserNamespaceAccessRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{10} + return fileDescriptor_d04330087ace166d, []int{12} } func (m *SetUserNamespaceAccessRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -667,7 +857,7 @@ type SetUserNamespaceAccessResponse struct { func (m *SetUserNamespaceAccessResponse) Reset() { *m = SetUserNamespaceAccessResponse{} } func (*SetUserNamespaceAccessResponse) ProtoMessage() {} func (*SetUserNamespaceAccessResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{11} + return fileDescriptor_d04330087ace166d, []int{13} } func (m *SetUserNamespaceAccessResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -711,7 +901,7 @@ type GetAsyncOperationRequest struct { func (m *GetAsyncOperationRequest) Reset() { *m = GetAsyncOperationRequest{} } func (*GetAsyncOperationRequest) ProtoMessage() {} func (*GetAsyncOperationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{12} + return fileDescriptor_d04330087ace166d, []int{14} } func (m *GetAsyncOperationRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -755,7 +945,7 @@ type GetAsyncOperationResponse struct { func (m *GetAsyncOperationResponse) Reset() { *m = GetAsyncOperationResponse{} } func (*GetAsyncOperationResponse) ProtoMessage() {} func (*GetAsyncOperationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{13} + return fileDescriptor_d04330087ace166d, []int{15} } func (m *GetAsyncOperationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -799,12 +989,14 @@ type CreateNamespaceRequest struct { AsyncOperationId string `protobuf:"bytes,3,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` // The tags to add to the namespace - can be set by global admins or account owners only Tags map[string]string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // temporal:dev + ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` } func (m *CreateNamespaceRequest) Reset() { *m = CreateNamespaceRequest{} } func (*CreateNamespaceRequest) ProtoMessage() {} func (*CreateNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{14} + return fileDescriptor_d04330087ace166d, []int{16} } func (m *CreateNamespaceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -854,6 +1046,13 @@ func (m *CreateNamespaceRequest) GetTags() map[string]string { return nil } +func (m *CreateNamespaceRequest) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + type CreateNamespaceResponse struct { // The namespace that was created. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` @@ -864,7 +1063,7 @@ type CreateNamespaceResponse struct { func (m *CreateNamespaceResponse) Reset() { *m = CreateNamespaceResponse{} } func (*CreateNamespaceResponse) ProtoMessage() {} func (*CreateNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{15} + return fileDescriptor_d04330087ace166d, []int{17} } func (m *CreateNamespaceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -918,16 +1117,14 @@ type GetNamespacesRequest struct { // Filter namespaces by their name. // Optional, defaults to empty. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // Filter namespaces that the connectivity rule is associated with. - // Optional, defaults to empty. // temporal:dev - ConnectivityRuleId string `protobuf:"bytes,4,opt,name=connectivity_rule_id,json=connectivityRuleId,proto3" json:"connectivity_rule_id,omitempty"` + ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` } func (m *GetNamespacesRequest) Reset() { *m = GetNamespacesRequest{} } func (*GetNamespacesRequest) ProtoMessage() {} func (*GetNamespacesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{16} + return fileDescriptor_d04330087ace166d, []int{18} } func (m *GetNamespacesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -977,9 +1174,9 @@ func (m *GetNamespacesRequest) GetName() string { return "" } -func (m *GetNamespacesRequest) GetConnectivityRuleId() string { +func (m *GetNamespacesRequest) GetProjectId() string { if m != nil { - return m.ConnectivityRuleId + return m.ProjectId } return "" } @@ -994,7 +1191,7 @@ type GetNamespacesResponse struct { func (m *GetNamespacesResponse) Reset() { *m = GetNamespacesResponse{} } func (*GetNamespacesResponse) ProtoMessage() {} func (*GetNamespacesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{17} + return fileDescriptor_d04330087ace166d, []int{19} } func (m *GetNamespacesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1046,12 +1243,14 @@ type GetNamespaceIDsRequest struct { // The page token if this is continuing from another response. // Optional, defaults to empty. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + // temporal:dev + ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` } func (m *GetNamespaceIDsRequest) Reset() { *m = GetNamespaceIDsRequest{} } func (*GetNamespaceIDsRequest) ProtoMessage() {} func (*GetNamespaceIDsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{18} + return fileDescriptor_d04330087ace166d, []int{20} } func (m *GetNamespaceIDsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1094,6 +1293,13 @@ func (m *GetNamespaceIDsRequest) GetPageToken() string { return "" } +func (m *GetNamespaceIDsRequest) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + // temporal:ui type GetNamespaceIDsResponse struct { // The list of namespaces in ascending name order. @@ -1105,7 +1311,7 @@ type GetNamespaceIDsResponse struct { func (m *GetNamespaceIDsResponse) Reset() { *m = GetNamespaceIDsResponse{} } func (*GetNamespaceIDsResponse) ProtoMessage() {} func (*GetNamespaceIDsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{19} + return fileDescriptor_d04330087ace166d, []int{21} } func (m *GetNamespaceIDsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1156,7 +1362,7 @@ type GetNamespaceRequest struct { func (m *GetNamespaceRequest) Reset() { *m = GetNamespaceRequest{} } func (*GetNamespaceRequest) ProtoMessage() {} func (*GetNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{20} + return fileDescriptor_d04330087ace166d, []int{22} } func (m *GetNamespaceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1200,7 +1406,7 @@ type GetNamespaceResponse struct { func (m *GetNamespaceResponse) Reset() { *m = GetNamespaceResponse{} } func (*GetNamespaceResponse) ProtoMessage() {} func (*GetNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{21} + return fileDescriptor_d04330087ace166d, []int{23} } func (m *GetNamespaceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1252,7 +1458,7 @@ type UpdateNamespaceRequest struct { func (m *UpdateNamespaceRequest) Reset() { *m = UpdateNamespaceRequest{} } func (*UpdateNamespaceRequest) ProtoMessage() {} func (*UpdateNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{22} + return fileDescriptor_d04330087ace166d, []int{24} } func (m *UpdateNamespaceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1317,7 +1523,7 @@ type UpdateNamespaceResponse struct { func (m *UpdateNamespaceResponse) Reset() { *m = UpdateNamespaceResponse{} } func (*UpdateNamespaceResponse) ProtoMessage() {} func (*UpdateNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{23} + return fileDescriptor_d04330087ace166d, []int{25} } func (m *UpdateNamespaceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1371,7 +1577,7 @@ type RenameCustomSearchAttributeRequest struct { func (m *RenameCustomSearchAttributeRequest) Reset() { *m = RenameCustomSearchAttributeRequest{} } func (*RenameCustomSearchAttributeRequest) ProtoMessage() {} func (*RenameCustomSearchAttributeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{24} + return fileDescriptor_d04330087ace166d, []int{26} } func (m *RenameCustomSearchAttributeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1443,7 +1649,7 @@ type RenameCustomSearchAttributeResponse struct { func (m *RenameCustomSearchAttributeResponse) Reset() { *m = RenameCustomSearchAttributeResponse{} } func (*RenameCustomSearchAttributeResponse) ProtoMessage() {} func (*RenameCustomSearchAttributeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{25} + return fileDescriptor_d04330087ace166d, []int{27} } func (m *RenameCustomSearchAttributeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1493,7 +1699,7 @@ type DeleteNamespaceRequest struct { func (m *DeleteNamespaceRequest) Reset() { *m = DeleteNamespaceRequest{} } func (*DeleteNamespaceRequest) ProtoMessage() {} func (*DeleteNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{26} + return fileDescriptor_d04330087ace166d, []int{28} } func (m *DeleteNamespaceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1551,7 +1757,7 @@ type DeleteNamespaceResponse struct { func (m *DeleteNamespaceResponse) Reset() { *m = DeleteNamespaceResponse{} } func (*DeleteNamespaceResponse) ProtoMessage() {} func (*DeleteNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{27} + return fileDescriptor_d04330087ace166d, []int{29} } func (m *DeleteNamespaceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1600,7 +1806,7 @@ type FailoverNamespaceRegionRequest struct { func (m *FailoverNamespaceRegionRequest) Reset() { *m = FailoverNamespaceRegionRequest{} } func (*FailoverNamespaceRegionRequest) ProtoMessage() {} func (*FailoverNamespaceRegionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{28} + return fileDescriptor_d04330087ace166d, []int{30} } func (m *FailoverNamespaceRegionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1658,7 +1864,7 @@ type FailoverNamespaceRegionResponse struct { func (m *FailoverNamespaceRegionResponse) Reset() { *m = FailoverNamespaceRegionResponse{} } func (*FailoverNamespaceRegionResponse) ProtoMessage() {} func (*FailoverNamespaceRegionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{29} + return fileDescriptor_d04330087ace166d, []int{31} } func (m *FailoverNamespaceRegionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1711,7 +1917,7 @@ type AddNamespaceRegionRequest struct { func (m *AddNamespaceRegionRequest) Reset() { *m = AddNamespaceRegionRequest{} } func (*AddNamespaceRegionRequest) ProtoMessage() {} func (*AddNamespaceRegionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{30} + return fileDescriptor_d04330087ace166d, []int{32} } func (m *AddNamespaceRegionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1776,7 +1982,7 @@ type AddNamespaceRegionResponse struct { func (m *AddNamespaceRegionResponse) Reset() { *m = AddNamespaceRegionResponse{} } func (*AddNamespaceRegionResponse) ProtoMessage() {} func (*AddNamespaceRegionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{31} + return fileDescriptor_d04330087ace166d, []int{33} } func (m *AddNamespaceRegionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1829,7 +2035,7 @@ type DeleteNamespaceRegionRequest struct { func (m *DeleteNamespaceRegionRequest) Reset() { *m = DeleteNamespaceRegionRequest{} } func (*DeleteNamespaceRegionRequest) ProtoMessage() {} func (*DeleteNamespaceRegionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{32} + return fileDescriptor_d04330087ace166d, []int{34} } func (m *DeleteNamespaceRegionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1894,7 +2100,7 @@ type DeleteNamespaceRegionResponse struct { func (m *DeleteNamespaceRegionResponse) Reset() { *m = DeleteNamespaceRegionResponse{} } func (*DeleteNamespaceRegionResponse) ProtoMessage() {} func (*DeleteNamespaceRegionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{33} + return fileDescriptor_d04330087ace166d, []int{35} } func (m *DeleteNamespaceRegionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1936,7 +2142,7 @@ type GetRegionsRequest struct { func (m *GetRegionsRequest) Reset() { *m = GetRegionsRequest{} } func (*GetRegionsRequest) ProtoMessage() {} func (*GetRegionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{34} + return fileDescriptor_d04330087ace166d, []int{36} } func (m *GetRegionsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1973,7 +2179,7 @@ type GetRegionsResponse struct { func (m *GetRegionsResponse) Reset() { *m = GetRegionsResponse{} } func (*GetRegionsResponse) ProtoMessage() {} func (*GetRegionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{35} + return fileDescriptor_d04330087ace166d, []int{37} } func (m *GetRegionsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2017,7 +2223,7 @@ type GetRegionRequest struct { func (m *GetRegionRequest) Reset() { *m = GetRegionRequest{} } func (*GetRegionRequest) ProtoMessage() {} func (*GetRegionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{36} + return fileDescriptor_d04330087ace166d, []int{38} } func (m *GetRegionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2061,7 +2267,7 @@ type GetRegionResponse struct { func (m *GetRegionResponse) Reset() { *m = GetRegionResponse{} } func (*GetRegionResponse) ProtoMessage() {} func (*GetRegionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{37} + return fileDescriptor_d04330087ace166d, []int{39} } func (m *GetRegionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2116,7 +2322,7 @@ type GetNexusEndpointsRequest struct { func (m *GetNexusEndpointsRequest) Reset() { *m = GetNexusEndpointsRequest{} } func (*GetNexusEndpointsRequest) ProtoMessage() {} func (*GetNexusEndpointsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{38} + return fileDescriptor_d04330087ace166d, []int{40} } func (m *GetNexusEndpointsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2197,7 +2403,7 @@ type GetNexusEndpointsResponse struct { func (m *GetNexusEndpointsResponse) Reset() { *m = GetNexusEndpointsResponse{} } func (*GetNexusEndpointsResponse) ProtoMessage() {} func (*GetNexusEndpointsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{39} + return fileDescriptor_d04330087ace166d, []int{41} } func (m *GetNexusEndpointsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2248,7 +2454,7 @@ type GetNexusEndpointRequest struct { func (m *GetNexusEndpointRequest) Reset() { *m = GetNexusEndpointRequest{} } func (*GetNexusEndpointRequest) ProtoMessage() {} func (*GetNexusEndpointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{40} + return fileDescriptor_d04330087ace166d, []int{42} } func (m *GetNexusEndpointRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2292,7 +2498,7 @@ type GetNexusEndpointResponse struct { func (m *GetNexusEndpointResponse) Reset() { *m = GetNexusEndpointResponse{} } func (*GetNexusEndpointResponse) ProtoMessage() {} func (*GetNexusEndpointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{41} + return fileDescriptor_d04330087ace166d, []int{43} } func (m *GetNexusEndpointResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2340,7 +2546,7 @@ type CreateNexusEndpointRequest struct { func (m *CreateNexusEndpointRequest) Reset() { *m = CreateNexusEndpointRequest{} } func (*CreateNexusEndpointRequest) ProtoMessage() {} func (*CreateNexusEndpointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{42} + return fileDescriptor_d04330087ace166d, []int{44} } func (m *CreateNexusEndpointRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2400,7 +2606,7 @@ type CreateNexusEndpointResponse struct { func (m *CreateNexusEndpointResponse) Reset() { *m = CreateNexusEndpointResponse{} } func (*CreateNexusEndpointResponse) ProtoMessage() {} func (*CreateNexusEndpointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{43} + return fileDescriptor_d04330087ace166d, []int{45} } func (m *CreateNexusEndpointResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2458,7 +2664,7 @@ type UpdateNexusEndpointRequest struct { func (m *UpdateNexusEndpointRequest) Reset() { *m = UpdateNexusEndpointRequest{} } func (*UpdateNexusEndpointRequest) ProtoMessage() {} func (*UpdateNexusEndpointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{44} + return fileDescriptor_d04330087ace166d, []int{46} } func (m *UpdateNexusEndpointRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2523,7 +2729,7 @@ type UpdateNexusEndpointResponse struct { func (m *UpdateNexusEndpointResponse) Reset() { *m = UpdateNexusEndpointResponse{} } func (*UpdateNexusEndpointResponse) ProtoMessage() {} func (*UpdateNexusEndpointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{45} + return fileDescriptor_d04330087ace166d, []int{47} } func (m *UpdateNexusEndpointResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2572,7 +2778,7 @@ type DeleteNexusEndpointRequest struct { func (m *DeleteNexusEndpointRequest) Reset() { *m = DeleteNexusEndpointRequest{} } func (*DeleteNexusEndpointRequest) ProtoMessage() {} func (*DeleteNexusEndpointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{46} + return fileDescriptor_d04330087ace166d, []int{48} } func (m *DeleteNexusEndpointRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2630,7 +2836,7 @@ type DeleteNexusEndpointResponse struct { func (m *DeleteNexusEndpointResponse) Reset() { *m = DeleteNexusEndpointResponse{} } func (*DeleteNexusEndpointResponse) ProtoMessage() {} func (*DeleteNexusEndpointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{47} + return fileDescriptor_d04330087ace166d, []int{49} } func (m *DeleteNexusEndpointResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2680,7 +2886,7 @@ type UpdateAccountRequest struct { func (m *UpdateAccountRequest) Reset() { *m = UpdateAccountRequest{} } func (*UpdateAccountRequest) ProtoMessage() {} func (*UpdateAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{48} + return fileDescriptor_d04330087ace166d, []int{50} } func (m *UpdateAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2738,7 +2944,7 @@ type UpdateAccountResponse struct { func (m *UpdateAccountResponse) Reset() { *m = UpdateAccountResponse{} } func (*UpdateAccountResponse) ProtoMessage() {} func (*UpdateAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{49} + return fileDescriptor_d04330087ace166d, []int{51} } func (m *UpdateAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2788,12 +2994,18 @@ type GetUserGroupsRequest struct { GoogleGroup *GetUserGroupsRequest_GoogleGroupFilter `protobuf:"bytes,5,opt,name=google_group,json=googleGroup,proto3" json:"google_group,omitempty"` // Filter groups by the SCIM group specification - optional. ScimGroup *GetUserGroupsRequest_SCIMGroupFilter `protobuf:"bytes,6,opt,name=scim_group,json=scimGroup,proto3" json:"scim_group,omitempty"` + // temporal:ui + // Filter for name substring - optional + NameSubstring string `protobuf:"bytes,100,opt,name=name_substring,json=nameSubstring,proto3" json:"name_substring,omitempty"` + // This is not the enum, because gogoproto will panic on decoding a repeated enum. + // temporal:ui + IncludeStates []string `protobuf:"bytes,101,rep,name=include_states,json=includeStates,proto3" json:"include_states,omitempty"` } func (m *GetUserGroupsRequest) Reset() { *m = GetUserGroupsRequest{} } func (*GetUserGroupsRequest) ProtoMessage() {} func (*GetUserGroupsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{50} + return fileDescriptor_d04330087ace166d, []int{52} } func (m *GetUserGroupsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2864,6 +3076,20 @@ func (m *GetUserGroupsRequest) GetScimGroup() *GetUserGroupsRequest_SCIMGroupFil return nil } +func (m *GetUserGroupsRequest) GetNameSubstring() string { + if m != nil { + return m.NameSubstring + } + return "" +} + +func (m *GetUserGroupsRequest) GetIncludeStates() []string { + if m != nil { + return m.IncludeStates + } + return nil +} + type GetUserGroupsRequest_GoogleGroupFilter struct { // Filter groups by the google group email - optional. EmailAddress string `protobuf:"bytes,1,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"` @@ -2874,7 +3100,7 @@ func (m *GetUserGroupsRequest_GoogleGroupFilter) Reset() { } func (*GetUserGroupsRequest_GoogleGroupFilter) ProtoMessage() {} func (*GetUserGroupsRequest_GoogleGroupFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{50, 0} + return fileDescriptor_d04330087ace166d, []int{52, 0} } func (m *GetUserGroupsRequest_GoogleGroupFilter) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2918,7 +3144,7 @@ type GetUserGroupsRequest_SCIMGroupFilter struct { func (m *GetUserGroupsRequest_SCIMGroupFilter) Reset() { *m = GetUserGroupsRequest_SCIMGroupFilter{} } func (*GetUserGroupsRequest_SCIMGroupFilter) ProtoMessage() {} func (*GetUserGroupsRequest_SCIMGroupFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{50, 1} + return fileDescriptor_d04330087ace166d, []int{52, 1} } func (m *GetUserGroupsRequest_SCIMGroupFilter) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2964,7 +3190,7 @@ type GetUserGroupsResponse struct { func (m *GetUserGroupsResponse) Reset() { *m = GetUserGroupsResponse{} } func (*GetUserGroupsResponse) ProtoMessage() {} func (*GetUserGroupsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{51} + return fileDescriptor_d04330087ace166d, []int{53} } func (m *GetUserGroupsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3015,7 +3241,7 @@ type GetUserGroupRequest struct { func (m *GetUserGroupRequest) Reset() { *m = GetUserGroupRequest{} } func (*GetUserGroupRequest) ProtoMessage() {} func (*GetUserGroupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{52} + return fileDescriptor_d04330087ace166d, []int{54} } func (m *GetUserGroupRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3059,7 +3285,7 @@ type GetUserGroupResponse struct { func (m *GetUserGroupResponse) Reset() { *m = GetUserGroupResponse{} } func (*GetUserGroupResponse) ProtoMessage() {} func (*GetUserGroupResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{53} + return fileDescriptor_d04330087ace166d, []int{55} } func (m *GetUserGroupResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3106,7 +3332,7 @@ type CreateUserGroupRequest struct { func (m *CreateUserGroupRequest) Reset() { *m = CreateUserGroupRequest{} } func (*CreateUserGroupRequest) ProtoMessage() {} func (*CreateUserGroupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{54} + return fileDescriptor_d04330087ace166d, []int{56} } func (m *CreateUserGroupRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3159,7 +3385,7 @@ type CreateUserGroupResponse struct { func (m *CreateUserGroupResponse) Reset() { *m = CreateUserGroupResponse{} } func (*CreateUserGroupResponse) ProtoMessage() {} func (*CreateUserGroupResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{55} + return fileDescriptor_d04330087ace166d, []int{57} } func (m *CreateUserGroupResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3218,7 +3444,7 @@ type UpdateUserGroupRequest struct { func (m *UpdateUserGroupRequest) Reset() { *m = UpdateUserGroupRequest{} } func (*UpdateUserGroupRequest) ProtoMessage() {} func (*UpdateUserGroupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{56} + return fileDescriptor_d04330087ace166d, []int{58} } func (m *UpdateUserGroupRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3283,7 +3509,7 @@ type UpdateUserGroupResponse struct { func (m *UpdateUserGroupResponse) Reset() { *m = UpdateUserGroupResponse{} } func (*UpdateUserGroupResponse) ProtoMessage() {} func (*UpdateUserGroupResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{57} + return fileDescriptor_d04330087ace166d, []int{59} } func (m *UpdateUserGroupResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3333,7 +3559,7 @@ type DeleteUserGroupRequest struct { func (m *DeleteUserGroupRequest) Reset() { *m = DeleteUserGroupRequest{} } func (*DeleteUserGroupRequest) ProtoMessage() {} func (*DeleteUserGroupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{58} + return fileDescriptor_d04330087ace166d, []int{60} } func (m *DeleteUserGroupRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3391,7 +3617,7 @@ type DeleteUserGroupResponse struct { func (m *DeleteUserGroupResponse) Reset() { *m = DeleteUserGroupResponse{} } func (*DeleteUserGroupResponse) ProtoMessage() {} func (*DeleteUserGroupResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{59} + return fileDescriptor_d04330087ace166d, []int{61} } func (m *DeleteUserGroupResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3444,7 +3670,7 @@ type SetUserGroupNamespaceAccessRequest struct { func (m *SetUserGroupNamespaceAccessRequest) Reset() { *m = SetUserGroupNamespaceAccessRequest{} } func (*SetUserGroupNamespaceAccessRequest) ProtoMessage() {} func (*SetUserGroupNamespaceAccessRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{60} + return fileDescriptor_d04330087ace166d, []int{62} } func (m *SetUserGroupNamespaceAccessRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3516,7 +3742,7 @@ type SetUserGroupNamespaceAccessResponse struct { func (m *SetUserGroupNamespaceAccessResponse) Reset() { *m = SetUserGroupNamespaceAccessResponse{} } func (*SetUserGroupNamespaceAccessResponse) ProtoMessage() {} func (*SetUserGroupNamespaceAccessResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{61} + return fileDescriptor_d04330087ace166d, []int{63} } func (m *SetUserGroupNamespaceAccessResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3565,7 +3791,7 @@ type AddUserGroupMemberRequest struct { func (m *AddUserGroupMemberRequest) Reset() { *m = AddUserGroupMemberRequest{} } func (*AddUserGroupMemberRequest) ProtoMessage() {} func (*AddUserGroupMemberRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{62} + return fileDescriptor_d04330087ace166d, []int{64} } func (m *AddUserGroupMemberRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3623,7 +3849,7 @@ type AddUserGroupMemberResponse struct { func (m *AddUserGroupMemberResponse) Reset() { *m = AddUserGroupMemberResponse{} } func (*AddUserGroupMemberResponse) ProtoMessage() {} func (*AddUserGroupMemberResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{63} + return fileDescriptor_d04330087ace166d, []int{65} } func (m *AddUserGroupMemberResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3672,7 +3898,7 @@ type RemoveUserGroupMemberRequest struct { func (m *RemoveUserGroupMemberRequest) Reset() { *m = RemoveUserGroupMemberRequest{} } func (*RemoveUserGroupMemberRequest) ProtoMessage() {} func (*RemoveUserGroupMemberRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{64} + return fileDescriptor_d04330087ace166d, []int{66} } func (m *RemoveUserGroupMemberRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3730,7 +3956,7 @@ type RemoveUserGroupMemberResponse struct { func (m *RemoveUserGroupMemberResponse) Reset() { *m = RemoveUserGroupMemberResponse{} } func (*RemoveUserGroupMemberResponse) ProtoMessage() {} func (*RemoveUserGroupMemberResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{65} + return fileDescriptor_d04330087ace166d, []int{67} } func (m *RemoveUserGroupMemberResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3779,7 +4005,7 @@ type GetUserGroupMembersRequest struct { func (m *GetUserGroupMembersRequest) Reset() { *m = GetUserGroupMembersRequest{} } func (*GetUserGroupMembersRequest) ProtoMessage() {} func (*GetUserGroupMembersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{66} + return fileDescriptor_d04330087ace166d, []int{68} } func (m *GetUserGroupMembersRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3839,7 +4065,7 @@ type GetUserGroupMembersResponse struct { func (m *GetUserGroupMembersResponse) Reset() { *m = GetUserGroupMembersResponse{} } func (*GetUserGroupMembersResponse) ProtoMessage() {} func (*GetUserGroupMembersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{67} + return fileDescriptor_d04330087ace166d, []int{69} } func (m *GetUserGroupMembersResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3892,7 +4118,7 @@ type CreateServiceAccountRequest struct { func (m *CreateServiceAccountRequest) Reset() { *m = CreateServiceAccountRequest{} } func (*CreateServiceAccountRequest) ProtoMessage() {} func (*CreateServiceAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{68} + return fileDescriptor_d04330087ace166d, []int{70} } func (m *CreateServiceAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3945,7 +4171,7 @@ type CreateServiceAccountResponse struct { func (m *CreateServiceAccountResponse) Reset() { *m = CreateServiceAccountResponse{} } func (*CreateServiceAccountResponse) ProtoMessage() {} func (*CreateServiceAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{69} + return fileDescriptor_d04330087ace166d, []int{71} } func (m *CreateServiceAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3996,7 +4222,7 @@ type GetServiceAccountRequest struct { func (m *GetServiceAccountRequest) Reset() { *m = GetServiceAccountRequest{} } func (*GetServiceAccountRequest) ProtoMessage() {} func (*GetServiceAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{70} + return fileDescriptor_d04330087ace166d, []int{72} } func (m *GetServiceAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4040,7 +4266,7 @@ type GetServiceAccountResponse struct { func (m *GetServiceAccountResponse) Reset() { *m = GetServiceAccountResponse{} } func (*GetServiceAccountResponse) ProtoMessage() {} func (*GetServiceAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{71} + return fileDescriptor_d04330087ace166d, []int{73} } func (m *GetServiceAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4082,12 +4308,24 @@ type GetServiceAccountsRequest struct { PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The page token if this is continuing from another response - optional. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + // Filter for service accounts which are scoped/unscoped - optional. + // temporal:ui + Scope GetServiceAccountsRequest_ScopeType `protobuf:"varint,100,opt,name=scope,proto3,enum=temporal.api.cloud.cloudservice.v1.GetServiceAccountsRequest_ScopeType" json:"scope,omitempty"` + // temporal:ui + Namespace string `protobuf:"bytes,101,opt,name=namespace,proto3" json:"namespace,omitempty"` + // Inclusive filter for entity states - optional. + // This is not the enum, because gogoproto will panic on decoding a repeated enum. + // temporal:ui + IncludeStates []string `protobuf:"bytes,102,rep,name=include_states,json=includeStates,proto3" json:"include_states,omitempty"` + // Filter for name substring - optional + // temporal:ui + NameSubstring string `protobuf:"bytes,103,opt,name=name_substring,json=nameSubstring,proto3" json:"name_substring,omitempty"` } func (m *GetServiceAccountsRequest) Reset() { *m = GetServiceAccountsRequest{} } func (*GetServiceAccountsRequest) ProtoMessage() {} func (*GetServiceAccountsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{72} + return fileDescriptor_d04330087ace166d, []int{74} } func (m *GetServiceAccountsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4130,6 +4368,34 @@ func (m *GetServiceAccountsRequest) GetPageToken() string { return "" } +func (m *GetServiceAccountsRequest) GetScope() GetServiceAccountsRequest_ScopeType { + if m != nil { + return m.Scope + } + return GET_SERVICE_ACCOUNT_SCOPE_TYPE_UNSPECIFIED +} + +func (m *GetServiceAccountsRequest) GetNamespace() string { + if m != nil { + return m.Namespace + } + return "" +} + +func (m *GetServiceAccountsRequest) GetIncludeStates() []string { + if m != nil { + return m.IncludeStates + } + return nil +} + +func (m *GetServiceAccountsRequest) GetNameSubstring() string { + if m != nil { + return m.NameSubstring + } + return "" +} + type GetServiceAccountsResponse struct { // The list of service accounts in ascending ID order. ServiceAccount []*v1.ServiceAccount `protobuf:"bytes,1,rep,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` @@ -4140,7 +4406,7 @@ type GetServiceAccountsResponse struct { func (m *GetServiceAccountsResponse) Reset() { *m = GetServiceAccountsResponse{} } func (*GetServiceAccountsResponse) ProtoMessage() {} func (*GetServiceAccountsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{73} + return fileDescriptor_d04330087ace166d, []int{75} } func (m *GetServiceAccountsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4198,7 +4464,7 @@ type UpdateServiceAccountRequest struct { func (m *UpdateServiceAccountRequest) Reset() { *m = UpdateServiceAccountRequest{} } func (*UpdateServiceAccountRequest) ProtoMessage() {} func (*UpdateServiceAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{74} + return fileDescriptor_d04330087ace166d, []int{76} } func (m *UpdateServiceAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4263,7 +4529,7 @@ type UpdateServiceAccountResponse struct { func (m *UpdateServiceAccountResponse) Reset() { *m = UpdateServiceAccountResponse{} } func (*UpdateServiceAccountResponse) ProtoMessage() {} func (*UpdateServiceAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{75} + return fileDescriptor_d04330087ace166d, []int{77} } func (m *UpdateServiceAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4318,7 +4584,7 @@ func (m *SetServiceAccountNamespaceAccessRequest) Reset() { } func (*SetServiceAccountNamespaceAccessRequest) ProtoMessage() {} func (*SetServiceAccountNamespaceAccessRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{76} + return fileDescriptor_d04330087ace166d, []int{78} } func (m *SetServiceAccountNamespaceAccessRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4392,7 +4658,7 @@ func (m *SetServiceAccountNamespaceAccessResponse) Reset() { } func (*SetServiceAccountNamespaceAccessResponse) ProtoMessage() {} func (*SetServiceAccountNamespaceAccessResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{77} + return fileDescriptor_d04330087ace166d, []int{79} } func (m *SetServiceAccountNamespaceAccessResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4441,7 +4707,7 @@ type DeleteServiceAccountRequest struct { func (m *DeleteServiceAccountRequest) Reset() { *m = DeleteServiceAccountRequest{} } func (*DeleteServiceAccountRequest) ProtoMessage() {} func (*DeleteServiceAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{78} + return fileDescriptor_d04330087ace166d, []int{80} } func (m *DeleteServiceAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4499,7 +4765,7 @@ type DeleteServiceAccountResponse struct { func (m *DeleteServiceAccountResponse) Reset() { *m = DeleteServiceAccountResponse{} } func (*DeleteServiceAccountResponse) ProtoMessage() {} func (*DeleteServiceAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{79} + return fileDescriptor_d04330087ace166d, []int{81} } func (m *DeleteServiceAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4545,16 +4811,26 @@ type GetApiKeysRequest struct { OwnerId string `protobuf:"bytes,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // Filter api keys by owner type - optional. // Possible values: user, service-account + // temporal:versioning:max_version=v0.3.0 OwnerTypeDeprecated string `protobuf:"bytes,4,opt,name=owner_type_deprecated,json=ownerTypeDeprecated,proto3" json:"owner_type_deprecated,omitempty"` // Deprecated: Do not use. // Filter api keys by owner type - optional. // temporal:enums:replaces=owner_type_deprecated OwnerType v1.OwnerType `protobuf:"varint,5,opt,name=owner_type,json=ownerType,proto3,enum=temporal.api.cloud.identity.v1.OwnerType" json:"owner_type,omitempty"` + // temporal:ui + // Filter for entity status - optional. + IncludeStates []v16.ResourceState `protobuf:"varint,101,rep,packed,name=include_states,json=includeStates,proto3,enum=temporal.api.cloud.resource.v1.ResourceState" json:"include_states,omitempty"` + // temporal:ui + // optional: filter for API keys which are enabled/disabled. + Disabled *types.BoolValue `protobuf:"bytes,102,opt,name=disabled,proto3" json:"disabled,omitempty"` + // temporal:ui + // optional: filter API keys by namespace access. + Namespace string `protobuf:"bytes,103,opt,name=namespace,proto3" json:"namespace,omitempty"` } func (m *GetApiKeysRequest) Reset() { *m = GetApiKeysRequest{} } func (*GetApiKeysRequest) ProtoMessage() {} func (*GetApiKeysRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{80} + return fileDescriptor_d04330087ace166d, []int{82} } func (m *GetApiKeysRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4619,6 +4895,27 @@ func (m *GetApiKeysRequest) GetOwnerType() v1.OwnerType { return v1.OWNER_TYPE_UNSPECIFIED } +func (m *GetApiKeysRequest) GetIncludeStates() []v16.ResourceState { + if m != nil { + return m.IncludeStates + } + return nil +} + +func (m *GetApiKeysRequest) GetDisabled() *types.BoolValue { + if m != nil { + return m.Disabled + } + return nil +} + +func (m *GetApiKeysRequest) GetNamespace() string { + if m != nil { + return m.Namespace + } + return "" +} + type GetApiKeysResponse struct { // The list of api keys in ascending id order. ApiKeys []*v1.ApiKey `protobuf:"bytes,1,rep,name=api_keys,json=apiKeys,proto3" json:"api_keys,omitempty"` @@ -4629,7 +4926,7 @@ type GetApiKeysResponse struct { func (m *GetApiKeysResponse) Reset() { *m = GetApiKeysResponse{} } func (*GetApiKeysResponse) ProtoMessage() {} func (*GetApiKeysResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{81} + return fileDescriptor_d04330087ace166d, []int{83} } func (m *GetApiKeysResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4680,7 +4977,7 @@ type GetApiKeyRequest struct { func (m *GetApiKeyRequest) Reset() { *m = GetApiKeyRequest{} } func (*GetApiKeyRequest) ProtoMessage() {} func (*GetApiKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{82} + return fileDescriptor_d04330087ace166d, []int{84} } func (m *GetApiKeyRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4724,7 +5021,7 @@ type GetApiKeyResponse struct { func (m *GetApiKeyResponse) Reset() { *m = GetApiKeyResponse{} } func (*GetApiKeyResponse) ProtoMessage() {} func (*GetApiKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{83} + return fileDescriptor_d04330087ace166d, []int{85} } func (m *GetApiKeyResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4771,7 +5068,7 @@ type CreateApiKeyRequest struct { func (m *CreateApiKeyRequest) Reset() { *m = CreateApiKeyRequest{} } func (*CreateApiKeyRequest) ProtoMessage() {} func (*CreateApiKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{84} + return fileDescriptor_d04330087ace166d, []int{86} } func (m *CreateApiKeyRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4828,7 +5125,7 @@ type CreateApiKeyResponse struct { func (m *CreateApiKeyResponse) Reset() { *m = CreateApiKeyResponse{} } func (*CreateApiKeyResponse) ProtoMessage() {} func (*CreateApiKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{85} + return fileDescriptor_d04330087ace166d, []int{87} } func (m *CreateApiKeyResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4893,7 +5190,7 @@ type UpdateApiKeyRequest struct { func (m *UpdateApiKeyRequest) Reset() { *m = UpdateApiKeyRequest{} } func (*UpdateApiKeyRequest) ProtoMessage() {} func (*UpdateApiKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{86} + return fileDescriptor_d04330087ace166d, []int{88} } func (m *UpdateApiKeyRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4958,7 +5255,7 @@ type UpdateApiKeyResponse struct { func (m *UpdateApiKeyResponse) Reset() { *m = UpdateApiKeyResponse{} } func (*UpdateApiKeyResponse) ProtoMessage() {} func (*UpdateApiKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{87} + return fileDescriptor_d04330087ace166d, []int{89} } func (m *UpdateApiKeyResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5007,7 +5304,7 @@ type DeleteApiKeyRequest struct { func (m *DeleteApiKeyRequest) Reset() { *m = DeleteApiKeyRequest{} } func (*DeleteApiKeyRequest) ProtoMessage() {} func (*DeleteApiKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{88} + return fileDescriptor_d04330087ace166d, []int{90} } func (m *DeleteApiKeyRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5065,7 +5362,7 @@ type DeleteApiKeyResponse struct { func (m *DeleteApiKeyResponse) Reset() { *m = DeleteApiKeyResponse{} } func (*DeleteApiKeyResponse) ProtoMessage() {} func (*DeleteApiKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{89} + return fileDescriptor_d04330087ace166d, []int{91} } func (m *DeleteApiKeyResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5109,7 +5406,7 @@ type ValidateAccountAuditLogSinkRequest struct { func (m *ValidateAccountAuditLogSinkRequest) Reset() { *m = ValidateAccountAuditLogSinkRequest{} } func (*ValidateAccountAuditLogSinkRequest) ProtoMessage() {} func (*ValidateAccountAuditLogSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{90} + return fileDescriptor_d04330087ace166d, []int{92} } func (m *ValidateAccountAuditLogSinkRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5151,7 +5448,7 @@ type ValidateAccountAuditLogSinkResponse struct { func (m *ValidateAccountAuditLogSinkResponse) Reset() { *m = ValidateAccountAuditLogSinkResponse{} } func (*ValidateAccountAuditLogSinkResponse) ProtoMessage() {} func (*ValidateAccountAuditLogSinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{91} + return fileDescriptor_d04330087ace166d, []int{93} } func (m *ValidateAccountAuditLogSinkResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5180,7 +5477,6 @@ func (m *ValidateAccountAuditLogSinkResponse) XXX_DiscardUnknown() { var xxx_messageInfo_ValidateAccountAuditLogSinkResponse proto.InternalMessageInfo -// temporal:dev type CreateAccountAuditLogSinkRequest struct { // The specification for the audit log sink. Spec *v15.AuditLogSinkSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` @@ -5191,7 +5487,7 @@ type CreateAccountAuditLogSinkRequest struct { func (m *CreateAccountAuditLogSinkRequest) Reset() { *m = CreateAccountAuditLogSinkRequest{} } func (*CreateAccountAuditLogSinkRequest) ProtoMessage() {} func (*CreateAccountAuditLogSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{92} + return fileDescriptor_d04330087ace166d, []int{94} } func (m *CreateAccountAuditLogSinkRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5234,7 +5530,6 @@ func (m *CreateAccountAuditLogSinkRequest) GetAsyncOperationId() string { return "" } -// temporal:dev type CreateAccountAuditLogSinkResponse struct { // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` @@ -5243,7 +5538,7 @@ type CreateAccountAuditLogSinkResponse struct { func (m *CreateAccountAuditLogSinkResponse) Reset() { *m = CreateAccountAuditLogSinkResponse{} } func (*CreateAccountAuditLogSinkResponse) ProtoMessage() {} func (*CreateAccountAuditLogSinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{93} + return fileDescriptor_d04330087ace166d, []int{95} } func (m *CreateAccountAuditLogSinkResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5279,7 +5574,6 @@ func (m *CreateAccountAuditLogSinkResponse) GetAsyncOperation() *v11.AsyncOperat return nil } -// temporal:dev type GetAccountAuditLogSinkRequest struct { // The name of the sink to retrieve. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` @@ -5288,7 +5582,7 @@ type GetAccountAuditLogSinkRequest struct { func (m *GetAccountAuditLogSinkRequest) Reset() { *m = GetAccountAuditLogSinkRequest{} } func (*GetAccountAuditLogSinkRequest) ProtoMessage() {} func (*GetAccountAuditLogSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{94} + return fileDescriptor_d04330087ace166d, []int{96} } func (m *GetAccountAuditLogSinkRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5324,7 +5618,6 @@ func (m *GetAccountAuditLogSinkRequest) GetName() string { return "" } -// temporal:dev type GetAccountAuditLogSinkResponse struct { // The audit log sink retrieved. Sink *v15.AuditLogSink `protobuf:"bytes,1,opt,name=sink,proto3" json:"sink,omitempty"` @@ -5333,7 +5626,7 @@ type GetAccountAuditLogSinkResponse struct { func (m *GetAccountAuditLogSinkResponse) Reset() { *m = GetAccountAuditLogSinkResponse{} } func (*GetAccountAuditLogSinkResponse) ProtoMessage() {} func (*GetAccountAuditLogSinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{95} + return fileDescriptor_d04330087ace166d, []int{97} } func (m *GetAccountAuditLogSinkResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5369,7 +5662,6 @@ func (m *GetAccountAuditLogSinkResponse) GetSink() *v15.AuditLogSink { return nil } -// temporal:dev type GetAccountAuditLogSinksRequest struct { // The requested size of the page to retrieve. Cannot exceed 1000. // Defaults to 100 if not specified. @@ -5381,7 +5673,7 @@ type GetAccountAuditLogSinksRequest struct { func (m *GetAccountAuditLogSinksRequest) Reset() { *m = GetAccountAuditLogSinksRequest{} } func (*GetAccountAuditLogSinksRequest) ProtoMessage() {} func (*GetAccountAuditLogSinksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{96} + return fileDescriptor_d04330087ace166d, []int{98} } func (m *GetAccountAuditLogSinksRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5424,7 +5716,6 @@ func (m *GetAccountAuditLogSinksRequest) GetPageToken() string { return "" } -// temporal:dev type GetAccountAuditLogSinksResponse struct { // The list of audit log sinks retrieved. Sinks []*v15.AuditLogSink `protobuf:"bytes,1,rep,name=sinks,proto3" json:"sinks,omitempty"` @@ -5435,7 +5726,7 @@ type GetAccountAuditLogSinksResponse struct { func (m *GetAccountAuditLogSinksResponse) Reset() { *m = GetAccountAuditLogSinksResponse{} } func (*GetAccountAuditLogSinksResponse) ProtoMessage() {} func (*GetAccountAuditLogSinksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{97} + return fileDescriptor_d04330087ace166d, []int{99} } func (m *GetAccountAuditLogSinksResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5478,7 +5769,6 @@ func (m *GetAccountAuditLogSinksResponse) GetNextPageToken() string { return "" } -// temporal:dev type UpdateAccountAuditLogSinkRequest struct { // The updated audit log sink specification. Spec *v15.AuditLogSinkSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` @@ -5492,7 +5782,7 @@ type UpdateAccountAuditLogSinkRequest struct { func (m *UpdateAccountAuditLogSinkRequest) Reset() { *m = UpdateAccountAuditLogSinkRequest{} } func (*UpdateAccountAuditLogSinkRequest) ProtoMessage() {} func (*UpdateAccountAuditLogSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{98} + return fileDescriptor_d04330087ace166d, []int{100} } func (m *UpdateAccountAuditLogSinkRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5542,7 +5832,6 @@ func (m *UpdateAccountAuditLogSinkRequest) GetAsyncOperationId() string { return "" } -// temporal:dev type UpdateAccountAuditLogSinkResponse struct { // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` @@ -5551,7 +5840,7 @@ type UpdateAccountAuditLogSinkResponse struct { func (m *UpdateAccountAuditLogSinkResponse) Reset() { *m = UpdateAccountAuditLogSinkResponse{} } func (*UpdateAccountAuditLogSinkResponse) ProtoMessage() {} func (*UpdateAccountAuditLogSinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{99} + return fileDescriptor_d04330087ace166d, []int{101} } func (m *UpdateAccountAuditLogSinkResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5587,7 +5876,6 @@ func (m *UpdateAccountAuditLogSinkResponse) GetAsyncOperation() *v11.AsyncOperat return nil } -// temporal:dev type DeleteAccountAuditLogSinkRequest struct { // The name of the sink to delete. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` @@ -5601,7 +5889,7 @@ type DeleteAccountAuditLogSinkRequest struct { func (m *DeleteAccountAuditLogSinkRequest) Reset() { *m = DeleteAccountAuditLogSinkRequest{} } func (*DeleteAccountAuditLogSinkRequest) ProtoMessage() {} func (*DeleteAccountAuditLogSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{100} + return fileDescriptor_d04330087ace166d, []int{102} } func (m *DeleteAccountAuditLogSinkRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5651,7 +5939,6 @@ func (m *DeleteAccountAuditLogSinkRequest) GetAsyncOperationId() string { return "" } -// temporal:dev type DeleteAccountAuditLogSinkResponse struct { // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` @@ -5660,7 +5947,7 @@ type DeleteAccountAuditLogSinkResponse struct { func (m *DeleteAccountAuditLogSinkResponse) Reset() { *m = DeleteAccountAuditLogSinkResponse{} } func (*DeleteAccountAuditLogSinkResponse) ProtoMessage() {} func (*DeleteAccountAuditLogSinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{101} + return fileDescriptor_d04330087ace166d, []int{103} } func (m *DeleteAccountAuditLogSinkResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5696,7 +5983,6 @@ func (m *DeleteAccountAuditLogSinkResponse) GetAsyncOperation() *v11.AsyncOperat return nil } -// temporal:dev type GetAuditLogsRequest struct { // The requested size of the page to retrieve - optional. // Cannot exceed 1000. Defaults to 100. @@ -5712,7 +5998,7 @@ type GetAuditLogsRequest struct { func (m *GetAuditLogsRequest) Reset() { *m = GetAuditLogsRequest{} } func (*GetAuditLogsRequest) ProtoMessage() {} func (*GetAuditLogsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{102} + return fileDescriptor_d04330087ace166d, []int{104} } func (m *GetAuditLogsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5769,10 +6055,9 @@ func (m *GetAuditLogsRequest) GetEndTimeExclusive() *types.Timestamp { return nil } -// temporal:dev type GetAuditLogsResponse struct { - // The list of audit logs ordered by inserted time, emit time, log_id - Logs []*v16.LogRecord `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` + // The list of audit logs ordered by emit time, log_id + Logs []*v17.LogRecord `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` // The next page's token. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } @@ -5780,7 +6065,7 @@ type GetAuditLogsResponse struct { func (m *GetAuditLogsResponse) Reset() { *m = GetAuditLogsResponse{} } func (*GetAuditLogsResponse) ProtoMessage() {} func (*GetAuditLogsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{103} + return fileDescriptor_d04330087ace166d, []int{105} } func (m *GetAuditLogsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5809,7 +6094,7 @@ func (m *GetAuditLogsResponse) XXX_DiscardUnknown() { var xxx_messageInfo_GetAuditLogsResponse proto.InternalMessageInfo -func (m *GetAuditLogsResponse) GetLogs() []*v16.LogRecord { +func (m *GetAuditLogsResponse) GetLogs() []*v17.LogRecord { if m != nil { return m.Logs } @@ -5845,7 +6130,7 @@ type GetUsageRequest struct { func (m *GetUsageRequest) Reset() { *m = GetUsageRequest{} } func (*GetUsageRequest) ProtoMessage() {} func (*GetUsageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{104} + return fileDescriptor_d04330087ace166d, []int{106} } func (m *GetUsageRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5905,7 +6190,7 @@ func (m *GetUsageRequest) GetPageToken() string { type GetUsageResponse struct { // The list of data based on granularity (per Day for now) // Ordered by: time range in ascending order - Summaries []*v17.Summary `protobuf:"bytes,1,rep,name=summaries,proto3" json:"summaries,omitempty"` + Summaries []*v18.Summary `protobuf:"bytes,1,rep,name=summaries,proto3" json:"summaries,omitempty"` // The next page's token. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } @@ -5913,7 +6198,7 @@ type GetUsageResponse struct { func (m *GetUsageResponse) Reset() { *m = GetUsageResponse{} } func (*GetUsageResponse) ProtoMessage() {} func (*GetUsageResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{105} + return fileDescriptor_d04330087ace166d, []int{107} } func (m *GetUsageResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5942,7 +6227,7 @@ func (m *GetUsageResponse) XXX_DiscardUnknown() { var xxx_messageInfo_GetUsageResponse proto.InternalMessageInfo -func (m *GetUsageResponse) GetSummaries() []*v17.Summary { +func (m *GetUsageResponse) GetSummaries() []*v18.Summary { if m != nil { return m.Summaries } @@ -5962,7 +6247,7 @@ type GetAccountRequest struct { func (m *GetAccountRequest) Reset() { *m = GetAccountRequest{} } func (*GetAccountRequest) ProtoMessage() {} func (*GetAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{106} + return fileDescriptor_d04330087ace166d, []int{108} } func (m *GetAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5999,7 +6284,7 @@ type GetAccountResponse struct { func (m *GetAccountResponse) Reset() { *m = GetAccountResponse{} } func (*GetAccountResponse) ProtoMessage() {} func (*GetAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{107} + return fileDescriptor_d04330087ace166d, []int{109} } func (m *GetAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6047,7 +6332,7 @@ type CreateNamespaceExportSinkRequest struct { func (m *CreateNamespaceExportSinkRequest) Reset() { *m = CreateNamespaceExportSinkRequest{} } func (*CreateNamespaceExportSinkRequest) ProtoMessage() {} func (*CreateNamespaceExportSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{108} + return fileDescriptor_d04330087ace166d, []int{110} } func (m *CreateNamespaceExportSinkRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6105,7 +6390,7 @@ type CreateNamespaceExportSinkResponse struct { func (m *CreateNamespaceExportSinkResponse) Reset() { *m = CreateNamespaceExportSinkResponse{} } func (*CreateNamespaceExportSinkResponse) ProtoMessage() {} func (*CreateNamespaceExportSinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{109} + return fileDescriptor_d04330087ace166d, []int{111} } func (m *CreateNamespaceExportSinkResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6151,7 +6436,7 @@ type GetNamespaceExportSinkRequest struct { func (m *GetNamespaceExportSinkRequest) Reset() { *m = GetNamespaceExportSinkRequest{} } func (*GetNamespaceExportSinkRequest) ProtoMessage() {} func (*GetNamespaceExportSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{110} + return fileDescriptor_d04330087ace166d, []int{112} } func (m *GetNamespaceExportSinkRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6202,7 +6487,7 @@ type GetNamespaceExportSinkResponse struct { func (m *GetNamespaceExportSinkResponse) Reset() { *m = GetNamespaceExportSinkResponse{} } func (*GetNamespaceExportSinkResponse) ProtoMessage() {} func (*GetNamespaceExportSinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{111} + return fileDescriptor_d04330087ace166d, []int{113} } func (m *GetNamespaceExportSinkResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6251,7 +6536,7 @@ type GetNamespaceExportSinksRequest struct { func (m *GetNamespaceExportSinksRequest) Reset() { *m = GetNamespaceExportSinksRequest{} } func (*GetNamespaceExportSinksRequest) ProtoMessage() {} func (*GetNamespaceExportSinksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{112} + return fileDescriptor_d04330087ace166d, []int{114} } func (m *GetNamespaceExportSinksRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6311,7 +6596,7 @@ type GetNamespaceExportSinksResponse struct { func (m *GetNamespaceExportSinksResponse) Reset() { *m = GetNamespaceExportSinksResponse{} } func (*GetNamespaceExportSinksResponse) ProtoMessage() {} func (*GetNamespaceExportSinksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{113} + return fileDescriptor_d04330087ace166d, []int{115} } func (m *GetNamespaceExportSinksResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6369,7 +6654,7 @@ type UpdateNamespaceExportSinkRequest struct { func (m *UpdateNamespaceExportSinkRequest) Reset() { *m = UpdateNamespaceExportSinkRequest{} } func (*UpdateNamespaceExportSinkRequest) ProtoMessage() {} func (*UpdateNamespaceExportSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{114} + return fileDescriptor_d04330087ace166d, []int{116} } func (m *UpdateNamespaceExportSinkRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6434,7 +6719,7 @@ type UpdateNamespaceExportSinkResponse struct { func (m *UpdateNamespaceExportSinkResponse) Reset() { *m = UpdateNamespaceExportSinkResponse{} } func (*UpdateNamespaceExportSinkResponse) ProtoMessage() {} func (*UpdateNamespaceExportSinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{115} + return fileDescriptor_d04330087ace166d, []int{117} } func (m *UpdateNamespaceExportSinkResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6485,7 +6770,7 @@ type DeleteNamespaceExportSinkRequest struct { func (m *DeleteNamespaceExportSinkRequest) Reset() { *m = DeleteNamespaceExportSinkRequest{} } func (*DeleteNamespaceExportSinkRequest) ProtoMessage() {} func (*DeleteNamespaceExportSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{116} + return fileDescriptor_d04330087ace166d, []int{118} } func (m *DeleteNamespaceExportSinkRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6550,7 +6835,7 @@ type DeleteNamespaceExportSinkResponse struct { func (m *DeleteNamespaceExportSinkResponse) Reset() { *m = DeleteNamespaceExportSinkResponse{} } func (*DeleteNamespaceExportSinkResponse) ProtoMessage() {} func (*DeleteNamespaceExportSinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{117} + return fileDescriptor_d04330087ace166d, []int{119} } func (m *DeleteNamespaceExportSinkResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6596,7 +6881,7 @@ type ValidateNamespaceExportSinkRequest struct { func (m *ValidateNamespaceExportSinkRequest) Reset() { *m = ValidateNamespaceExportSinkRequest{} } func (*ValidateNamespaceExportSinkRequest) ProtoMessage() {} func (*ValidateNamespaceExportSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{118} + return fileDescriptor_d04330087ace166d, []int{120} } func (m *ValidateNamespaceExportSinkRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6645,7 +6930,7 @@ type ValidateNamespaceExportSinkResponse struct { func (m *ValidateNamespaceExportSinkResponse) Reset() { *m = ValidateNamespaceExportSinkResponse{} } func (*ValidateNamespaceExportSinkResponse) ProtoMessage() {} func (*ValidateNamespaceExportSinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{119} + return fileDescriptor_d04330087ace166d, []int{121} } func (m *ValidateNamespaceExportSinkResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6686,7 +6971,7 @@ type StartMigrationRequest struct { func (m *StartMigrationRequest) Reset() { *m = StartMigrationRequest{} } func (*StartMigrationRequest) ProtoMessage() {} func (*StartMigrationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{120} + return fileDescriptor_d04330087ace166d, []int{122} } func (m *StartMigrationRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6740,7 +7025,7 @@ type StartMigrationResponse struct { func (m *StartMigrationResponse) Reset() { *m = StartMigrationResponse{} } func (*StartMigrationResponse) ProtoMessage() {} func (*StartMigrationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{121} + return fileDescriptor_d04330087ace166d, []int{123} } func (m *StartMigrationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6792,7 +7077,7 @@ type GetMigrationRequest struct { func (m *GetMigrationRequest) Reset() { *m = GetMigrationRequest{} } func (*GetMigrationRequest) ProtoMessage() {} func (*GetMigrationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{122} + return fileDescriptor_d04330087ace166d, []int{124} } func (m *GetMigrationRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6837,7 +7122,7 @@ type GetMigrationResponse struct { func (m *GetMigrationResponse) Reset() { *m = GetMigrationResponse{} } func (*GetMigrationResponse) ProtoMessage() {} func (*GetMigrationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{123} + return fileDescriptor_d04330087ace166d, []int{125} } func (m *GetMigrationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6887,7 +7172,7 @@ type GetMigrationsRequest struct { func (m *GetMigrationsRequest) Reset() { *m = GetMigrationsRequest{} } func (*GetMigrationsRequest) ProtoMessage() {} func (*GetMigrationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{124} + return fileDescriptor_d04330087ace166d, []int{126} } func (m *GetMigrationsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6941,7 +7226,7 @@ type GetMigrationsResponse struct { func (m *GetMigrationsResponse) Reset() { *m = GetMigrationsResponse{} } func (*GetMigrationsResponse) ProtoMessage() {} func (*GetMigrationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{125} + return fileDescriptor_d04330087ace166d, []int{127} } func (m *GetMigrationsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6998,7 +7283,7 @@ type HandoverNamespaceRequest struct { func (m *HandoverNamespaceRequest) Reset() { *m = HandoverNamespaceRequest{} } func (*HandoverNamespaceRequest) ProtoMessage() {} func (*HandoverNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{126} + return fileDescriptor_d04330087ace166d, []int{128} } func (m *HandoverNamespaceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7057,7 +7342,7 @@ type HandoverNamespaceResponse struct { func (m *HandoverNamespaceResponse) Reset() { *m = HandoverNamespaceResponse{} } func (*HandoverNamespaceResponse) ProtoMessage() {} func (*HandoverNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{127} + return fileDescriptor_d04330087ace166d, []int{129} } func (m *HandoverNamespaceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7105,7 +7390,7 @@ type ConfirmMigrationRequest struct { func (m *ConfirmMigrationRequest) Reset() { *m = ConfirmMigrationRequest{} } func (*ConfirmMigrationRequest) ProtoMessage() {} func (*ConfirmMigrationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{128} + return fileDescriptor_d04330087ace166d, []int{130} } func (m *ConfirmMigrationRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7157,7 +7442,7 @@ type ConfirmMigrationResponse struct { func (m *ConfirmMigrationResponse) Reset() { *m = ConfirmMigrationResponse{} } func (*ConfirmMigrationResponse) ProtoMessage() {} func (*ConfirmMigrationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{129} + return fileDescriptor_d04330087ace166d, []int{131} } func (m *ConfirmMigrationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7205,7 +7490,7 @@ type AbortMigrationRequest struct { func (m *AbortMigrationRequest) Reset() { *m = AbortMigrationRequest{} } func (*AbortMigrationRequest) ProtoMessage() {} func (*AbortMigrationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{130} + return fileDescriptor_d04330087ace166d, []int{132} } func (m *AbortMigrationRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7257,7 +7542,7 @@ type AbortMigrationResponse struct { func (m *AbortMigrationResponse) Reset() { *m = AbortMigrationResponse{} } func (*AbortMigrationResponse) ProtoMessage() {} func (*AbortMigrationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{131} + return fileDescriptor_d04330087ace166d, []int{133} } func (m *AbortMigrationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7294,16 +7579,20 @@ func (m *AbortMigrationResponse) GetAsyncOperation() *v11.AsyncOperation { } type CreateConnectivityRuleRequest struct { - Spec *v18.ConnectivityRuleSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` - // The id to use for this async operation. - // Optional, if not provided a random id will be generated. + // The connectivity rule specification. + Spec *v19.ConnectivityRuleSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` + // The ID to use for this async operation. + // Optional, if not provided a random ID will be generated. AsyncOperationId string `protobuf:"bytes,2,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` + // The ID of the project this connectivity rule belongs to. + // temporal:dev + ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` } func (m *CreateConnectivityRuleRequest) Reset() { *m = CreateConnectivityRuleRequest{} } func (*CreateConnectivityRuleRequest) ProtoMessage() {} func (*CreateConnectivityRuleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{132} + return fileDescriptor_d04330087ace166d, []int{134} } func (m *CreateConnectivityRuleRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7332,7 +7621,7 @@ func (m *CreateConnectivityRuleRequest) XXX_DiscardUnknown() { var xxx_messageInfo_CreateConnectivityRuleRequest proto.InternalMessageInfo -func (m *CreateConnectivityRuleRequest) GetSpec() *v18.ConnectivityRuleSpec { +func (m *CreateConnectivityRuleRequest) GetSpec() *v19.ConnectivityRuleSpec { if m != nil { return m.Spec } @@ -7346,6 +7635,13 @@ func (m *CreateConnectivityRuleRequest) GetAsyncOperationId() string { return "" } +func (m *CreateConnectivityRuleRequest) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + type CreateConnectivityRuleResponse struct { ConnectivityRuleId string `protobuf:"bytes,1,opt,name=connectivity_rule_id,json=connectivityRuleId,proto3" json:"connectivity_rule_id,omitempty"` // The async operation @@ -7355,7 +7651,7 @@ type CreateConnectivityRuleResponse struct { func (m *CreateConnectivityRuleResponse) Reset() { *m = CreateConnectivityRuleResponse{} } func (*CreateConnectivityRuleResponse) ProtoMessage() {} func (*CreateConnectivityRuleResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{133} + return fileDescriptor_d04330087ace166d, []int{135} } func (m *CreateConnectivityRuleResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7405,7 +7701,7 @@ type GetConnectivityRuleRequest struct { func (m *GetConnectivityRuleRequest) Reset() { *m = GetConnectivityRuleRequest{} } func (*GetConnectivityRuleRequest) ProtoMessage() {} func (*GetConnectivityRuleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{134} + return fileDescriptor_d04330087ace166d, []int{136} } func (m *GetConnectivityRuleRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7442,13 +7738,13 @@ func (m *GetConnectivityRuleRequest) GetConnectivityRuleId() string { } type GetConnectivityRuleResponse struct { - ConnectivityRule *v18.ConnectivityRule `protobuf:"bytes,1,opt,name=connectivity_rule,json=connectivityRule,proto3" json:"connectivity_rule,omitempty"` + ConnectivityRule *v19.ConnectivityRule `protobuf:"bytes,1,opt,name=connectivity_rule,json=connectivityRule,proto3" json:"connectivity_rule,omitempty"` } func (m *GetConnectivityRuleResponse) Reset() { *m = GetConnectivityRuleResponse{} } func (*GetConnectivityRuleResponse) ProtoMessage() {} func (*GetConnectivityRuleResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{135} + return fileDescriptor_d04330087ace166d, []int{137} } func (m *GetConnectivityRuleResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7477,7 +7773,7 @@ func (m *GetConnectivityRuleResponse) XXX_DiscardUnknown() { var xxx_messageInfo_GetConnectivityRuleResponse proto.InternalMessageInfo -func (m *GetConnectivityRuleResponse) GetConnectivityRule() *v18.ConnectivityRule { +func (m *GetConnectivityRuleResponse) GetConnectivityRule() *v19.ConnectivityRule { if m != nil { return m.ConnectivityRule } @@ -7491,14 +7787,17 @@ type GetConnectivityRulesRequest struct { // The page token if this is continuing from another response. // Optional, defaults to empty. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // Namespace id + // Filter by namespace ID. Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` + // Filter by project ID. + // temporal:dev + ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` } func (m *GetConnectivityRulesRequest) Reset() { *m = GetConnectivityRulesRequest{} } func (*GetConnectivityRulesRequest) ProtoMessage() {} func (*GetConnectivityRulesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{136} + return fileDescriptor_d04330087ace166d, []int{138} } func (m *GetConnectivityRulesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7548,9 +7847,16 @@ func (m *GetConnectivityRulesRequest) GetNamespace() string { return "" } +func (m *GetConnectivityRulesRequest) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + type GetConnectivityRulesResponse struct { // connectivity_rules returned - ConnectivityRules []*v18.ConnectivityRule `protobuf:"bytes,1,rep,name=connectivity_rules,json=connectivityRules,proto3" json:"connectivity_rules,omitempty"` + ConnectivityRules []*v19.ConnectivityRule `protobuf:"bytes,1,rep,name=connectivity_rules,json=connectivityRules,proto3" json:"connectivity_rules,omitempty"` // The next page token NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } @@ -7558,7 +7864,7 @@ type GetConnectivityRulesResponse struct { func (m *GetConnectivityRulesResponse) Reset() { *m = GetConnectivityRulesResponse{} } func (*GetConnectivityRulesResponse) ProtoMessage() {} func (*GetConnectivityRulesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{137} + return fileDescriptor_d04330087ace166d, []int{139} } func (m *GetConnectivityRulesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7587,7 +7893,7 @@ func (m *GetConnectivityRulesResponse) XXX_DiscardUnknown() { var xxx_messageInfo_GetConnectivityRulesResponse proto.InternalMessageInfo -func (m *GetConnectivityRulesResponse) GetConnectivityRules() []*v18.ConnectivityRule { +func (m *GetConnectivityRulesResponse) GetConnectivityRules() []*v19.ConnectivityRule { if m != nil { return m.ConnectivityRules } @@ -7614,7 +7920,7 @@ type DeleteConnectivityRuleRequest struct { func (m *DeleteConnectivityRuleRequest) Reset() { *m = DeleteConnectivityRuleRequest{} } func (*DeleteConnectivityRuleRequest) ProtoMessage() {} func (*DeleteConnectivityRuleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{138} + return fileDescriptor_d04330087ace166d, []int{140} } func (m *DeleteConnectivityRuleRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7672,7 +7978,7 @@ type DeleteConnectivityRuleResponse struct { func (m *DeleteConnectivityRuleResponse) Reset() { *m = DeleteConnectivityRuleResponse{} } func (*DeleteConnectivityRuleResponse) ProtoMessage() {} func (*DeleteConnectivityRuleResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{139} + return fileDescriptor_d04330087ace166d, []int{141} } func (m *DeleteConnectivityRuleResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7720,7 +8026,7 @@ type GetProjectsRequest struct { func (m *GetProjectsRequest) Reset() { *m = GetProjectsRequest{} } func (*GetProjectsRequest) ProtoMessage() {} func (*GetProjectsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{140} + return fileDescriptor_d04330087ace166d, []int{142} } func (m *GetProjectsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7766,7 +8072,7 @@ func (m *GetProjectsRequest) GetPageToken() string { // temporal:dev type GetProjectsResponse struct { // The list of projects in ascending ids order - Projects []*v19.Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"` + Projects []*v110.Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"` // The next page's token NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } @@ -7774,7 +8080,7 @@ type GetProjectsResponse struct { func (m *GetProjectsResponse) Reset() { *m = GetProjectsResponse{} } func (*GetProjectsResponse) ProtoMessage() {} func (*GetProjectsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{141} + return fileDescriptor_d04330087ace166d, []int{143} } func (m *GetProjectsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7803,7 +8109,7 @@ func (m *GetProjectsResponse) XXX_DiscardUnknown() { var xxx_messageInfo_GetProjectsResponse proto.InternalMessageInfo -func (m *GetProjectsResponse) GetProjects() []*v19.Project { +func (m *GetProjectsResponse) GetProjects() []*v110.Project { if m != nil { return m.Projects } @@ -7826,7 +8132,7 @@ type GetProjectRequest struct { func (m *GetProjectRequest) Reset() { *m = GetProjectRequest{} } func (*GetProjectRequest) ProtoMessage() {} func (*GetProjectRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{142} + return fileDescriptor_d04330087ace166d, []int{144} } func (m *GetProjectRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7865,13 +8171,13 @@ func (m *GetProjectRequest) GetProjectId() string { // temporal:dev type GetProjectResponse struct { // The project - Project *v19.Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` + Project *v110.Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` } func (m *GetProjectResponse) Reset() { *m = GetProjectResponse{} } func (*GetProjectResponse) ProtoMessage() {} func (*GetProjectResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{143} + return fileDescriptor_d04330087ace166d, []int{145} } func (m *GetProjectResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7900,7 +8206,7 @@ func (m *GetProjectResponse) XXX_DiscardUnknown() { var xxx_messageInfo_GetProjectResponse proto.InternalMessageInfo -func (m *GetProjectResponse) GetProject() *v19.Project { +func (m *GetProjectResponse) GetProject() *v110.Project { if m != nil { return m.Project } @@ -7910,7 +8216,7 @@ func (m *GetProjectResponse) GetProject() *v19.Project { // temporal:dev type CreateProjectRequest struct { // The spec for the project to create. - Spec *v19.ProjectSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` + Spec *v110.ProjectSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` // The id to use for this async operation. // Optional, if not provided a random id will be generated. AsyncOperationId string `protobuf:"bytes,2,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` @@ -7919,7 +8225,7 @@ type CreateProjectRequest struct { func (m *CreateProjectRequest) Reset() { *m = CreateProjectRequest{} } func (*CreateProjectRequest) ProtoMessage() {} func (*CreateProjectRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{144} + return fileDescriptor_d04330087ace166d, []int{146} } func (m *CreateProjectRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7948,7 +8254,7 @@ func (m *CreateProjectRequest) XXX_DiscardUnknown() { var xxx_messageInfo_CreateProjectRequest proto.InternalMessageInfo -func (m *CreateProjectRequest) GetSpec() *v19.ProjectSpec { +func (m *CreateProjectRequest) GetSpec() *v110.ProjectSpec { if m != nil { return m.Spec } @@ -7973,7 +8279,7 @@ type CreateProjectResponse struct { func (m *CreateProjectResponse) Reset() { *m = CreateProjectResponse{} } func (*CreateProjectResponse) ProtoMessage() {} func (*CreateProjectResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{145} + return fileDescriptor_d04330087ace166d, []int{147} } func (m *CreateProjectResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8021,7 +8327,7 @@ type UpdateProjectRequest struct { // The id of the project to update. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The new project specification. - Spec *v19.ProjectSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + Spec *v110.ProjectSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` // The version of the project for which this update is intended for. // The latest version can be found in the GetProject operation response. ResourceVersion string `protobuf:"bytes,3,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` @@ -8033,7 +8339,7 @@ type UpdateProjectRequest struct { func (m *UpdateProjectRequest) Reset() { *m = UpdateProjectRequest{} } func (*UpdateProjectRequest) ProtoMessage() {} func (*UpdateProjectRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{146} + return fileDescriptor_d04330087ace166d, []int{148} } func (m *UpdateProjectRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8069,7 +8375,7 @@ func (m *UpdateProjectRequest) GetProjectId() string { return "" } -func (m *UpdateProjectRequest) GetSpec() *v19.ProjectSpec { +func (m *UpdateProjectRequest) GetSpec() *v110.ProjectSpec { if m != nil { return m.Spec } @@ -8099,7 +8405,7 @@ type UpdateProjectResponse struct { func (m *UpdateProjectResponse) Reset() { *m = UpdateProjectResponse{} } func (*UpdateProjectResponse) ProtoMessage() {} func (*UpdateProjectResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{147} + return fileDescriptor_d04330087ace166d, []int{149} } func (m *UpdateProjectResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8150,7 +8456,7 @@ type DeleteProjectRequest struct { func (m *DeleteProjectRequest) Reset() { *m = DeleteProjectRequest{} } func (*DeleteProjectRequest) ProtoMessage() {} func (*DeleteProjectRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{148} + return fileDescriptor_d04330087ace166d, []int{150} } func (m *DeleteProjectRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8209,7 +8515,7 @@ type DeleteProjectResponse struct { func (m *DeleteProjectResponse) Reset() { *m = DeleteProjectResponse{} } func (*DeleteProjectResponse) ProtoMessage() {} func (*DeleteProjectResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{149} + return fileDescriptor_d04330087ace166d, []int{151} } func (m *DeleteProjectResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8245,6 +8551,389 @@ func (m *DeleteProjectResponse) GetAsyncOperation() *v11.AsyncOperation { return nil } +// temporal:dev +type SetUserGroupProjectAccessRequest struct { + // The project to set permissions for. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + // The id of the group to set permissions for. + GroupId string `protobuf:"bytes,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + // The project access to assign the group. If left empty, the group will be removed from the project access. + Access *v1.ProjectAccess `protobuf:"bytes,3,opt,name=access,proto3" json:"access,omitempty"` + // The version of the group for which this update is intended for. + // The latest version can be found in the GetGroup operation response. + ResourceVersion string `protobuf:"bytes,4,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` + // The id to use for this async operation - optional. + AsyncOperationId string `protobuf:"bytes,5,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` +} + +func (m *SetUserGroupProjectAccessRequest) Reset() { *m = SetUserGroupProjectAccessRequest{} } +func (*SetUserGroupProjectAccessRequest) ProtoMessage() {} +func (*SetUserGroupProjectAccessRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{152} +} +func (m *SetUserGroupProjectAccessRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SetUserGroupProjectAccessRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SetUserGroupProjectAccessRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SetUserGroupProjectAccessRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetUserGroupProjectAccessRequest.Merge(m, src) +} +func (m *SetUserGroupProjectAccessRequest) XXX_Size() int { + return m.Size() +} +func (m *SetUserGroupProjectAccessRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SetUserGroupProjectAccessRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SetUserGroupProjectAccessRequest proto.InternalMessageInfo + +func (m *SetUserGroupProjectAccessRequest) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + +func (m *SetUserGroupProjectAccessRequest) GetGroupId() string { + if m != nil { + return m.GroupId + } + return "" +} + +func (m *SetUserGroupProjectAccessRequest) GetAccess() *v1.ProjectAccess { + if m != nil { + return m.Access + } + return nil +} + +func (m *SetUserGroupProjectAccessRequest) GetResourceVersion() string { + if m != nil { + return m.ResourceVersion + } + return "" +} + +func (m *SetUserGroupProjectAccessRequest) GetAsyncOperationId() string { + if m != nil { + return m.AsyncOperationId + } + return "" +} + +// temporal:dev +type SetUserGroupProjectAccessResponse struct { + // The async operation. + AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` +} + +func (m *SetUserGroupProjectAccessResponse) Reset() { *m = SetUserGroupProjectAccessResponse{} } +func (*SetUserGroupProjectAccessResponse) ProtoMessage() {} +func (*SetUserGroupProjectAccessResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{153} +} +func (m *SetUserGroupProjectAccessResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SetUserGroupProjectAccessResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SetUserGroupProjectAccessResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SetUserGroupProjectAccessResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetUserGroupProjectAccessResponse.Merge(m, src) +} +func (m *SetUserGroupProjectAccessResponse) XXX_Size() int { + return m.Size() +} +func (m *SetUserGroupProjectAccessResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SetUserGroupProjectAccessResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_SetUserGroupProjectAccessResponse proto.InternalMessageInfo + +func (m *SetUserGroupProjectAccessResponse) GetAsyncOperation() *v11.AsyncOperation { + if m != nil { + return m.AsyncOperation + } + return nil +} + +// temporal:dev +type SetUserProjectAccessRequest struct { + // The project to set permissions for. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + // The id of the group to set permissions for. + UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + // The project access to assign the group. If left empty, the group will be removed from the project access. + Access *v1.ProjectAccess `protobuf:"bytes,3,opt,name=access,proto3" json:"access,omitempty"` + // The version of the user for which this update is intended for. + // The latest version can be found in the GetUser operation response. + ResourceVersion string `protobuf:"bytes,4,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` + // The id to use for this async operation - optional. + AsyncOperationId string `protobuf:"bytes,5,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` +} + +func (m *SetUserProjectAccessRequest) Reset() { *m = SetUserProjectAccessRequest{} } +func (*SetUserProjectAccessRequest) ProtoMessage() {} +func (*SetUserProjectAccessRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{154} +} +func (m *SetUserProjectAccessRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SetUserProjectAccessRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SetUserProjectAccessRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SetUserProjectAccessRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetUserProjectAccessRequest.Merge(m, src) +} +func (m *SetUserProjectAccessRequest) XXX_Size() int { + return m.Size() +} +func (m *SetUserProjectAccessRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SetUserProjectAccessRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SetUserProjectAccessRequest proto.InternalMessageInfo + +func (m *SetUserProjectAccessRequest) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + +func (m *SetUserProjectAccessRequest) GetUserId() string { + if m != nil { + return m.UserId + } + return "" +} + +func (m *SetUserProjectAccessRequest) GetAccess() *v1.ProjectAccess { + if m != nil { + return m.Access + } + return nil +} + +func (m *SetUserProjectAccessRequest) GetResourceVersion() string { + if m != nil { + return m.ResourceVersion + } + return "" +} + +func (m *SetUserProjectAccessRequest) GetAsyncOperationId() string { + if m != nil { + return m.AsyncOperationId + } + return "" +} + +// temporal:dev +type SetUserProjectAccessResponse struct { + // The async operation. + AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` +} + +func (m *SetUserProjectAccessResponse) Reset() { *m = SetUserProjectAccessResponse{} } +func (*SetUserProjectAccessResponse) ProtoMessage() {} +func (*SetUserProjectAccessResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{155} +} +func (m *SetUserProjectAccessResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SetUserProjectAccessResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SetUserProjectAccessResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SetUserProjectAccessResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetUserProjectAccessResponse.Merge(m, src) +} +func (m *SetUserProjectAccessResponse) XXX_Size() int { + return m.Size() +} +func (m *SetUserProjectAccessResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SetUserProjectAccessResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_SetUserProjectAccessResponse proto.InternalMessageInfo + +func (m *SetUserProjectAccessResponse) GetAsyncOperation() *v11.AsyncOperation { + if m != nil { + return m.AsyncOperation + } + return nil +} + +// temporal:dev +type SetServiceAccountProjectAccessRequest struct { + // The project to set permissions for. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + // The id of the group to set permissions for. + ServiceAccountId string `protobuf:"bytes,2,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` + // The project access to assign the group. If left empty, the group will be removed from the project access. + Access *v1.ProjectAccess `protobuf:"bytes,3,opt,name=access,proto3" json:"access,omitempty"` + // The version of the service account for which this update is intended for. + // The latest version can be found in the GetServiceAccount operation response. + ResourceVersion string `protobuf:"bytes,4,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` + // The id to use for this async operation - optional. + AsyncOperationId string `protobuf:"bytes,5,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` +} + +func (m *SetServiceAccountProjectAccessRequest) Reset() { *m = SetServiceAccountProjectAccessRequest{} } +func (*SetServiceAccountProjectAccessRequest) ProtoMessage() {} +func (*SetServiceAccountProjectAccessRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{156} +} +func (m *SetServiceAccountProjectAccessRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SetServiceAccountProjectAccessRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SetServiceAccountProjectAccessRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SetServiceAccountProjectAccessRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetServiceAccountProjectAccessRequest.Merge(m, src) +} +func (m *SetServiceAccountProjectAccessRequest) XXX_Size() int { + return m.Size() +} +func (m *SetServiceAccountProjectAccessRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SetServiceAccountProjectAccessRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SetServiceAccountProjectAccessRequest proto.InternalMessageInfo + +func (m *SetServiceAccountProjectAccessRequest) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + +func (m *SetServiceAccountProjectAccessRequest) GetServiceAccountId() string { + if m != nil { + return m.ServiceAccountId + } + return "" +} + +func (m *SetServiceAccountProjectAccessRequest) GetAccess() *v1.ProjectAccess { + if m != nil { + return m.Access + } + return nil +} + +func (m *SetServiceAccountProjectAccessRequest) GetResourceVersion() string { + if m != nil { + return m.ResourceVersion + } + return "" +} + +func (m *SetServiceAccountProjectAccessRequest) GetAsyncOperationId() string { + if m != nil { + return m.AsyncOperationId + } + return "" +} + +// temporal:dev +type SetServiceAccountProjectAccessResponse struct { + // The async operation. + AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` +} + +func (m *SetServiceAccountProjectAccessResponse) Reset() { + *m = SetServiceAccountProjectAccessResponse{} +} +func (*SetServiceAccountProjectAccessResponse) ProtoMessage() {} +func (*SetServiceAccountProjectAccessResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{157} +} +func (m *SetServiceAccountProjectAccessResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SetServiceAccountProjectAccessResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SetServiceAccountProjectAccessResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SetServiceAccountProjectAccessResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetServiceAccountProjectAccessResponse.Merge(m, src) +} +func (m *SetServiceAccountProjectAccessResponse) XXX_Size() int { + return m.Size() +} +func (m *SetServiceAccountProjectAccessResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SetServiceAccountProjectAccessResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_SetServiceAccountProjectAccessResponse proto.InternalMessageInfo + +func (m *SetServiceAccountProjectAccessResponse) GetAsyncOperation() *v11.AsyncOperation { + if m != nil { + return m.AsyncOperation + } + return nil +} + // temporal:skip_validation_rule=MessageRuleUpdateRequest type UpdateNamespaceTagsRequest struct { // The namespace to set tags for. @@ -8264,7 +8953,7 @@ type UpdateNamespaceTagsRequest struct { func (m *UpdateNamespaceTagsRequest) Reset() { *m = UpdateNamespaceTagsRequest{} } func (*UpdateNamespaceTagsRequest) ProtoMessage() {} func (*UpdateNamespaceTagsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{150} + return fileDescriptor_d04330087ace166d, []int{158} } func (m *UpdateNamespaceTagsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8329,7 +9018,7 @@ type UpdateNamespaceTagsResponse struct { func (m *UpdateNamespaceTagsResponse) Reset() { *m = UpdateNamespaceTagsResponse{} } func (*UpdateNamespaceTagsResponse) ProtoMessage() {} func (*UpdateNamespaceTagsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{151} + return fileDescriptor_d04330087ace166d, []int{159} } func (m *UpdateNamespaceTagsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8376,7 +9065,7 @@ type ResendUserInviteRequest struct { func (m *ResendUserInviteRequest) Reset() { *m = ResendUserInviteRequest{} } func (*ResendUserInviteRequest) ProtoMessage() {} func (*ResendUserInviteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{152} + return fileDescriptor_d04330087ace166d, []int{160} } func (m *ResendUserInviteRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8428,7 +9117,7 @@ type ResendUserInviteResponse struct { func (m *ResendUserInviteResponse) Reset() { *m = ResendUserInviteResponse{} } func (*ResendUserInviteResponse) ProtoMessage() {} func (*ResendUserInviteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{153} + return fileDescriptor_d04330087ace166d, []int{161} } func (m *ResendUserInviteResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8473,7 +9162,7 @@ type GetTagKeysRequest struct { func (m *GetTagKeysRequest) Reset() { *m = GetTagKeysRequest{} } func (*GetTagKeysRequest) ProtoMessage() {} func (*GetTagKeysRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{154} + return fileDescriptor_d04330087ace166d, []int{162} } func (m *GetTagKeysRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8519,7 +9208,7 @@ type GetTagKeysResponse struct { func (m *GetTagKeysResponse) Reset() { *m = GetTagKeysResponse{} } func (*GetTagKeysResponse) ProtoMessage() {} func (*GetTagKeysResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{155} + return fileDescriptor_d04330087ace166d, []int{163} } func (m *GetTagKeysResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8555,602 +9244,1308 @@ func (m *GetTagKeysResponse) GetTagKeys() []string { return nil } -func init() { - proto.RegisterType((*GetUsersRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetUsersRequest") - proto.RegisterType((*GetUsersResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetUsersResponse") - proto.RegisterType((*GetUserRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetUserRequest") - proto.RegisterType((*GetUserResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetUserResponse") - proto.RegisterType((*CreateUserRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateUserRequest") - proto.RegisterType((*CreateUserResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateUserResponse") - proto.RegisterType((*UpdateUserRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateUserRequest") - proto.RegisterType((*UpdateUserResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateUserResponse") - proto.RegisterType((*DeleteUserRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteUserRequest") - proto.RegisterType((*DeleteUserResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteUserResponse") - proto.RegisterType((*SetUserNamespaceAccessRequest)(nil), "temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessRequest") - proto.RegisterType((*SetUserNamespaceAccessResponse)(nil), "temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessResponse") - proto.RegisterType((*GetAsyncOperationRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetAsyncOperationRequest") - proto.RegisterType((*GetAsyncOperationResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetAsyncOperationResponse") - proto.RegisterType((*CreateNamespaceRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest") - proto.RegisterMapType((map[string]string)(nil), "temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest.TagsEntry") - proto.RegisterType((*CreateNamespaceResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateNamespaceResponse") - proto.RegisterType((*GetNamespacesRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespacesRequest") - proto.RegisterType((*GetNamespacesResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespacesResponse") - proto.RegisterType((*GetNamespaceIDsRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespaceIDsRequest") - proto.RegisterType((*GetNamespaceIDsResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespaceIDsResponse") - proto.RegisterType((*GetNamespaceRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespaceRequest") - proto.RegisterType((*GetNamespaceResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespaceResponse") - proto.RegisterType((*UpdateNamespaceRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateNamespaceRequest") - proto.RegisterType((*UpdateNamespaceResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateNamespaceResponse") - proto.RegisterType((*RenameCustomSearchAttributeRequest)(nil), "temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeRequest") - proto.RegisterType((*RenameCustomSearchAttributeResponse)(nil), "temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeResponse") - proto.RegisterType((*DeleteNamespaceRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteNamespaceRequest") - proto.RegisterType((*DeleteNamespaceResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteNamespaceResponse") - proto.RegisterType((*FailoverNamespaceRegionRequest)(nil), "temporal.api.cloud.cloudservice.v1.FailoverNamespaceRegionRequest") - proto.RegisterType((*FailoverNamespaceRegionResponse)(nil), "temporal.api.cloud.cloudservice.v1.FailoverNamespaceRegionResponse") - proto.RegisterType((*AddNamespaceRegionRequest)(nil), "temporal.api.cloud.cloudservice.v1.AddNamespaceRegionRequest") - proto.RegisterType((*AddNamespaceRegionResponse)(nil), "temporal.api.cloud.cloudservice.v1.AddNamespaceRegionResponse") - proto.RegisterType((*DeleteNamespaceRegionRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionRequest") - proto.RegisterType((*DeleteNamespaceRegionResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionResponse") - proto.RegisterType((*GetRegionsRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetRegionsRequest") - proto.RegisterType((*GetRegionsResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetRegionsResponse") - proto.RegisterType((*GetRegionRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetRegionRequest") - proto.RegisterType((*GetRegionResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetRegionResponse") - proto.RegisterType((*GetNexusEndpointsRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetNexusEndpointsRequest") - proto.RegisterType((*GetNexusEndpointsResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetNexusEndpointsResponse") - proto.RegisterType((*GetNexusEndpointRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetNexusEndpointRequest") - proto.RegisterType((*GetNexusEndpointResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetNexusEndpointResponse") - proto.RegisterType((*CreateNexusEndpointRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateNexusEndpointRequest") - proto.RegisterType((*CreateNexusEndpointResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateNexusEndpointResponse") - proto.RegisterType((*UpdateNexusEndpointRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointRequest") - proto.RegisterType((*UpdateNexusEndpointResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointResponse") - proto.RegisterType((*DeleteNexusEndpointRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointRequest") - proto.RegisterType((*DeleteNexusEndpointResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointResponse") - proto.RegisterType((*UpdateAccountRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateAccountRequest") - proto.RegisterType((*UpdateAccountResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateAccountResponse") - proto.RegisterType((*GetUserGroupsRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest") - proto.RegisterType((*GetUserGroupsRequest_GoogleGroupFilter)(nil), "temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.GoogleGroupFilter") - proto.RegisterType((*GetUserGroupsRequest_SCIMGroupFilter)(nil), "temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.SCIMGroupFilter") - proto.RegisterType((*GetUserGroupsResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetUserGroupsResponse") - proto.RegisterType((*GetUserGroupRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetUserGroupRequest") - proto.RegisterType((*GetUserGroupResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetUserGroupResponse") - proto.RegisterType((*CreateUserGroupRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateUserGroupRequest") - proto.RegisterType((*CreateUserGroupResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateUserGroupResponse") - proto.RegisterType((*UpdateUserGroupRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateUserGroupRequest") - proto.RegisterType((*UpdateUserGroupResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateUserGroupResponse") - proto.RegisterType((*DeleteUserGroupRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteUserGroupRequest") - proto.RegisterType((*DeleteUserGroupResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteUserGroupResponse") - proto.RegisterType((*SetUserGroupNamespaceAccessRequest)(nil), "temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessRequest") - proto.RegisterType((*SetUserGroupNamespaceAccessResponse)(nil), "temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessResponse") - proto.RegisterType((*AddUserGroupMemberRequest)(nil), "temporal.api.cloud.cloudservice.v1.AddUserGroupMemberRequest") - proto.RegisterType((*AddUserGroupMemberResponse)(nil), "temporal.api.cloud.cloudservice.v1.AddUserGroupMemberResponse") - proto.RegisterType((*RemoveUserGroupMemberRequest)(nil), "temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberRequest") - proto.RegisterType((*RemoveUserGroupMemberResponse)(nil), "temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberResponse") - proto.RegisterType((*GetUserGroupMembersRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetUserGroupMembersRequest") - proto.RegisterType((*GetUserGroupMembersResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetUserGroupMembersResponse") - proto.RegisterType((*CreateServiceAccountRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateServiceAccountRequest") - proto.RegisterType((*CreateServiceAccountResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateServiceAccountResponse") - proto.RegisterType((*GetServiceAccountRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetServiceAccountRequest") - proto.RegisterType((*GetServiceAccountResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetServiceAccountResponse") - proto.RegisterType((*GetServiceAccountsRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetServiceAccountsRequest") - proto.RegisterType((*GetServiceAccountsResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetServiceAccountsResponse") - proto.RegisterType((*UpdateServiceAccountRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateServiceAccountRequest") - proto.RegisterType((*UpdateServiceAccountResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateServiceAccountResponse") - proto.RegisterType((*SetServiceAccountNamespaceAccessRequest)(nil), "temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest") - proto.RegisterType((*SetServiceAccountNamespaceAccessResponse)(nil), "temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse") - proto.RegisterType((*DeleteServiceAccountRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteServiceAccountRequest") - proto.RegisterType((*DeleteServiceAccountResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteServiceAccountResponse") - proto.RegisterType((*GetApiKeysRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetApiKeysRequest") - proto.RegisterType((*GetApiKeysResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetApiKeysResponse") - proto.RegisterType((*GetApiKeyRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetApiKeyRequest") - proto.RegisterType((*GetApiKeyResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetApiKeyResponse") - proto.RegisterType((*CreateApiKeyRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateApiKeyRequest") - proto.RegisterType((*CreateApiKeyResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateApiKeyResponse") - proto.RegisterType((*UpdateApiKeyRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateApiKeyRequest") - proto.RegisterType((*UpdateApiKeyResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateApiKeyResponse") - proto.RegisterType((*DeleteApiKeyRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteApiKeyRequest") - proto.RegisterType((*DeleteApiKeyResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteApiKeyResponse") - proto.RegisterType((*ValidateAccountAuditLogSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest") - proto.RegisterType((*ValidateAccountAuditLogSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse") - proto.RegisterType((*CreateAccountAuditLogSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkRequest") - proto.RegisterType((*CreateAccountAuditLogSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkResponse") - proto.RegisterType((*GetAccountAuditLogSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkRequest") - proto.RegisterType((*GetAccountAuditLogSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkResponse") - proto.RegisterType((*GetAccountAuditLogSinksRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinksRequest") - proto.RegisterType((*GetAccountAuditLogSinksResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinksResponse") - proto.RegisterType((*UpdateAccountAuditLogSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateAccountAuditLogSinkRequest") - proto.RegisterType((*UpdateAccountAuditLogSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateAccountAuditLogSinkResponse") - proto.RegisterType((*DeleteAccountAuditLogSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteAccountAuditLogSinkRequest") - proto.RegisterType((*DeleteAccountAuditLogSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteAccountAuditLogSinkResponse") - proto.RegisterType((*GetAuditLogsRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetAuditLogsRequest") - proto.RegisterType((*GetAuditLogsResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetAuditLogsResponse") - proto.RegisterType((*GetUsageRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetUsageRequest") - proto.RegisterType((*GetUsageResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetUsageResponse") - proto.RegisterType((*GetAccountRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetAccountRequest") - proto.RegisterType((*GetAccountResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetAccountResponse") - proto.RegisterType((*CreateNamespaceExportSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkRequest") - proto.RegisterType((*CreateNamespaceExportSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkResponse") - proto.RegisterType((*GetNamespaceExportSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkRequest") - proto.RegisterType((*GetNamespaceExportSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkResponse") - proto.RegisterType((*GetNamespaceExportSinksRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksRequest") - proto.RegisterType((*GetNamespaceExportSinksResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksResponse") - proto.RegisterType((*UpdateNamespaceExportSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkRequest") - proto.RegisterType((*UpdateNamespaceExportSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkResponse") - proto.RegisterType((*DeleteNamespaceExportSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkRequest") - proto.RegisterType((*DeleteNamespaceExportSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkResponse") - proto.RegisterType((*ValidateNamespaceExportSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkRequest") - proto.RegisterType((*ValidateNamespaceExportSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkResponse") - proto.RegisterType((*StartMigrationRequest)(nil), "temporal.api.cloud.cloudservice.v1.StartMigrationRequest") - proto.RegisterType((*StartMigrationResponse)(nil), "temporal.api.cloud.cloudservice.v1.StartMigrationResponse") - proto.RegisterType((*GetMigrationRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetMigrationRequest") - proto.RegisterType((*GetMigrationResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetMigrationResponse") - proto.RegisterType((*GetMigrationsRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetMigrationsRequest") - proto.RegisterType((*GetMigrationsResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetMigrationsResponse") - proto.RegisterType((*HandoverNamespaceRequest)(nil), "temporal.api.cloud.cloudservice.v1.HandoverNamespaceRequest") - proto.RegisterType((*HandoverNamespaceResponse)(nil), "temporal.api.cloud.cloudservice.v1.HandoverNamespaceResponse") - proto.RegisterType((*ConfirmMigrationRequest)(nil), "temporal.api.cloud.cloudservice.v1.ConfirmMigrationRequest") - proto.RegisterType((*ConfirmMigrationResponse)(nil), "temporal.api.cloud.cloudservice.v1.ConfirmMigrationResponse") - proto.RegisterType((*AbortMigrationRequest)(nil), "temporal.api.cloud.cloudservice.v1.AbortMigrationRequest") - proto.RegisterType((*AbortMigrationResponse)(nil), "temporal.api.cloud.cloudservice.v1.AbortMigrationResponse") - proto.RegisterType((*CreateConnectivityRuleRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleRequest") - proto.RegisterType((*CreateConnectivityRuleResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleResponse") - proto.RegisterType((*GetConnectivityRuleRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetConnectivityRuleRequest") - proto.RegisterType((*GetConnectivityRuleResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetConnectivityRuleResponse") - proto.RegisterType((*GetConnectivityRulesRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetConnectivityRulesRequest") - proto.RegisterType((*GetConnectivityRulesResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetConnectivityRulesResponse") - proto.RegisterType((*DeleteConnectivityRuleRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleRequest") - proto.RegisterType((*DeleteConnectivityRuleResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleResponse") - proto.RegisterType((*GetProjectsRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetProjectsRequest") - proto.RegisterType((*GetProjectsResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetProjectsResponse") - proto.RegisterType((*GetProjectRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetProjectRequest") - proto.RegisterType((*GetProjectResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetProjectResponse") - proto.RegisterType((*CreateProjectRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateProjectRequest") - proto.RegisterType((*CreateProjectResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateProjectResponse") - proto.RegisterType((*UpdateProjectRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateProjectRequest") - proto.RegisterType((*UpdateProjectResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateProjectResponse") - proto.RegisterType((*DeleteProjectRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteProjectRequest") - proto.RegisterType((*DeleteProjectResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteProjectResponse") - proto.RegisterType((*UpdateNamespaceTagsRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest") - proto.RegisterMapType((map[string]string)(nil), "temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest.TagsToUpsertEntry") - proto.RegisterType((*UpdateNamespaceTagsResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsResponse") - proto.RegisterType((*ResendUserInviteRequest)(nil), "temporal.api.cloud.cloudservice.v1.ResendUserInviteRequest") - proto.RegisterType((*ResendUserInviteResponse)(nil), "temporal.api.cloud.cloudservice.v1.ResendUserInviteResponse") - proto.RegisterType((*GetTagKeysRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetTagKeysRequest") - proto.RegisterType((*GetTagKeysResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetTagKeysResponse") +// Custom Role messages +// temporal:dev +type GetCustomRolesRequest struct { + // The requested size of the page to retrieve - optional. + // Cannot exceed 1000. Defaults to 100. + PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // The page token if this is continuing from another response - optional. + PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func init() { - proto.RegisterFile("temporal/api/cloud/cloudservice/v1/request_response.proto", fileDescriptor_d04330087ace166d) +func (m *GetCustomRolesRequest) Reset() { *m = GetCustomRolesRequest{} } +func (*GetCustomRolesRequest) ProtoMessage() {} +func (*GetCustomRolesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{164} } - -var fileDescriptor_d04330087ace166d = []byte{ - // 3457 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5c, 0x5b, 0x6c, 0x1c, 0xd5, - 0xf9, 0xcf, 0x59, 0xdf, 0xe2, 0xcf, 0x49, 0x6c, 0x8f, 0xaf, 0x71, 0x9c, 0x8d, 0x33, 0x21, 0xfc, - 0x9d, 0x00, 0x6b, 0x12, 0xfe, 0x97, 0xfc, 0x5d, 0x2e, 0x75, 0x9c, 0xc4, 0x5e, 0x2e, 0xc1, 0x8c, - 0x9d, 0x80, 0xaa, 0x56, 0xcb, 0x64, 0xe7, 0x64, 0x19, 0xbc, 0xbb, 0x33, 0xcc, 0xcc, 0x6e, 0xbc, - 0xa9, 0x68, 0x4a, 0x4b, 0x45, 0x51, 0x11, 0x50, 0x55, 0xb4, 0xbc, 0xa0, 0xbe, 0x54, 0x15, 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 0x4e, 0xa9, 0x0d, 0xe7, 0x41, 0xb7, 0x78, - 0x83, 0x63, 0x95, 0x4f, 0xc1, 0x21, 0x66, 0x97, 0x7b, 0x3e, 0x03, 0x43, 0xae, 0x8a, 0x92, 0xae, - 0x11, 0xbf, 0x87, 0x95, 0x41, 0xf7, 0xb1, 0xa8, 0xc9, 0x0f, 0x79, 0x2c, 0x79, 0x08, 0xcf, 0x41, - 0xbf, 0xfb, 0x92, 0x54, 0x4c, 0x0b, 0x90, 0x48, 0xc8, 0xb7, 0x60, 0x7c, 0xd5, 0xc2, 0xaa, 0x83, - 0x83, 0xa6, 0xef, 0x85, 0x7e, 0xdb, 0xc4, 0x65, 0xa6, 0x6e, 0x31, 0x8d, 0xba, 0x4d, 0x13, 0x97, - 0x15, 0x22, 0x25, 0xdd, 0x09, 0x92, 0x6a, 0xb7, 0xea, 0xe5, 0x92, 0x37, 0x0e, 0x5d, 0x1f, 0xa8, - 0xd7, 0x63, 0xe4, 0xcd, 0xa3, 0xfc, 0x45, 0x51, 0x93, 0x5f, 0x40, 0x20, 0x05, 0x11, 0x30, 0x8f, - 0x92, 0xbc, 0x97, 0x9e, 0x80, 0xd1, 0x88, 0x76, 0xa2, 0x7a, 0xe4, 0xec, 0x52, 0x1c, 0x4c, 0xaf, - 0x92, 0x8b, 0x73, 0x25, 0x64, 0x5b, 0x39, 0x14, 0xc6, 0x22, 0xff, 0x06, 0xc1, 0xf8, 0x15, 0x53, - 0x8b, 0x70, 0x91, 0x08, 0x84, 0x93, 0x94, 0xeb, 0x8a, 0xa4, 0x53, 0x30, 0x66, 0x61, 0xdb, 0x68, - 0x58, 0x65, 0x5c, 0x6a, 0x62, 0xcb, 0x76, 0xfd, 0xa0, 0xdd, 0x74, 0x94, 0x97, 0x5f, 0xa5, 0xc5, - 0x09, 0x7c, 0xf6, 0x27, 0xf0, 0x59, 0x07, 0x29, 0xe8, 0x04, 0xa3, 0x33, 0x86, 0x35, 0xd4, 0x1b, - 0xd6, 0xbe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, 0xd1, 0xab, 0x1f, 0xe6, 0xf7, 0xbd, 0xf7, 0x61, 0x7e, 0xdf, 0xfb, 0x1f, - 0xe6, 0xf7, 0xc1, 0x49, 0xdd, 0x48, 0xd1, 0xb9, 0xcf, 0x4f, 0x32, 0xbc, 0x1c, 0xc9, 0x86, 0x65, - 0x38, 0xc6, 0x06, 0xfa, 0xca, 0xff, 0x54, 0x02, 0xe2, 0xba, 0x91, 0xfc, 0x2b, 0xaa, 0x5f, 0x0a, - 0x3e, 0xbf, 0x95, 0xbb, 0x6d, 0x8b, 0x09, 0xe9, 0x46, 0x61, 0xc5, 0xd4, 0x0b, 0xab, 0xc4, 0x2a, - 0xf9, 0x97, 0x7d, 0x1f, 0x57, 0xb8, 0x7a, 0xe6, 0xef, 0xb9, 0x45, 0xbf, 0xda, 0xf2, 0xf2, 0x8a, - 0xa9, 0x2f, 0x2f, 0x93, 0x2a, 0xec, 0x3f, 0x56, 0x73, 0x79, 0xf9, 0xea, 0x99, 0x6b, 0x83, 0xe4, - 0x9c, 0xe8, 0x9e, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0xed, 0x6a, 0xae, 0x26, 0xd1, 0x55, 0x00, - 0x00, +func (m *GetCustomRolesRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -func (this *GetUsersRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*GetUsersRequest) - if !ok { - that2, ok := that.(GetUsersRequest) - if ok { - that1 = &that2 - } else { - return false +func (m *GetCustomRolesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetCustomRolesRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err } + return b[:n], nil } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.PageSize != that1.PageSize { - return false - } - if this.PageToken != that1.PageToken { - return false - } - if this.Email != that1.Email { - return false - } - if this.Namespace != that1.Namespace { - return false +} +func (m *GetCustomRolesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCustomRolesRequest.Merge(m, src) +} +func (m *GetCustomRolesRequest) XXX_Size() int { + return m.Size() +} +func (m *GetCustomRolesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetCustomRolesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetCustomRolesRequest proto.InternalMessageInfo + +func (m *GetCustomRolesRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize } - return true + return 0 } -func (this *GetUsersResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil + +func (m *GetCustomRolesRequest) GetPageToken() string { + if m != nil { + return m.PageToken } + return "" +} - that1, ok := that.(*GetUsersResponse) - if !ok { - that2, ok := that.(GetUsersResponse) - if ok { - that1 = &that2 - } else { - return false +// temporal:dev +type GetCustomRolesResponse struct { + // The list of custom roles in ascending id order. + CustomRoles []*v1.CustomRole `protobuf:"bytes,1,rep,name=custom_roles,json=customRoles,proto3" json:"custom_roles,omitempty"` + // The next page's token. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` +} + +func (m *GetCustomRolesResponse) Reset() { *m = GetCustomRolesResponse{} } +func (*GetCustomRolesResponse) ProtoMessage() {} +func (*GetCustomRolesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{165} +} +func (m *GetCustomRolesResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetCustomRolesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetCustomRolesResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err } + return b[:n], nil } - if that1 == nil { - return this == nil - } else if this == nil { - return false +} +func (m *GetCustomRolesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCustomRolesResponse.Merge(m, src) +} +func (m *GetCustomRolesResponse) XXX_Size() int { + return m.Size() +} +func (m *GetCustomRolesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetCustomRolesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetCustomRolesResponse proto.InternalMessageInfo + +func (m *GetCustomRolesResponse) GetCustomRoles() []*v1.CustomRole { + if m != nil { + return m.CustomRoles } - if len(this.Users) != len(that1.Users) { - return false + return nil +} + +func (m *GetCustomRolesResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken } - for i := range this.Users { - if !this.Users[i].Equal(that1.Users[i]) { - return false + return "" +} + +// temporal:dev +type GetCustomRoleRequest struct { + // The id of the custom role to get. + RoleId string `protobuf:"bytes,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` +} + +func (m *GetCustomRoleRequest) Reset() { *m = GetCustomRoleRequest{} } +func (*GetCustomRoleRequest) ProtoMessage() {} +func (*GetCustomRoleRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{166} +} +func (m *GetCustomRoleRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetCustomRoleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetCustomRoleRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err } + return b[:n], nil } - if this.NextPageToken != that1.NextPageToken { - return false - } - return true } -func (this *GetUserRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil +func (m *GetCustomRoleRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCustomRoleRequest.Merge(m, src) +} +func (m *GetCustomRoleRequest) XXX_Size() int { + return m.Size() +} +func (m *GetCustomRoleRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetCustomRoleRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetCustomRoleRequest proto.InternalMessageInfo + +func (m *GetCustomRoleRequest) GetRoleId() string { + if m != nil { + return m.RoleId } + return "" +} - that1, ok := that.(*GetUserRequest) - if !ok { - that2, ok := that.(GetUserRequest) - if ok { - that1 = &that2 - } else { - return false +// temporal:dev +type GetCustomRoleResponse struct { + // The custom role. + CustomRole *v1.CustomRole `protobuf:"bytes,1,opt,name=custom_role,json=customRole,proto3" json:"custom_role,omitempty"` +} + +func (m *GetCustomRoleResponse) Reset() { *m = GetCustomRoleResponse{} } +func (*GetCustomRoleResponse) ProtoMessage() {} +func (*GetCustomRoleResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{167} +} +func (m *GetCustomRoleResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetCustomRoleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetCustomRoleResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err } + return b[:n], nil } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.UserId != that1.UserId { - return false - } - return true } -func (this *GetUserResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil +func (m *GetCustomRoleResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCustomRoleResponse.Merge(m, src) +} +func (m *GetCustomRoleResponse) XXX_Size() int { + return m.Size() +} +func (m *GetCustomRoleResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetCustomRoleResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetCustomRoleResponse proto.InternalMessageInfo + +func (m *GetCustomRoleResponse) GetCustomRole() *v1.CustomRole { + if m != nil { + return m.CustomRole } + return nil +} - that1, ok := that.(*GetUserResponse) - if !ok { - that2, ok := that.(GetUserResponse) - if ok { - that1 = &that2 - } else { - return false +// temporal:dev +type CreateCustomRoleRequest struct { + // The spec for the custom role to create. + Spec *v1.CustomRoleSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` + // The id to use for this async operation. + // Optional, if not provided a random id will be generated. + AsyncOperationId string `protobuf:"bytes,2,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` +} + +func (m *CreateCustomRoleRequest) Reset() { *m = CreateCustomRoleRequest{} } +func (*CreateCustomRoleRequest) ProtoMessage() {} +func (*CreateCustomRoleRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{168} +} +func (m *CreateCustomRoleRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CreateCustomRoleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CreateCustomRoleRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err } + return b[:n], nil } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.User.Equal(that1.User) { - return false +} +func (m *CreateCustomRoleRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateCustomRoleRequest.Merge(m, src) +} +func (m *CreateCustomRoleRequest) XXX_Size() int { + return m.Size() +} +func (m *CreateCustomRoleRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateCustomRoleRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateCustomRoleRequest proto.InternalMessageInfo + +func (m *CreateCustomRoleRequest) GetSpec() *v1.CustomRoleSpec { + if m != nil { + return m.Spec } - return true + return nil } -func (this *CreateUserRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil + +func (m *CreateCustomRoleRequest) GetAsyncOperationId() string { + if m != nil { + return m.AsyncOperationId } + return "" +} - that1, ok := that.(*CreateUserRequest) - if !ok { - that2, ok := that.(CreateUserRequest) - if ok { - that1 = &that2 - } else { - return false +// temporal:dev +type CreateCustomRoleResponse struct { + // The id of the custom role created. + RoleId string `protobuf:"bytes,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` + // The async operation. + AsyncOperation *v11.AsyncOperation `protobuf:"bytes,2,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` +} + +func (m *CreateCustomRoleResponse) Reset() { *m = CreateCustomRoleResponse{} } +func (*CreateCustomRoleResponse) ProtoMessage() {} +func (*CreateCustomRoleResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{169} +} +func (m *CreateCustomRoleResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CreateCustomRoleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CreateCustomRoleResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err } + return b[:n], nil } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false +} +func (m *CreateCustomRoleResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateCustomRoleResponse.Merge(m, src) +} +func (m *CreateCustomRoleResponse) XXX_Size() int { + return m.Size() +} +func (m *CreateCustomRoleResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateCustomRoleResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateCustomRoleResponse proto.InternalMessageInfo + +func (m *CreateCustomRoleResponse) GetRoleId() string { + if m != nil { + return m.RoleId } - return true + return "" } -func (this *CreateUserResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil + +func (m *CreateCustomRoleResponse) GetAsyncOperation() *v11.AsyncOperation { + if m != nil { + return m.AsyncOperation } + return nil +} - that1, ok := that.(*CreateUserResponse) - if !ok { - that2, ok := that.(CreateUserResponse) - if ok { - that1 = &that2 - } else { - return false +// temporal:dev +type UpdateCustomRoleRequest struct { + // The id of the custom role to update. + RoleId string `protobuf:"bytes,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` + // The new custom role specification. + Spec *v1.CustomRoleSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + // The version of the custom role for which this update is intended for. + // The latest version can be found in the GetCustomRole operation response. + ResourceVersion string `protobuf:"bytes,3,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` + // The id to use for this async operation. + // Optional, if not provided a random id will be generated. + AsyncOperationId string `protobuf:"bytes,4,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` +} + +func (m *UpdateCustomRoleRequest) Reset() { *m = UpdateCustomRoleRequest{} } +func (*UpdateCustomRoleRequest) ProtoMessage() {} +func (*UpdateCustomRoleRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{170} +} +func (m *UpdateCustomRoleRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateCustomRoleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateCustomRoleRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err } + return b[:n], nil } - if that1 == nil { - return this == nil - } else if this == nil { - return false +} +func (m *UpdateCustomRoleRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateCustomRoleRequest.Merge(m, src) +} +func (m *UpdateCustomRoleRequest) XXX_Size() int { + return m.Size() +} +func (m *UpdateCustomRoleRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateCustomRoleRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateCustomRoleRequest proto.InternalMessageInfo + +func (m *UpdateCustomRoleRequest) GetRoleId() string { + if m != nil { + return m.RoleId } - if this.UserId != that1.UserId { - return false + return "" +} + +func (m *UpdateCustomRoleRequest) GetSpec() *v1.CustomRoleSpec { + if m != nil { + return m.Spec } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false + return nil +} + +func (m *UpdateCustomRoleRequest) GetResourceVersion() string { + if m != nil { + return m.ResourceVersion } - return true + return "" } -func (this *UpdateUserRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil + +func (m *UpdateCustomRoleRequest) GetAsyncOperationId() string { + if m != nil { + return m.AsyncOperationId } + return "" +} - that1, ok := that.(*UpdateUserRequest) - if !ok { - that2, ok := that.(UpdateUserRequest) - if ok { - that1 = &that2 - } else { - return false +// temporal:dev +type UpdateCustomRoleResponse struct { + // The async operation. + AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` +} + +func (m *UpdateCustomRoleResponse) Reset() { *m = UpdateCustomRoleResponse{} } +func (*UpdateCustomRoleResponse) ProtoMessage() {} +func (*UpdateCustomRoleResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{171} +} +func (m *UpdateCustomRoleResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateCustomRoleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateCustomRoleResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err } + return b[:n], nil } - if that1 == nil { - return this == nil - } else if this == nil { - return false +} +func (m *UpdateCustomRoleResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateCustomRoleResponse.Merge(m, src) +} +func (m *UpdateCustomRoleResponse) XXX_Size() int { + return m.Size() +} +func (m *UpdateCustomRoleResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateCustomRoleResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateCustomRoleResponse proto.InternalMessageInfo + +func (m *UpdateCustomRoleResponse) GetAsyncOperation() *v11.AsyncOperation { + if m != nil { + return m.AsyncOperation } - if this.UserId != that1.UserId { - return false + return nil +} + +// temporal:dev +type DeleteCustomRoleRequest struct { + // The id of the custom role to delete. + RoleId string `protobuf:"bytes,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` + // The version of the custom role for which this delete is intended for. + // The latest version can be found in the GetCustomRole operation response. + ResourceVersion string `protobuf:"bytes,2,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` + // The id to use for this async operation. + // Optional, if not provided a random id will be generated. + AsyncOperationId string `protobuf:"bytes,3,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` +} + +func (m *DeleteCustomRoleRequest) Reset() { *m = DeleteCustomRoleRequest{} } +func (*DeleteCustomRoleRequest) ProtoMessage() {} +func (*DeleteCustomRoleRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{172} +} +func (m *DeleteCustomRoleRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DeleteCustomRoleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DeleteCustomRoleRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - if !this.Spec.Equal(that1.Spec) { - return false +} +func (m *DeleteCustomRoleRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteCustomRoleRequest.Merge(m, src) +} +func (m *DeleteCustomRoleRequest) XXX_Size() int { + return m.Size() +} +func (m *DeleteCustomRoleRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteCustomRoleRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteCustomRoleRequest proto.InternalMessageInfo + +func (m *DeleteCustomRoleRequest) GetRoleId() string { + if m != nil { + return m.RoleId } - if this.ResourceVersion != that1.ResourceVersion { - return false + return "" +} + +func (m *DeleteCustomRoleRequest) GetResourceVersion() string { + if m != nil { + return m.ResourceVersion } - if this.AsyncOperationId != that1.AsyncOperationId { - return false + return "" +} + +func (m *DeleteCustomRoleRequest) GetAsyncOperationId() string { + if m != nil { + return m.AsyncOperationId } - return true + return "" } -func (this *UpdateUserResponse) Equal(that interface{}) bool { + +// temporal:dev +type DeleteCustomRoleResponse struct { + // The async operation. + AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` +} + +func (m *DeleteCustomRoleResponse) Reset() { *m = DeleteCustomRoleResponse{} } +func (*DeleteCustomRoleResponse) ProtoMessage() {} +func (*DeleteCustomRoleResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{173} +} +func (m *DeleteCustomRoleResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DeleteCustomRoleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DeleteCustomRoleResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DeleteCustomRoleResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteCustomRoleResponse.Merge(m, src) +} +func (m *DeleteCustomRoleResponse) XXX_Size() int { + return m.Size() +} +func (m *DeleteCustomRoleResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteCustomRoleResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteCustomRoleResponse proto.InternalMessageInfo + +func (m *DeleteCustomRoleResponse) GetAsyncOperation() *v11.AsyncOperation { + if m != nil { + return m.AsyncOperation + } + return nil +} + +// temporal:dev +type CreateBillingReportRequest struct { + // The specification for the billing report. + Spec *v111.BillingReportSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` + // Optional, if not provided a random id will be generated. + AsyncOperationId string `protobuf:"bytes,2,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` +} + +func (m *CreateBillingReportRequest) Reset() { *m = CreateBillingReportRequest{} } +func (*CreateBillingReportRequest) ProtoMessage() {} +func (*CreateBillingReportRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{174} +} +func (m *CreateBillingReportRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CreateBillingReportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CreateBillingReportRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CreateBillingReportRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateBillingReportRequest.Merge(m, src) +} +func (m *CreateBillingReportRequest) XXX_Size() int { + return m.Size() +} +func (m *CreateBillingReportRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateBillingReportRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateBillingReportRequest proto.InternalMessageInfo + +func (m *CreateBillingReportRequest) GetSpec() *v111.BillingReportSpec { + if m != nil { + return m.Spec + } + return nil +} + +func (m *CreateBillingReportRequest) GetAsyncOperationId() string { + if m != nil { + return m.AsyncOperationId + } + return "" +} + +// temporal:dev +type CreateBillingReportResponse struct { + // The id of the billing report created. + BillingReportId string `protobuf:"bytes,1,opt,name=billing_report_id,json=billingReportId,proto3" json:"billing_report_id,omitempty"` + // The async operation. + AsyncOperation *v11.AsyncOperation `protobuf:"bytes,2,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` +} + +func (m *CreateBillingReportResponse) Reset() { *m = CreateBillingReportResponse{} } +func (*CreateBillingReportResponse) ProtoMessage() {} +func (*CreateBillingReportResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{175} +} +func (m *CreateBillingReportResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CreateBillingReportResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CreateBillingReportResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CreateBillingReportResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateBillingReportResponse.Merge(m, src) +} +func (m *CreateBillingReportResponse) XXX_Size() int { + return m.Size() +} +func (m *CreateBillingReportResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateBillingReportResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateBillingReportResponse proto.InternalMessageInfo + +func (m *CreateBillingReportResponse) GetBillingReportId() string { + if m != nil { + return m.BillingReportId + } + return "" +} + +func (m *CreateBillingReportResponse) GetAsyncOperation() *v11.AsyncOperation { + if m != nil { + return m.AsyncOperation + } + return nil +} + +// temporal:dev +type GetBillingReportRequest struct { + // The id of the billing report to retrieve. + BillingReportId string `protobuf:"bytes,1,opt,name=billing_report_id,json=billingReportId,proto3" json:"billing_report_id,omitempty"` +} + +func (m *GetBillingReportRequest) Reset() { *m = GetBillingReportRequest{} } +func (*GetBillingReportRequest) ProtoMessage() {} +func (*GetBillingReportRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{176} +} +func (m *GetBillingReportRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetBillingReportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetBillingReportRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetBillingReportRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetBillingReportRequest.Merge(m, src) +} +func (m *GetBillingReportRequest) XXX_Size() int { + return m.Size() +} +func (m *GetBillingReportRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetBillingReportRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetBillingReportRequest proto.InternalMessageInfo + +func (m *GetBillingReportRequest) GetBillingReportId() string { + if m != nil { + return m.BillingReportId + } + return "" +} + +// temporal:dev +type GetBillingReportResponse struct { + // The billing report retrieved. + BillingReport *v111.BillingReport `protobuf:"bytes,1,opt,name=billing_report,json=billingReport,proto3" json:"billing_report,omitempty"` +} + +func (m *GetBillingReportResponse) Reset() { *m = GetBillingReportResponse{} } +func (*GetBillingReportResponse) ProtoMessage() {} +func (*GetBillingReportResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{177} +} +func (m *GetBillingReportResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetBillingReportResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetBillingReportResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetBillingReportResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetBillingReportResponse.Merge(m, src) +} +func (m *GetBillingReportResponse) XXX_Size() int { + return m.Size() +} +func (m *GetBillingReportResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetBillingReportResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetBillingReportResponse proto.InternalMessageInfo + +func (m *GetBillingReportResponse) GetBillingReport() *v111.BillingReport { + if m != nil { + return m.BillingReport + } + return nil +} + +// temporal:dev +type GetNamespaceCapacityInfoRequest struct { + // The namespace identifier. + // Required. + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` +} + +func (m *GetNamespaceCapacityInfoRequest) Reset() { *m = GetNamespaceCapacityInfoRequest{} } +func (*GetNamespaceCapacityInfoRequest) ProtoMessage() {} +func (*GetNamespaceCapacityInfoRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{178} +} +func (m *GetNamespaceCapacityInfoRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetNamespaceCapacityInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetNamespaceCapacityInfoRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetNamespaceCapacityInfoRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetNamespaceCapacityInfoRequest.Merge(m, src) +} +func (m *GetNamespaceCapacityInfoRequest) XXX_Size() int { + return m.Size() +} +func (m *GetNamespaceCapacityInfoRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetNamespaceCapacityInfoRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetNamespaceCapacityInfoRequest proto.InternalMessageInfo + +func (m *GetNamespaceCapacityInfoRequest) GetNamespace() string { + if m != nil { + return m.Namespace + } + return "" +} + +// temporal:dev +type GetNamespaceCapacityInfoResponse struct { + // Capacity information for the namespace. + CapacityInfo *v12.NamespaceCapacityInfo `protobuf:"bytes,1,opt,name=capacity_info,json=capacityInfo,proto3" json:"capacity_info,omitempty"` +} + +func (m *GetNamespaceCapacityInfoResponse) Reset() { *m = GetNamespaceCapacityInfoResponse{} } +func (*GetNamespaceCapacityInfoResponse) ProtoMessage() {} +func (*GetNamespaceCapacityInfoResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{179} +} +func (m *GetNamespaceCapacityInfoResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetNamespaceCapacityInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetNamespaceCapacityInfoResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetNamespaceCapacityInfoResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetNamespaceCapacityInfoResponse.Merge(m, src) +} +func (m *GetNamespaceCapacityInfoResponse) XXX_Size() int { + return m.Size() +} +func (m *GetNamespaceCapacityInfoResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetNamespaceCapacityInfoResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetNamespaceCapacityInfoResponse proto.InternalMessageInfo + +func (m *GetNamespaceCapacityInfoResponse) GetCapacityInfo() *v12.NamespaceCapacityInfo { + if m != nil { + return m.CapacityInfo + } + return nil +} + +func init() { + proto.RegisterEnum("temporal.api.cloud.cloudservice.v1.GetServiceAccountsRequest_ScopeType", GetServiceAccountsRequest_ScopeType_name, GetServiceAccountsRequest_ScopeType_value) + proto.RegisterType((*GetCurrentIdentityRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetCurrentIdentityRequest") + proto.RegisterType((*GetCurrentIdentityResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetCurrentIdentityResponse") + proto.RegisterType((*GetUsersRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetUsersRequest") + proto.RegisterType((*GetUsersResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetUsersResponse") + proto.RegisterType((*GetUserRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetUserRequest") + proto.RegisterType((*GetUserResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetUserResponse") + proto.RegisterType((*CreateUserRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateUserRequest") + proto.RegisterType((*CreateUserResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateUserResponse") + proto.RegisterType((*UpdateUserRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateUserRequest") + proto.RegisterType((*UpdateUserResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateUserResponse") + proto.RegisterType((*DeleteUserRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteUserRequest") + proto.RegisterType((*DeleteUserResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteUserResponse") + proto.RegisterType((*SetUserNamespaceAccessRequest)(nil), "temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessRequest") + proto.RegisterType((*SetUserNamespaceAccessResponse)(nil), "temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessResponse") + proto.RegisterType((*GetAsyncOperationRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetAsyncOperationRequest") + proto.RegisterType((*GetAsyncOperationResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetAsyncOperationResponse") + proto.RegisterType((*CreateNamespaceRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest") + proto.RegisterMapType((map[string]string)(nil), "temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest.TagsEntry") + proto.RegisterType((*CreateNamespaceResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateNamespaceResponse") + proto.RegisterType((*GetNamespacesRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespacesRequest") + proto.RegisterType((*GetNamespacesResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespacesResponse") + proto.RegisterType((*GetNamespaceIDsRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespaceIDsRequest") + proto.RegisterType((*GetNamespaceIDsResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespaceIDsResponse") + proto.RegisterType((*GetNamespaceRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespaceRequest") + proto.RegisterType((*GetNamespaceResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespaceResponse") + proto.RegisterType((*UpdateNamespaceRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateNamespaceRequest") + proto.RegisterType((*UpdateNamespaceResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateNamespaceResponse") + proto.RegisterType((*RenameCustomSearchAttributeRequest)(nil), "temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeRequest") + proto.RegisterType((*RenameCustomSearchAttributeResponse)(nil), "temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeResponse") + proto.RegisterType((*DeleteNamespaceRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteNamespaceRequest") + proto.RegisterType((*DeleteNamespaceResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteNamespaceResponse") + proto.RegisterType((*FailoverNamespaceRegionRequest)(nil), "temporal.api.cloud.cloudservice.v1.FailoverNamespaceRegionRequest") + proto.RegisterType((*FailoverNamespaceRegionResponse)(nil), "temporal.api.cloud.cloudservice.v1.FailoverNamespaceRegionResponse") + proto.RegisterType((*AddNamespaceRegionRequest)(nil), "temporal.api.cloud.cloudservice.v1.AddNamespaceRegionRequest") + proto.RegisterType((*AddNamespaceRegionResponse)(nil), "temporal.api.cloud.cloudservice.v1.AddNamespaceRegionResponse") + proto.RegisterType((*DeleteNamespaceRegionRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionRequest") + proto.RegisterType((*DeleteNamespaceRegionResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionResponse") + proto.RegisterType((*GetRegionsRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetRegionsRequest") + proto.RegisterType((*GetRegionsResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetRegionsResponse") + proto.RegisterType((*GetRegionRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetRegionRequest") + proto.RegisterType((*GetRegionResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetRegionResponse") + proto.RegisterType((*GetNexusEndpointsRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetNexusEndpointsRequest") + proto.RegisterType((*GetNexusEndpointsResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetNexusEndpointsResponse") + proto.RegisterType((*GetNexusEndpointRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetNexusEndpointRequest") + proto.RegisterType((*GetNexusEndpointResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetNexusEndpointResponse") + proto.RegisterType((*CreateNexusEndpointRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateNexusEndpointRequest") + proto.RegisterType((*CreateNexusEndpointResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateNexusEndpointResponse") + proto.RegisterType((*UpdateNexusEndpointRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointRequest") + proto.RegisterType((*UpdateNexusEndpointResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointResponse") + proto.RegisterType((*DeleteNexusEndpointRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointRequest") + proto.RegisterType((*DeleteNexusEndpointResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointResponse") + proto.RegisterType((*UpdateAccountRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateAccountRequest") + proto.RegisterType((*UpdateAccountResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateAccountResponse") + proto.RegisterType((*GetUserGroupsRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest") + proto.RegisterType((*GetUserGroupsRequest_GoogleGroupFilter)(nil), "temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.GoogleGroupFilter") + proto.RegisterType((*GetUserGroupsRequest_SCIMGroupFilter)(nil), "temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.SCIMGroupFilter") + proto.RegisterType((*GetUserGroupsResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetUserGroupsResponse") + proto.RegisterType((*GetUserGroupRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetUserGroupRequest") + proto.RegisterType((*GetUserGroupResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetUserGroupResponse") + proto.RegisterType((*CreateUserGroupRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateUserGroupRequest") + proto.RegisterType((*CreateUserGroupResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateUserGroupResponse") + proto.RegisterType((*UpdateUserGroupRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateUserGroupRequest") + proto.RegisterType((*UpdateUserGroupResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateUserGroupResponse") + proto.RegisterType((*DeleteUserGroupRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteUserGroupRequest") + proto.RegisterType((*DeleteUserGroupResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteUserGroupResponse") + proto.RegisterType((*SetUserGroupNamespaceAccessRequest)(nil), "temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessRequest") + proto.RegisterType((*SetUserGroupNamespaceAccessResponse)(nil), "temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessResponse") + proto.RegisterType((*AddUserGroupMemberRequest)(nil), "temporal.api.cloud.cloudservice.v1.AddUserGroupMemberRequest") + proto.RegisterType((*AddUserGroupMemberResponse)(nil), "temporal.api.cloud.cloudservice.v1.AddUserGroupMemberResponse") + proto.RegisterType((*RemoveUserGroupMemberRequest)(nil), "temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberRequest") + proto.RegisterType((*RemoveUserGroupMemberResponse)(nil), "temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberResponse") + proto.RegisterType((*GetUserGroupMembersRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetUserGroupMembersRequest") + proto.RegisterType((*GetUserGroupMembersResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetUserGroupMembersResponse") + proto.RegisterType((*CreateServiceAccountRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateServiceAccountRequest") + proto.RegisterType((*CreateServiceAccountResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateServiceAccountResponse") + proto.RegisterType((*GetServiceAccountRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetServiceAccountRequest") + proto.RegisterType((*GetServiceAccountResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetServiceAccountResponse") + proto.RegisterType((*GetServiceAccountsRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetServiceAccountsRequest") + proto.RegisterType((*GetServiceAccountsResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetServiceAccountsResponse") + proto.RegisterType((*UpdateServiceAccountRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateServiceAccountRequest") + proto.RegisterType((*UpdateServiceAccountResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateServiceAccountResponse") + proto.RegisterType((*SetServiceAccountNamespaceAccessRequest)(nil), "temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest") + proto.RegisterType((*SetServiceAccountNamespaceAccessResponse)(nil), "temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse") + proto.RegisterType((*DeleteServiceAccountRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteServiceAccountRequest") + proto.RegisterType((*DeleteServiceAccountResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteServiceAccountResponse") + proto.RegisterType((*GetApiKeysRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetApiKeysRequest") + proto.RegisterType((*GetApiKeysResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetApiKeysResponse") + proto.RegisterType((*GetApiKeyRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetApiKeyRequest") + proto.RegisterType((*GetApiKeyResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetApiKeyResponse") + proto.RegisterType((*CreateApiKeyRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateApiKeyRequest") + proto.RegisterType((*CreateApiKeyResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateApiKeyResponse") + proto.RegisterType((*UpdateApiKeyRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateApiKeyRequest") + proto.RegisterType((*UpdateApiKeyResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateApiKeyResponse") + proto.RegisterType((*DeleteApiKeyRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteApiKeyRequest") + proto.RegisterType((*DeleteApiKeyResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteApiKeyResponse") + proto.RegisterType((*ValidateAccountAuditLogSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest") + proto.RegisterType((*ValidateAccountAuditLogSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse") + proto.RegisterType((*CreateAccountAuditLogSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkRequest") + proto.RegisterType((*CreateAccountAuditLogSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkResponse") + proto.RegisterType((*GetAccountAuditLogSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkRequest") + proto.RegisterType((*GetAccountAuditLogSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkResponse") + proto.RegisterType((*GetAccountAuditLogSinksRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinksRequest") + proto.RegisterType((*GetAccountAuditLogSinksResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinksResponse") + proto.RegisterType((*UpdateAccountAuditLogSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateAccountAuditLogSinkRequest") + proto.RegisterType((*UpdateAccountAuditLogSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateAccountAuditLogSinkResponse") + proto.RegisterType((*DeleteAccountAuditLogSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteAccountAuditLogSinkRequest") + proto.RegisterType((*DeleteAccountAuditLogSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteAccountAuditLogSinkResponse") + proto.RegisterType((*GetAuditLogsRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetAuditLogsRequest") + proto.RegisterType((*GetAuditLogsResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetAuditLogsResponse") + proto.RegisterType((*GetUsageRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetUsageRequest") + proto.RegisterType((*GetUsageResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetUsageResponse") + proto.RegisterType((*GetAccountRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetAccountRequest") + proto.RegisterType((*GetAccountResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetAccountResponse") + proto.RegisterType((*CreateNamespaceExportSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkRequest") + proto.RegisterType((*CreateNamespaceExportSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkResponse") + proto.RegisterType((*GetNamespaceExportSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkRequest") + proto.RegisterType((*GetNamespaceExportSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkResponse") + proto.RegisterType((*GetNamespaceExportSinksRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksRequest") + proto.RegisterType((*GetNamespaceExportSinksResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksResponse") + proto.RegisterType((*UpdateNamespaceExportSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkRequest") + proto.RegisterType((*UpdateNamespaceExportSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkResponse") + proto.RegisterType((*DeleteNamespaceExportSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkRequest") + proto.RegisterType((*DeleteNamespaceExportSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkResponse") + proto.RegisterType((*ValidateNamespaceExportSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkRequest") + proto.RegisterType((*ValidateNamespaceExportSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkResponse") + proto.RegisterType((*StartMigrationRequest)(nil), "temporal.api.cloud.cloudservice.v1.StartMigrationRequest") + proto.RegisterType((*StartMigrationResponse)(nil), "temporal.api.cloud.cloudservice.v1.StartMigrationResponse") + proto.RegisterType((*GetMigrationRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetMigrationRequest") + proto.RegisterType((*GetMigrationResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetMigrationResponse") + proto.RegisterType((*GetMigrationsRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetMigrationsRequest") + proto.RegisterType((*GetMigrationsResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetMigrationsResponse") + proto.RegisterType((*HandoverNamespaceRequest)(nil), "temporal.api.cloud.cloudservice.v1.HandoverNamespaceRequest") + proto.RegisterType((*HandoverNamespaceResponse)(nil), "temporal.api.cloud.cloudservice.v1.HandoverNamespaceResponse") + proto.RegisterType((*ConfirmMigrationRequest)(nil), "temporal.api.cloud.cloudservice.v1.ConfirmMigrationRequest") + proto.RegisterType((*ConfirmMigrationResponse)(nil), "temporal.api.cloud.cloudservice.v1.ConfirmMigrationResponse") + proto.RegisterType((*AbortMigrationRequest)(nil), "temporal.api.cloud.cloudservice.v1.AbortMigrationRequest") + proto.RegisterType((*AbortMigrationResponse)(nil), "temporal.api.cloud.cloudservice.v1.AbortMigrationResponse") + proto.RegisterType((*CreateConnectivityRuleRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleRequest") + proto.RegisterType((*CreateConnectivityRuleResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleResponse") + proto.RegisterType((*GetConnectivityRuleRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetConnectivityRuleRequest") + proto.RegisterType((*GetConnectivityRuleResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetConnectivityRuleResponse") + proto.RegisterType((*GetConnectivityRulesRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetConnectivityRulesRequest") + proto.RegisterType((*GetConnectivityRulesResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetConnectivityRulesResponse") + proto.RegisterType((*DeleteConnectivityRuleRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleRequest") + proto.RegisterType((*DeleteConnectivityRuleResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleResponse") + proto.RegisterType((*GetProjectsRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetProjectsRequest") + proto.RegisterType((*GetProjectsResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetProjectsResponse") + proto.RegisterType((*GetProjectRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetProjectRequest") + proto.RegisterType((*GetProjectResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetProjectResponse") + proto.RegisterType((*CreateProjectRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateProjectRequest") + proto.RegisterType((*CreateProjectResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateProjectResponse") + proto.RegisterType((*UpdateProjectRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateProjectRequest") + proto.RegisterType((*UpdateProjectResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateProjectResponse") + proto.RegisterType((*DeleteProjectRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteProjectRequest") + proto.RegisterType((*DeleteProjectResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteProjectResponse") + proto.RegisterType((*SetUserGroupProjectAccessRequest)(nil), "temporal.api.cloud.cloudservice.v1.SetUserGroupProjectAccessRequest") + proto.RegisterType((*SetUserGroupProjectAccessResponse)(nil), "temporal.api.cloud.cloudservice.v1.SetUserGroupProjectAccessResponse") + proto.RegisterType((*SetUserProjectAccessRequest)(nil), "temporal.api.cloud.cloudservice.v1.SetUserProjectAccessRequest") + proto.RegisterType((*SetUserProjectAccessResponse)(nil), "temporal.api.cloud.cloudservice.v1.SetUserProjectAccessResponse") + proto.RegisterType((*SetServiceAccountProjectAccessRequest)(nil), "temporal.api.cloud.cloudservice.v1.SetServiceAccountProjectAccessRequest") + proto.RegisterType((*SetServiceAccountProjectAccessResponse)(nil), "temporal.api.cloud.cloudservice.v1.SetServiceAccountProjectAccessResponse") + proto.RegisterType((*UpdateNamespaceTagsRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest") + proto.RegisterMapType((map[string]string)(nil), "temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest.TagsToUpsertEntry") + proto.RegisterType((*UpdateNamespaceTagsResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsResponse") + proto.RegisterType((*ResendUserInviteRequest)(nil), "temporal.api.cloud.cloudservice.v1.ResendUserInviteRequest") + proto.RegisterType((*ResendUserInviteResponse)(nil), "temporal.api.cloud.cloudservice.v1.ResendUserInviteResponse") + proto.RegisterType((*GetTagKeysRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetTagKeysRequest") + proto.RegisterType((*GetTagKeysResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetTagKeysResponse") + proto.RegisterType((*GetCustomRolesRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetCustomRolesRequest") + proto.RegisterType((*GetCustomRolesResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetCustomRolesResponse") + proto.RegisterType((*GetCustomRoleRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetCustomRoleRequest") + proto.RegisterType((*GetCustomRoleResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetCustomRoleResponse") + proto.RegisterType((*CreateCustomRoleRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateCustomRoleRequest") + proto.RegisterType((*CreateCustomRoleResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateCustomRoleResponse") + proto.RegisterType((*UpdateCustomRoleRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateCustomRoleRequest") + proto.RegisterType((*UpdateCustomRoleResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateCustomRoleResponse") + proto.RegisterType((*DeleteCustomRoleRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteCustomRoleRequest") + proto.RegisterType((*DeleteCustomRoleResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteCustomRoleResponse") + proto.RegisterType((*CreateBillingReportRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateBillingReportRequest") + proto.RegisterType((*CreateBillingReportResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateBillingReportResponse") + proto.RegisterType((*GetBillingReportRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetBillingReportRequest") + proto.RegisterType((*GetBillingReportResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetBillingReportResponse") + proto.RegisterType((*GetNamespaceCapacityInfoRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespaceCapacityInfoRequest") + proto.RegisterType((*GetNamespaceCapacityInfoResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespaceCapacityInfoResponse") +} + +func init() { + proto.RegisterFile("temporal/api/cloud/cloudservice/v1/request_response.proto", fileDescriptor_d04330087ace166d) +} + +var fileDescriptor_d04330087ace166d = []byte{ + // 4211 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5d, 0x5d, 0x8c, 0x1c, 0xd9, + 0x55, 0x9e, 0xdb, 0xf3, 0x63, 0xf7, 0x19, 0x7b, 0x7e, 0xca, 0x33, 0x76, 0xef, 0xd8, 0xee, 0x1d, + 0x97, 0xd7, 0x8e, 0xed, 0x75, 0x7a, 0xd6, 0x5e, 0x58, 0xcc, 0xb0, 0xc9, 0x32, 0xd3, 0x1e, 0xcf, + 0x74, 0x76, 0xed, 0x9d, 0xad, 0x1e, 0x3b, 0x09, 0xb0, 0xaa, 0xd4, 0x74, 0x5d, 0x77, 0x2a, 0xd3, + 0x5d, 0x55, 0x5b, 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+ 0x57, 0xd1, 0x3f, 0x3c, 0xae, 0xa2, 0xf7, 0x1f, 0x57, 0xd1, 0xbf, 0x3f, 0xae, 0xa2, 0xff, 0x78, + 0x5c, 0x1d, 0xfb, 0xf1, 0xe3, 0x2a, 0x7a, 0xe7, 0xc3, 0xea, 0xd8, 0xfb, 0x1f, 0x56, 0xc7, 0x7e, + 0xf8, 0x61, 0x75, 0x0c, 0x2e, 0x68, 0x46, 0x8e, 0xb8, 0x73, 0x7d, 0x81, 0xa1, 0xe0, 0xc9, 0xb2, + 0x6d, 0x19, 0x8e, 0xb1, 0x8d, 0x7e, 0xe5, 0xe7, 0xdb, 0xa1, 0xe6, 0x9a, 0x91, 0xfd, 0x77, 0x66, + 0x7e, 0x29, 0xfc, 0xfc, 0x5e, 0xe9, 0x99, 0x1d, 0xd6, 0x48, 0x33, 0x6a, 0x6b, 0xa6, 0x56, 0xab, + 0x93, 0x5e, 0xc9, 0xbf, 0x2c, 0xb4, 0xaf, 0xdd, 0xbb, 0xf6, 0x5f, 0xa5, 0x4b, 0x41, 0xb5, 0xd5, + 0xd5, 0x35, 0x53, 0x5b, 0x5d, 0x25, 0x55, 0xd8, 0x7f, 0xac, 0xe6, 0xea, 0xea, 0xbd, 0x6b, 0xbb, + 0x53, 0x64, 0x37, 0xda, 0xf3, 0xff, 0x1f, 0x00, 0x00, 0xff, 0xff, 0x9a, 0x5f, 0x04, 0xd9, 0xf3, + 0x66, 0x00, 0x00, +} + +func (x GetServiceAccountsRequest_ScopeType) String() string { + s, ok := GetServiceAccountsRequest_ScopeType_name[int32(x)] + if ok { + return s + } + return strconv.Itoa(int(x)) +} +func (this *GetCurrentIdentityRequest) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*UpdateUserResponse) + that1, ok := that.(*GetCurrentIdentityRequest) if !ok { - that2, ok := that.(UpdateUserResponse) + that2, ok := that.(GetCurrentIdentityRequest) if ok { that1 = &that2 } else { @@ -9162,19 +10557,16 @@ func (this *UpdateUserResponse) Equal(that interface{}) bool { } else if this == nil { return false } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } return true } -func (this *DeleteUserRequest) Equal(that interface{}) bool { +func (this *GetCurrentIdentityResponse) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*DeleteUserRequest) + that1, ok := that.(*GetCurrentIdentityResponse) if !ok { - that2, ok := that.(DeleteUserRequest) + that2, ok := that.(GetCurrentIdentityResponse) if ok { that1 = &that2 } else { @@ -9186,25 +10578,28 @@ func (this *DeleteUserRequest) Equal(that interface{}) bool { } else if this == nil { return false } - if this.UserId != that1.UserId { + if that1.Principal == nil { + if this.Principal != nil { + return false + } + } else if this.Principal == nil { return false - } - if this.ResourceVersion != that1.ResourceVersion { + } else if !this.Principal.Equal(that1.Principal) { return false } - if this.AsyncOperationId != that1.AsyncOperationId { + if !this.PrincipalApiKey.Equal(that1.PrincipalApiKey) { return false } return true } -func (this *DeleteUserResponse) Equal(that interface{}) bool { +func (this *GetCurrentIdentityResponse_User) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*DeleteUserResponse) + that1, ok := that.(*GetCurrentIdentityResponse_User) if !ok { - that2, ok := that.(DeleteUserResponse) + that2, ok := that.(GetCurrentIdentityResponse_User) if ok { that1 = &that2 } else { @@ -9216,19 +10611,19 @@ func (this *DeleteUserResponse) Equal(that interface{}) bool { } else if this == nil { return false } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { + if !this.User.Equal(that1.User) { return false } return true } -func (this *SetUserNamespaceAccessRequest) Equal(that interface{}) bool { +func (this *GetCurrentIdentityResponse_ServiceAccount) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*SetUserNamespaceAccessRequest) + that1, ok := that.(*GetCurrentIdentityResponse_ServiceAccount) if !ok { - that2, ok := that.(SetUserNamespaceAccessRequest) + that2, ok := that.(GetCurrentIdentityResponse_ServiceAccount) if ok { that1 = &that2 } else { @@ -9240,31 +10635,19 @@ func (this *SetUserNamespaceAccessRequest) Equal(that interface{}) bool { } else if this == nil { return false } - if this.Namespace != that1.Namespace { - return false - } - if this.UserId != that1.UserId { - return false - } - if !this.Access.Equal(that1.Access) { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { + if !this.ServiceAccount.Equal(that1.ServiceAccount) { return false } return true } -func (this *SetUserNamespaceAccessResponse) Equal(that interface{}) bool { +func (this *GetUsersRequest) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*SetUserNamespaceAccessResponse) + that1, ok := that.(*GetUsersRequest) if !ok { - that2, ok := that.(SetUserNamespaceAccessResponse) + that2, ok := that.(GetUsersRequest) if ok { that1 = &that2 } else { @@ -9276,14 +10659,342 @@ func (this *SetUserNamespaceAccessResponse) Equal(that interface{}) bool { } else if this == nil { return false } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { + if this.PageSize != that1.PageSize { return false } - return true -} -func (this *GetAsyncOperationRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil + if this.PageToken != that1.PageToken { + return false + } + if this.Email != that1.Email { + return false + } + if this.Namespace != that1.Namespace { + return false + } + if this.EmailSubstring != that1.EmailSubstring { + return false + } + if len(this.IncludeStates) != len(that1.IncludeStates) { + return false + } + for i := range this.IncludeStates { + if this.IncludeStates[i] != that1.IncludeStates[i] { + return false + } + } + return true +} +func (this *GetUsersResponse) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*GetUsersResponse) + if !ok { + that2, ok := that.(GetUsersResponse) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if len(this.Users) != len(that1.Users) { + return false + } + for i := range this.Users { + if !this.Users[i].Equal(that1.Users[i]) { + return false + } + } + if this.NextPageToken != that1.NextPageToken { + return false + } + return true +} +func (this *GetUserRequest) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*GetUserRequest) + if !ok { + that2, ok := that.(GetUserRequest) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.UserId != that1.UserId { + return false + } + if this.IncludeDerivedRoles != that1.IncludeDerivedRoles { + return false + } + return true +} +func (this *GetUserResponse) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*GetUserResponse) + if !ok { + that2, ok := that.(GetUserResponse) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if !this.User.Equal(that1.User) { + return false + } + return true +} +func (this *CreateUserRequest) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*CreateUserRequest) + if !ok { + that2, ok := that.(CreateUserRequest) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if !this.Spec.Equal(that1.Spec) { + return false + } + if this.AsyncOperationId != that1.AsyncOperationId { + return false + } + return true +} +func (this *CreateUserResponse) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*CreateUserResponse) + if !ok { + that2, ok := that.(CreateUserResponse) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.UserId != that1.UserId { + return false + } + if !this.AsyncOperation.Equal(that1.AsyncOperation) { + return false + } + return true +} +func (this *UpdateUserRequest) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*UpdateUserRequest) + if !ok { + that2, ok := that.(UpdateUserRequest) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.UserId != that1.UserId { + return false + } + if !this.Spec.Equal(that1.Spec) { + return false + } + if this.ResourceVersion != that1.ResourceVersion { + return false + } + if this.AsyncOperationId != that1.AsyncOperationId { + return false + } + return true +} +func (this *UpdateUserResponse) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*UpdateUserResponse) + if !ok { + that2, ok := that.(UpdateUserResponse) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if !this.AsyncOperation.Equal(that1.AsyncOperation) { + return false + } + return true +} +func (this *DeleteUserRequest) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*DeleteUserRequest) + if !ok { + that2, ok := that.(DeleteUserRequest) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.UserId != that1.UserId { + return false + } + if this.ResourceVersion != that1.ResourceVersion { + return false + } + if this.AsyncOperationId != that1.AsyncOperationId { + return false + } + return true +} +func (this *DeleteUserResponse) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*DeleteUserResponse) + if !ok { + that2, ok := that.(DeleteUserResponse) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if !this.AsyncOperation.Equal(that1.AsyncOperation) { + return false + } + return true +} +func (this *SetUserNamespaceAccessRequest) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*SetUserNamespaceAccessRequest) + if !ok { + that2, ok := that.(SetUserNamespaceAccessRequest) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.Namespace != that1.Namespace { + return false + } + if this.UserId != that1.UserId { + return false + } + if !this.Access.Equal(that1.Access) { + return false + } + if this.ResourceVersion != that1.ResourceVersion { + return false + } + if this.AsyncOperationId != that1.AsyncOperationId { + return false + } + return true +} +func (this *SetUserNamespaceAccessResponse) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*SetUserNamespaceAccessResponse) + if !ok { + that2, ok := that.(SetUserNamespaceAccessResponse) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if !this.AsyncOperation.Equal(that1.AsyncOperation) { + return false + } + return true +} +func (this *GetAsyncOperationRequest) Equal(that interface{}) bool { + if that == nil { + return this == nil } that1, ok := that.(*GetAsyncOperationRequest) @@ -9362,6 +11073,9 @@ func (this *CreateNamespaceRequest) Equal(that interface{}) bool { return false } } + if this.ProjectId != that1.ProjectId { + return false + } return true } func (this *CreateNamespaceResponse) Equal(that interface{}) bool { @@ -9419,7 +11133,7 @@ func (this *GetNamespacesRequest) Equal(that interface{}) bool { if this.Name != that1.Name { return false } - if this.ConnectivityRuleId != that1.ConnectivityRuleId { + if this.ProjectId != that1.ProjectId { return false } return true @@ -9481,6 +11195,9 @@ func (this *GetNamespaceIDsRequest) Equal(that interface{}) bool { if this.PageToken != that1.PageToken { return false } + if this.ProjectId != that1.ProjectId { + return false + } return true } func (this *GetNamespaceIDsResponse) Equal(that interface{}) bool { @@ -10378,6 +12095,17 @@ func (this *GetUserGroupsRequest) Equal(that interface{}) bool { if !this.ScimGroup.Equal(that1.ScimGroup) { return false } + if this.NameSubstring != that1.NameSubstring { + return false + } + if len(this.IncludeStates) != len(that1.IncludeStates) { + return false + } + for i := range this.IncludeStates { + if this.IncludeStates[i] != that1.IncludeStates[i] { + return false + } + } return true } func (this *GetUserGroupsRequest_GoogleGroupFilter) Equal(that interface{}) bool { @@ -11030,6 +12758,23 @@ func (this *GetServiceAccountsRequest) Equal(that interface{}) bool { if this.PageToken != that1.PageToken { return false } + if this.Scope != that1.Scope { + return false + } + if this.Namespace != that1.Namespace { + return false + } + if len(this.IncludeStates) != len(that1.IncludeStates) { + return false + } + for i := range this.IncludeStates { + if this.IncludeStates[i] != that1.IncludeStates[i] { + return false + } + } + if this.NameSubstring != that1.NameSubstring { + return false + } return true } func (this *GetServiceAccountsResponse) Equal(that interface{}) bool { @@ -11269,6 +13014,20 @@ func (this *GetApiKeysRequest) Equal(that interface{}) bool { if this.OwnerType != that1.OwnerType { return false } + if len(this.IncludeStates) != len(that1.IncludeStates) { + return false + } + for i := range this.IncludeStates { + if this.IncludeStates[i] != that1.IncludeStates[i] { + return false + } + } + if !this.Disabled.Equal(that1.Disabled) { + return false + } + if this.Namespace != that1.Namespace { + return false + } return true } func (this *GetApiKeysResponse) Equal(that interface{}) bool { @@ -12676,6 +14435,9 @@ func (this *CreateConnectivityRuleRequest) Equal(that interface{}) bool { if this.AsyncOperationId != that1.AsyncOperationId { return false } + if this.ProjectId != that1.ProjectId { + return false + } return true } func (this *CreateConnectivityRuleResponse) Equal(that interface{}) bool { @@ -12781,6 +14543,9 @@ func (this *GetConnectivityRulesRequest) Equal(that interface{}) bool { if this.Namespace != that1.Namespace { return false } + if this.ProjectId != that1.ProjectId { + return false + } return true } func (this *GetConnectivityRulesResponse) Equal(that interface{}) bool { @@ -13141,6 +14906,186 @@ func (this *DeleteProjectResponse) Equal(that interface{}) bool { } return true } +func (this *SetUserGroupProjectAccessRequest) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*SetUserGroupProjectAccessRequest) + if !ok { + that2, ok := that.(SetUserGroupProjectAccessRequest) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.ProjectId != that1.ProjectId { + return false + } + if this.GroupId != that1.GroupId { + return false + } + if !this.Access.Equal(that1.Access) { + return false + } + if this.ResourceVersion != that1.ResourceVersion { + return false + } + if this.AsyncOperationId != that1.AsyncOperationId { + return false + } + return true +} +func (this *SetUserGroupProjectAccessResponse) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*SetUserGroupProjectAccessResponse) + if !ok { + that2, ok := that.(SetUserGroupProjectAccessResponse) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if !this.AsyncOperation.Equal(that1.AsyncOperation) { + return false + } + return true +} +func (this *SetUserProjectAccessRequest) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*SetUserProjectAccessRequest) + if !ok { + that2, ok := that.(SetUserProjectAccessRequest) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.ProjectId != that1.ProjectId { + return false + } + if this.UserId != that1.UserId { + return false + } + if !this.Access.Equal(that1.Access) { + return false + } + if this.ResourceVersion != that1.ResourceVersion { + return false + } + if this.AsyncOperationId != that1.AsyncOperationId { + return false + } + return true +} +func (this *SetUserProjectAccessResponse) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*SetUserProjectAccessResponse) + if !ok { + that2, ok := that.(SetUserProjectAccessResponse) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if !this.AsyncOperation.Equal(that1.AsyncOperation) { + return false + } + return true +} +func (this *SetServiceAccountProjectAccessRequest) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*SetServiceAccountProjectAccessRequest) + if !ok { + that2, ok := that.(SetServiceAccountProjectAccessRequest) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.ProjectId != that1.ProjectId { + return false + } + if this.ServiceAccountId != that1.ServiceAccountId { + return false + } + if !this.Access.Equal(that1.Access) { + return false + } + if this.ResourceVersion != that1.ResourceVersion { + return false + } + if this.AsyncOperationId != that1.AsyncOperationId { + return false + } + return true +} +func (this *SetServiceAccountProjectAccessResponse) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*SetServiceAccountProjectAccessResponse) + if !ok { + that2, ok := that.(SetServiceAccountProjectAccessResponse) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if !this.AsyncOperation.Equal(that1.AsyncOperation) { + return false + } + return true +} func (this *UpdateNamespaceTagsRequest) Equal(that interface{}) bool { if that == nil { return this == nil @@ -13312,230 +15257,696 @@ func (this *GetTagKeysResponse) Equal(that interface{}) bool { } return true } -func (this *GetUsersRequest) GoString() string { - if this == nil { - return "nil" +func (this *GetCustomRolesRequest) Equal(that interface{}) bool { + if that == nil { + return this == nil } - s := make([]string, 0, 8) - s = append(s, "&cloudservice.GetUsersRequest{") - s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") - s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") - s = append(s, "Email: "+fmt.Sprintf("%#v", this.Email)+",\n") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetUsersResponse) GoString() string { - if this == nil { - return "nil" + + that1, ok := that.(*GetCustomRolesRequest) + if !ok { + that2, ok := that.(GetCustomRolesRequest) + if ok { + that1 = &that2 + } else { + return false + } } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.GetUsersResponse{") - if this.Users != nil { - s = append(s, "Users: "+fmt.Sprintf("%#v", this.Users)+",\n") + if that1 == nil { + return this == nil + } else if this == nil { + return false } - s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetUserRequest) GoString() string { - if this == nil { - return "nil" + if this.PageSize != that1.PageSize { + return false } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetUserRequest{") - s = append(s, "UserId: "+fmt.Sprintf("%#v", this.UserId)+",\n") - s = append(s, "}") - return strings.Join(s, "") + if this.PageToken != that1.PageToken { + return false + } + return true } -func (this *GetUserResponse) GoString() string { - if this == nil { - return "nil" +func (this *GetCustomRolesResponse) Equal(that interface{}) bool { + if that == nil { + return this == nil } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetUserResponse{") - if this.User != nil { - s = append(s, "User: "+fmt.Sprintf("%#v", this.User)+",\n") + + that1, ok := that.(*GetCustomRolesResponse) + if !ok { + that2, ok := that.(GetCustomRolesResponse) + if ok { + that1 = &that2 + } else { + return false + } } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateUserRequest) GoString() string { - if this == nil { - return "nil" + if that1 == nil { + return this == nil + } else if this == nil { + return false } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.CreateUserRequest{") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") + if len(this.CustomRoles) != len(that1.CustomRoles) { + return false } - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateUserResponse) GoString() string { - if this == nil { - return "nil" + for i := range this.CustomRoles { + if !this.CustomRoles[i].Equal(that1.CustomRoles[i]) { + return false + } } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.CreateUserResponse{") - s = append(s, "UserId: "+fmt.Sprintf("%#v", this.UserId)+",\n") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") + if this.NextPageToken != that1.NextPageToken { + return false } - s = append(s, "}") - return strings.Join(s, "") + return true } -func (this *UpdateUserRequest) GoString() string { - if this == nil { - return "nil" +func (this *GetCustomRoleRequest) Equal(that interface{}) bool { + if that == nil { + return this == nil } - s := make([]string, 0, 8) - s = append(s, "&cloudservice.UpdateUserRequest{") - s = append(s, "UserId: "+fmt.Sprintf("%#v", this.UserId)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") + + that1, ok := that.(*GetCustomRoleRequest) + if !ok { + that2, ok := that.(GetCustomRoleRequest) + if ok { + that1 = &that2 + } else { + return false + } } - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateUserResponse) GoString() string { - if this == nil { - return "nil" + if that1 == nil { + return this == nil + } else if this == nil { + return false } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.UpdateUserResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") + if this.RoleId != that1.RoleId { + return false } - s = append(s, "}") - return strings.Join(s, "") + return true } -func (this *DeleteUserRequest) GoString() string { - if this == nil { - return "nil" +func (this *GetCustomRoleResponse) Equal(that interface{}) bool { + if that == nil { + return this == nil } - s := make([]string, 0, 7) - s = append(s, "&cloudservice.DeleteUserRequest{") - s = append(s, "UserId: "+fmt.Sprintf("%#v", this.UserId)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteUserResponse) GoString() string { - if this == nil { - return "nil" + + that1, ok := that.(*GetCustomRoleResponse) + if !ok { + that2, ok := that.(GetCustomRoleResponse) + if ok { + that1 = &that2 + } else { + return false + } } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.DeleteUserResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") + if that1 == nil { + return this == nil + } else if this == nil { + return false } - s = append(s, "}") - return strings.Join(s, "") + if !this.CustomRole.Equal(that1.CustomRole) { + return false + } + return true } -func (this *SetUserNamespaceAccessRequest) GoString() string { - if this == nil { - return "nil" +func (this *CreateCustomRoleRequest) Equal(that interface{}) bool { + if that == nil { + return this == nil } - s := make([]string, 0, 9) - s = append(s, "&cloudservice.SetUserNamespaceAccessRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "UserId: "+fmt.Sprintf("%#v", this.UserId)+",\n") - if this.Access != nil { - s = append(s, "Access: "+fmt.Sprintf("%#v", this.Access)+",\n") + + that1, ok := that.(*CreateCustomRoleRequest) + if !ok { + that2, ok := that.(CreateCustomRoleRequest) + if ok { + that1 = &that2 + } else { + return false + } } - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *SetUserNamespaceAccessResponse) GoString() string { - if this == nil { - return "nil" + if that1 == nil { + return this == nil + } else if this == nil { + return false } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.SetUserNamespaceAccessResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") + if !this.Spec.Equal(that1.Spec) { + return false } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetAsyncOperationRequest) GoString() string { - if this == nil { - return "nil" + if this.AsyncOperationId != that1.AsyncOperationId { + return false } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetAsyncOperationRequest{") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") + return true } -func (this *GetAsyncOperationResponse) GoString() string { - if this == nil { - return "nil" +func (this *CreateCustomRoleResponse) Equal(that interface{}) bool { + if that == nil { + return this == nil } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetAsyncOperationResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") + + that1, ok := that.(*CreateCustomRoleResponse) + if !ok { + that2, ok := that.(CreateCustomRoleResponse) + if ok { + that1 = &that2 + } else { + return false + } } - s = append(s, "}") - return strings.Join(s, "") + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.RoleId != that1.RoleId { + return false + } + if !this.AsyncOperation.Equal(that1.AsyncOperation) { + return false + } + return true } -func (this *CreateNamespaceRequest) GoString() string { - if this == nil { - return "nil" +func (this *UpdateCustomRoleRequest) Equal(that interface{}) bool { + if that == nil { + return this == nil } - s := make([]string, 0, 7) - s = append(s, "&cloudservice.CreateNamespaceRequest{") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") + + that1, ok := that.(*UpdateCustomRoleRequest) + if !ok { + that2, ok := that.(UpdateCustomRoleRequest) + if ok { + that1 = &that2 + } else { + return false + } } - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - keysForTags := make([]string, 0, len(this.Tags)) - for k, _ := range this.Tags { - keysForTags = append(keysForTags, k) + if that1 == nil { + return this == nil + } else if this == nil { + return false } - github_com_gogo_protobuf_sortkeys.Strings(keysForTags) - mapStringForTags := "map[string]string{" - for _, k := range keysForTags { - mapStringForTags += fmt.Sprintf("%#v: %#v,", k, this.Tags[k]) + if this.RoleId != that1.RoleId { + return false } - mapStringForTags += "}" - if this.Tags != nil { - s = append(s, "Tags: "+mapStringForTags+",\n") + if !this.Spec.Equal(that1.Spec) { + return false } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateNamespaceResponse) GoString() string { - if this == nil { - return "nil" + if this.ResourceVersion != that1.ResourceVersion { + return false } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.CreateNamespaceResponse{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") + if this.AsyncOperationId != that1.AsyncOperationId { + return false } - s = append(s, "}") - return strings.Join(s, "") + return true } -func (this *GetNamespacesRequest) GoString() string { - if this == nil { - return "nil" +func (this *UpdateCustomRoleResponse) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*UpdateCustomRoleResponse) + if !ok { + that2, ok := that.(UpdateCustomRoleResponse) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if !this.AsyncOperation.Equal(that1.AsyncOperation) { + return false + } + return true +} +func (this *DeleteCustomRoleRequest) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*DeleteCustomRoleRequest) + if !ok { + that2, ok := that.(DeleteCustomRoleRequest) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.RoleId != that1.RoleId { + return false + } + if this.ResourceVersion != that1.ResourceVersion { + return false + } + if this.AsyncOperationId != that1.AsyncOperationId { + return false + } + return true +} +func (this *DeleteCustomRoleResponse) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*DeleteCustomRoleResponse) + if !ok { + that2, ok := that.(DeleteCustomRoleResponse) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if !this.AsyncOperation.Equal(that1.AsyncOperation) { + return false + } + return true +} +func (this *CreateBillingReportRequest) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*CreateBillingReportRequest) + if !ok { + that2, ok := that.(CreateBillingReportRequest) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if !this.Spec.Equal(that1.Spec) { + return false + } + if this.AsyncOperationId != that1.AsyncOperationId { + return false + } + return true +} +func (this *CreateBillingReportResponse) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*CreateBillingReportResponse) + if !ok { + that2, ok := that.(CreateBillingReportResponse) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.BillingReportId != that1.BillingReportId { + return false + } + if !this.AsyncOperation.Equal(that1.AsyncOperation) { + return false + } + return true +} +func (this *GetBillingReportRequest) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*GetBillingReportRequest) + if !ok { + that2, ok := that.(GetBillingReportRequest) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.BillingReportId != that1.BillingReportId { + return false + } + return true +} +func (this *GetBillingReportResponse) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*GetBillingReportResponse) + if !ok { + that2, ok := that.(GetBillingReportResponse) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if !this.BillingReport.Equal(that1.BillingReport) { + return false + } + return true +} +func (this *GetNamespaceCapacityInfoRequest) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*GetNamespaceCapacityInfoRequest) + if !ok { + that2, ok := that.(GetNamespaceCapacityInfoRequest) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.Namespace != that1.Namespace { + return false + } + return true +} +func (this *GetNamespaceCapacityInfoResponse) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*GetNamespaceCapacityInfoResponse) + if !ok { + that2, ok := that.(GetNamespaceCapacityInfoResponse) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if !this.CapacityInfo.Equal(that1.CapacityInfo) { + return false + } + return true +} +func (this *GetCurrentIdentityRequest) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 4) + s = append(s, "&cloudservice.GetCurrentIdentityRequest{") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *GetCurrentIdentityResponse) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 7) + s = append(s, "&cloudservice.GetCurrentIdentityResponse{") + if this.Principal != nil { + s = append(s, "Principal: "+fmt.Sprintf("%#v", this.Principal)+",\n") + } + if this.PrincipalApiKey != nil { + s = append(s, "PrincipalApiKey: "+fmt.Sprintf("%#v", this.PrincipalApiKey)+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} +func (this *GetCurrentIdentityResponse_User) GoString() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&cloudservice.GetCurrentIdentityResponse_User{` + + `User:` + fmt.Sprintf("%#v", this.User) + `}`}, ", ") + return s +} +func (this *GetCurrentIdentityResponse_ServiceAccount) GoString() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&cloudservice.GetCurrentIdentityResponse_ServiceAccount{` + + `ServiceAccount:` + fmt.Sprintf("%#v", this.ServiceAccount) + `}`}, ", ") + return s +} +func (this *GetUsersRequest) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 10) + s = append(s, "&cloudservice.GetUsersRequest{") + s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") + s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") + s = append(s, "Email: "+fmt.Sprintf("%#v", this.Email)+",\n") + s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") + s = append(s, "EmailSubstring: "+fmt.Sprintf("%#v", this.EmailSubstring)+",\n") + s = append(s, "IncludeStates: "+fmt.Sprintf("%#v", this.IncludeStates)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *GetUsersResponse) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 6) + s = append(s, "&cloudservice.GetUsersResponse{") + if this.Users != nil { + s = append(s, "Users: "+fmt.Sprintf("%#v", this.Users)+",\n") + } + s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *GetUserRequest) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 6) + s = append(s, "&cloudservice.GetUserRequest{") + s = append(s, "UserId: "+fmt.Sprintf("%#v", this.UserId)+",\n") + s = append(s, "IncludeDerivedRoles: "+fmt.Sprintf("%#v", this.IncludeDerivedRoles)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *GetUserResponse) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&cloudservice.GetUserResponse{") + if this.User != nil { + s = append(s, "User: "+fmt.Sprintf("%#v", this.User)+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} +func (this *CreateUserRequest) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 6) + s = append(s, "&cloudservice.CreateUserRequest{") + if this.Spec != nil { + s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") + } + s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *CreateUserResponse) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 6) + s = append(s, "&cloudservice.CreateUserResponse{") + s = append(s, "UserId: "+fmt.Sprintf("%#v", this.UserId)+",\n") + if this.AsyncOperation != nil { + s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} +func (this *UpdateUserRequest) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 8) + s = append(s, "&cloudservice.UpdateUserRequest{") + s = append(s, "UserId: "+fmt.Sprintf("%#v", this.UserId)+",\n") + if this.Spec != nil { + s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") + } + s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") + s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *UpdateUserResponse) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&cloudservice.UpdateUserResponse{") + if this.AsyncOperation != nil { + s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} +func (this *DeleteUserRequest) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 7) + s = append(s, "&cloudservice.DeleteUserRequest{") + s = append(s, "UserId: "+fmt.Sprintf("%#v", this.UserId)+",\n") + s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") + s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *DeleteUserResponse) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&cloudservice.DeleteUserResponse{") + if this.AsyncOperation != nil { + s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") } - s := make([]string, 0, 8) - s = append(s, "&cloudservice.GetNamespacesRequest{") - s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") - s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") - s = append(s, "Name: "+fmt.Sprintf("%#v", this.Name)+",\n") - s = append(s, "ConnectivityRuleId: "+fmt.Sprintf("%#v", this.ConnectivityRuleId)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *SetUserNamespaceAccessRequest) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 9) + s = append(s, "&cloudservice.SetUserNamespaceAccessRequest{") + s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") + s = append(s, "UserId: "+fmt.Sprintf("%#v", this.UserId)+",\n") + if this.Access != nil { + s = append(s, "Access: "+fmt.Sprintf("%#v", this.Access)+",\n") + } + s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") + s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *SetUserNamespaceAccessResponse) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&cloudservice.SetUserNamespaceAccessResponse{") + if this.AsyncOperation != nil { + s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} +func (this *GetAsyncOperationRequest) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&cloudservice.GetAsyncOperationRequest{") + s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *GetAsyncOperationResponse) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&cloudservice.GetAsyncOperationResponse{") + if this.AsyncOperation != nil { + s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} +func (this *CreateNamespaceRequest) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 8) + s = append(s, "&cloudservice.CreateNamespaceRequest{") + if this.Spec != nil { + s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") + } + s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") + keysForTags := make([]string, 0, len(this.Tags)) + for k, _ := range this.Tags { + keysForTags = append(keysForTags, k) + } + github_com_gogo_protobuf_sortkeys.Strings(keysForTags) + mapStringForTags := "map[string]string{" + for _, k := range keysForTags { + mapStringForTags += fmt.Sprintf("%#v: %#v,", k, this.Tags[k]) + } + mapStringForTags += "}" + if this.Tags != nil { + s = append(s, "Tags: "+mapStringForTags+",\n") + } + s = append(s, "ProjectId: "+fmt.Sprintf("%#v", this.ProjectId)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *CreateNamespaceResponse) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 6) + s = append(s, "&cloudservice.CreateNamespaceResponse{") + s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") + if this.AsyncOperation != nil { + s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} +func (this *GetNamespacesRequest) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 8) + s = append(s, "&cloudservice.GetNamespacesRequest{") + s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") + s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") + s = append(s, "Name: "+fmt.Sprintf("%#v", this.Name)+",\n") + s = append(s, "ProjectId: "+fmt.Sprintf("%#v", this.ProjectId)+",\n") s = append(s, "}") return strings.Join(s, "") } @@ -13556,10 +15967,11 @@ func (this *GetNamespaceIDsRequest) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 6) + s := make([]string, 0, 7) s = append(s, "&cloudservice.GetNamespaceIDsRequest{") s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") + s = append(s, "ProjectId: "+fmt.Sprintf("%#v", this.ProjectId)+",\n") s = append(s, "}") return strings.Join(s, "") } @@ -13948,7 +16360,7 @@ func (this *GetUserGroupsRequest) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 10) + s := make([]string, 0, 12) s = append(s, "&cloudservice.GetUserGroupsRequest{") s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") @@ -13960,6 +16372,8 @@ func (this *GetUserGroupsRequest) GoString() string { if this.ScimGroup != nil { s = append(s, "ScimGroup: "+fmt.Sprintf("%#v", this.ScimGroup)+",\n") } + s = append(s, "NameSubstring: "+fmt.Sprintf("%#v", this.NameSubstring)+",\n") + s = append(s, "IncludeStates: "+fmt.Sprintf("%#v", this.IncludeStates)+",\n") s = append(s, "}") return strings.Join(s, "") } @@ -14252,10 +16666,14 @@ func (this *GetServiceAccountsRequest) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 6) + s := make([]string, 0, 10) s = append(s, "&cloudservice.GetServiceAccountsRequest{") s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") + s = append(s, "Scope: "+fmt.Sprintf("%#v", this.Scope)+",\n") + s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") + s = append(s, "IncludeStates: "+fmt.Sprintf("%#v", this.IncludeStates)+",\n") + s = append(s, "NameSubstring: "+fmt.Sprintf("%#v", this.NameSubstring)+",\n") s = append(s, "}") return strings.Join(s, "") } @@ -14355,13 +16773,18 @@ func (this *GetApiKeysRequest) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 9) + s := make([]string, 0, 12) s = append(s, "&cloudservice.GetApiKeysRequest{") s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") s = append(s, "OwnerId: "+fmt.Sprintf("%#v", this.OwnerId)+",\n") s = append(s, "OwnerTypeDeprecated: "+fmt.Sprintf("%#v", this.OwnerTypeDeprecated)+",\n") s = append(s, "OwnerType: "+fmt.Sprintf("%#v", this.OwnerType)+",\n") + s = append(s, "IncludeStates: "+fmt.Sprintf("%#v", this.IncludeStates)+",\n") + if this.Disabled != nil { + s = append(s, "Disabled: "+fmt.Sprintf("%#v", this.Disabled)+",\n") + } + s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") s = append(s, "}") return strings.Join(s, "") } @@ -14995,12 +17418,13 @@ func (this *CreateConnectivityRuleRequest) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 6) + s := make([]string, 0, 7) s = append(s, "&cloudservice.CreateConnectivityRuleRequest{") if this.Spec != nil { s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") } s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") + s = append(s, "ProjectId: "+fmt.Sprintf("%#v", this.ProjectId)+",\n") s = append(s, "}") return strings.Join(s, "") } @@ -15043,11 +17467,12 @@ func (this *GetConnectivityRulesRequest) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 7) + s := make([]string, 0, 8) s = append(s, "&cloudservice.GetConnectivityRulesRequest{") s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") + s = append(s, "ProjectId: "+fmt.Sprintf("%#v", this.ProjectId)+",\n") s = append(s, "}") return strings.Join(s, "") } @@ -15211,6 +17636,90 @@ func (this *DeleteProjectResponse) GoString() string { s = append(s, "}") return strings.Join(s, "") } +func (this *SetUserGroupProjectAccessRequest) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 9) + s = append(s, "&cloudservice.SetUserGroupProjectAccessRequest{") + s = append(s, "ProjectId: "+fmt.Sprintf("%#v", this.ProjectId)+",\n") + s = append(s, "GroupId: "+fmt.Sprintf("%#v", this.GroupId)+",\n") + if this.Access != nil { + s = append(s, "Access: "+fmt.Sprintf("%#v", this.Access)+",\n") + } + s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") + s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *SetUserGroupProjectAccessResponse) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&cloudservice.SetUserGroupProjectAccessResponse{") + if this.AsyncOperation != nil { + s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} +func (this *SetUserProjectAccessRequest) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 9) + s = append(s, "&cloudservice.SetUserProjectAccessRequest{") + s = append(s, "ProjectId: "+fmt.Sprintf("%#v", this.ProjectId)+",\n") + s = append(s, "UserId: "+fmt.Sprintf("%#v", this.UserId)+",\n") + if this.Access != nil { + s = append(s, "Access: "+fmt.Sprintf("%#v", this.Access)+",\n") + } + s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") + s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *SetUserProjectAccessResponse) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&cloudservice.SetUserProjectAccessResponse{") + if this.AsyncOperation != nil { + s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} +func (this *SetServiceAccountProjectAccessRequest) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 9) + s = append(s, "&cloudservice.SetServiceAccountProjectAccessRequest{") + s = append(s, "ProjectId: "+fmt.Sprintf("%#v", this.ProjectId)+",\n") + s = append(s, "ServiceAccountId: "+fmt.Sprintf("%#v", this.ServiceAccountId)+",\n") + if this.Access != nil { + s = append(s, "Access: "+fmt.Sprintf("%#v", this.Access)+",\n") + } + s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") + s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *SetServiceAccountProjectAccessResponse) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&cloudservice.SetServiceAccountProjectAccessResponse{") + if this.AsyncOperation != nil { + s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} func (this *UpdateNamespaceTagsRequest) GoString() string { if this == nil { return "nil" @@ -15291,6 +17800,199 @@ func (this *GetTagKeysResponse) GoString() string { s = append(s, "}") return strings.Join(s, "") } +func (this *GetCustomRolesRequest) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 6) + s = append(s, "&cloudservice.GetCustomRolesRequest{") + s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") + s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *GetCustomRolesResponse) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 6) + s = append(s, "&cloudservice.GetCustomRolesResponse{") + if this.CustomRoles != nil { + s = append(s, "CustomRoles: "+fmt.Sprintf("%#v", this.CustomRoles)+",\n") + } + s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *GetCustomRoleRequest) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&cloudservice.GetCustomRoleRequest{") + s = append(s, "RoleId: "+fmt.Sprintf("%#v", this.RoleId)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *GetCustomRoleResponse) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&cloudservice.GetCustomRoleResponse{") + if this.CustomRole != nil { + s = append(s, "CustomRole: "+fmt.Sprintf("%#v", this.CustomRole)+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} +func (this *CreateCustomRoleRequest) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 6) + s = append(s, "&cloudservice.CreateCustomRoleRequest{") + if this.Spec != nil { + s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") + } + s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *CreateCustomRoleResponse) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 6) + s = append(s, "&cloudservice.CreateCustomRoleResponse{") + s = append(s, "RoleId: "+fmt.Sprintf("%#v", this.RoleId)+",\n") + if this.AsyncOperation != nil { + s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} +func (this *UpdateCustomRoleRequest) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 8) + s = append(s, "&cloudservice.UpdateCustomRoleRequest{") + s = append(s, "RoleId: "+fmt.Sprintf("%#v", this.RoleId)+",\n") + if this.Spec != nil { + s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") + } + s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") + s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *UpdateCustomRoleResponse) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&cloudservice.UpdateCustomRoleResponse{") + if this.AsyncOperation != nil { + s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} +func (this *DeleteCustomRoleRequest) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 7) + s = append(s, "&cloudservice.DeleteCustomRoleRequest{") + s = append(s, "RoleId: "+fmt.Sprintf("%#v", this.RoleId)+",\n") + s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") + s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *DeleteCustomRoleResponse) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&cloudservice.DeleteCustomRoleResponse{") + if this.AsyncOperation != nil { + s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} +func (this *CreateBillingReportRequest) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 6) + s = append(s, "&cloudservice.CreateBillingReportRequest{") + if this.Spec != nil { + s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") + } + s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *CreateBillingReportResponse) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 6) + s = append(s, "&cloudservice.CreateBillingReportResponse{") + s = append(s, "BillingReportId: "+fmt.Sprintf("%#v", this.BillingReportId)+",\n") + if this.AsyncOperation != nil { + s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} +func (this *GetBillingReportRequest) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&cloudservice.GetBillingReportRequest{") + s = append(s, "BillingReportId: "+fmt.Sprintf("%#v", this.BillingReportId)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *GetBillingReportResponse) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&cloudservice.GetBillingReportResponse{") + if this.BillingReport != nil { + s = append(s, "BillingReport: "+fmt.Sprintf("%#v", this.BillingReport)+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} +func (this *GetNamespaceCapacityInfoRequest) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&cloudservice.GetNamespaceCapacityInfoRequest{") + s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *GetNamespaceCapacityInfoResponse) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&cloudservice.GetNamespaceCapacityInfoResponse{") + if this.CapacityInfo != nil { + s = append(s, "CapacityInfo: "+fmt.Sprintf("%#v", this.CapacityInfo)+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} func valueToGoStringRequestResponse(v interface{}, typ string) string { rv := reflect.ValueOf(v) if rv.IsNil() { @@ -15299,6 +18001,115 @@ func valueToGoStringRequestResponse(v interface{}, typ string) string { pv := reflect.Indirect(rv).Interface() return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) } +func (m *GetCurrentIdentityRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetCurrentIdentityRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetCurrentIdentityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *GetCurrentIdentityResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetCurrentIdentityResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetCurrentIdentityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.PrincipalApiKey != nil { + { + size, err := m.PrincipalApiKey.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintRequestResponse(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.Principal != nil { + { + size := m.Principal.Size() + i -= size + if _, err := m.Principal.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + } + } + return len(dAtA) - i, nil +} + +func (m *GetCurrentIdentityResponse_User) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetCurrentIdentityResponse_User) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.User != nil { + { + size, err := m.User.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintRequestResponse(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} +func (m *GetCurrentIdentityResponse_ServiceAccount) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetCurrentIdentityResponse_ServiceAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ServiceAccount != nil { + { + size, err := m.ServiceAccount.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintRequestResponse(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + return len(dAtA) - i, nil +} func (m *GetUsersRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -15319,6 +18130,26 @@ func (m *GetUsersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if len(m.IncludeStates) > 0 { + for iNdEx := len(m.IncludeStates) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.IncludeStates[iNdEx]) + copy(dAtA[i:], m.IncludeStates[iNdEx]) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.IncludeStates[iNdEx]))) + i-- + dAtA[i] = 0x6 + i-- + dAtA[i] = 0xaa + } + } + if len(m.EmailSubstring) > 0 { + i -= len(m.EmailSubstring) + copy(dAtA[i:], m.EmailSubstring) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.EmailSubstring))) + i-- + dAtA[i] = 0x6 + i-- + dAtA[i] = 0xa2 + } if len(m.Namespace) > 0 { i -= len(m.Namespace) copy(dAtA[i:], m.Namespace) @@ -15412,6 +18243,18 @@ func (m *GetUserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.IncludeDerivedRoles { + i-- + if m.IncludeDerivedRoles { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x6 + i-- + dAtA[i] = 0xa0 + } if len(m.UserId) > 0 { i -= len(m.UserId) copy(dAtA[i:], m.UserId) @@ -15894,6 +18737,13 @@ func (m *CreateNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) _ = i var l int _ = l + if len(m.ProjectId) > 0 { + i -= len(m.ProjectId) + copy(dAtA[i:], m.ProjectId) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ProjectId))) + i-- + dAtA[i] = 0x2a + } if len(m.Tags) > 0 { for k := range m.Tags { v := m.Tags[k] @@ -15997,10 +18847,10 @@ func (m *GetNamespacesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if len(m.ConnectivityRuleId) > 0 { - i -= len(m.ConnectivityRuleId) - copy(dAtA[i:], m.ConnectivityRuleId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ConnectivityRuleId))) + if len(m.ProjectId) > 0 { + i -= len(m.ProjectId) + copy(dAtA[i:], m.ProjectId) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ProjectId))) i-- dAtA[i] = 0x22 } @@ -16090,6 +18940,13 @@ func (m *GetNamespaceIDsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) _ = i var l int _ = l + if len(m.ProjectId) > 0 { + i -= len(m.ProjectId) + copy(dAtA[i:], m.ProjectId) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ProjectId))) + i-- + dAtA[i] = 0x1a + } if len(m.PageToken) > 0 { i -= len(m.PageToken) copy(dAtA[i:], m.PageToken) @@ -17385,6 +20242,26 @@ func (m *GetUserGroupsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if len(m.IncludeStates) > 0 { + for iNdEx := len(m.IncludeStates) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.IncludeStates[iNdEx]) + copy(dAtA[i:], m.IncludeStates[iNdEx]) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.IncludeStates[iNdEx]))) + i-- + dAtA[i] = 0x6 + i-- + dAtA[i] = 0xaa + } + } + if len(m.NameSubstring) > 0 { + i -= len(m.NameSubstring) + copy(dAtA[i:], m.NameSubstring) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NameSubstring))) + i-- + dAtA[i] = 0x6 + i-- + dAtA[i] = 0xa2 + } if m.ScimGroup != nil { { size, err := m.ScimGroup.MarshalToSizedBuffer(dAtA[:i]) @@ -18382,6 +21259,42 @@ func (m *GetServiceAccountsRequest) MarshalToSizedBuffer(dAtA []byte) (int, erro _ = i var l int _ = l + if len(m.NameSubstring) > 0 { + i -= len(m.NameSubstring) + copy(dAtA[i:], m.NameSubstring) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NameSubstring))) + i-- + dAtA[i] = 0x6 + i-- + dAtA[i] = 0xba + } + if len(m.IncludeStates) > 0 { + for iNdEx := len(m.IncludeStates) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.IncludeStates[iNdEx]) + copy(dAtA[i:], m.IncludeStates[iNdEx]) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.IncludeStates[iNdEx]))) + i-- + dAtA[i] = 0x6 + i-- + dAtA[i] = 0xb2 + } + } + if len(m.Namespace) > 0 { + i -= len(m.Namespace) + copy(dAtA[i:], m.Namespace) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) + i-- + dAtA[i] = 0x6 + i-- + dAtA[i] = 0xaa + } + if m.Scope != 0 { + i = encodeVarintRequestResponse(dAtA, i, uint64(m.Scope)) + i-- + dAtA[i] = 0x6 + i-- + dAtA[i] = 0xa0 + } if len(m.PageToken) > 0 { i -= len(m.PageToken) copy(dAtA[i:], m.PageToken) @@ -18729,6 +21642,49 @@ func (m *GetApiKeysRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if len(m.Namespace) > 0 { + i -= len(m.Namespace) + copy(dAtA[i:], m.Namespace) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) + i-- + dAtA[i] = 0x6 + i-- + dAtA[i] = 0xba + } + if m.Disabled != nil { + { + size, err := m.Disabled.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintRequestResponse(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x6 + i-- + dAtA[i] = 0xb2 + } + if len(m.IncludeStates) > 0 { + dAtA56 := make([]byte, len(m.IncludeStates)*10) + var j55 int + for _, num := range m.IncludeStates { + for num >= 1<<7 { + dAtA56[j55] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j55++ + } + dAtA56[j55] = uint8(num) + j55++ + } + i -= j55 + copy(dAtA[i:], dAtA56[:j55]) + i = encodeVarintRequestResponse(dAtA, i, uint64(j55)) + i-- + dAtA[i] = 0x6 + i-- + dAtA[i] = 0xaa + } if m.OwnerType != 0 { i = encodeVarintRequestResponse(dAtA, i, uint64(m.OwnerType)) i-- @@ -20794,6 +23750,13 @@ func (m *CreateConnectivityRuleRequest) MarshalToSizedBuffer(dAtA []byte) (int, _ = i var l int _ = l + if len(m.ProjectId) > 0 { + i -= len(m.ProjectId) + copy(dAtA[i:], m.ProjectId) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ProjectId))) + i-- + dAtA[i] = 0x1a + } if len(m.AsyncOperationId) > 0 { i -= len(m.AsyncOperationId) copy(dAtA[i:], m.AsyncOperationId) @@ -20943,6 +23906,13 @@ func (m *GetConnectivityRulesRequest) MarshalToSizedBuffer(dAtA []byte) (int, er _ = i var l int _ = l + if len(m.ProjectId) > 0 { + i -= len(m.ProjectId) + copy(dAtA[i:], m.ProjectId) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ProjectId))) + i-- + dAtA[i] = 0x22 + } if len(m.Namespace) > 0 { i -= len(m.Namespace) copy(dAtA[i:], m.Namespace) @@ -21486,6 +24456,300 @@ func (m *DeleteProjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *SetUserGroupProjectAccessRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetUserGroupProjectAccessRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SetUserGroupProjectAccessRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.AsyncOperationId) > 0 { + i -= len(m.AsyncOperationId) + copy(dAtA[i:], m.AsyncOperationId) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) + i-- + dAtA[i] = 0x2a + } + if len(m.ResourceVersion) > 0 { + i -= len(m.ResourceVersion) + copy(dAtA[i:], m.ResourceVersion) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) + i-- + dAtA[i] = 0x22 + } + if m.Access != nil { + { + size, err := m.Access.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintRequestResponse(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if len(m.GroupId) > 0 { + i -= len(m.GroupId) + copy(dAtA[i:], m.GroupId) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.GroupId))) + i-- + dAtA[i] = 0x12 + } + if len(m.ProjectId) > 0 { + i -= len(m.ProjectId) + copy(dAtA[i:], m.ProjectId) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ProjectId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SetUserGroupProjectAccessResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetUserGroupProjectAccessResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SetUserGroupProjectAccessResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.AsyncOperation != nil { + { + size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintRequestResponse(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SetUserProjectAccessRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetUserProjectAccessRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SetUserProjectAccessRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.AsyncOperationId) > 0 { + i -= len(m.AsyncOperationId) + copy(dAtA[i:], m.AsyncOperationId) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) + i-- + dAtA[i] = 0x2a + } + if len(m.ResourceVersion) > 0 { + i -= len(m.ResourceVersion) + copy(dAtA[i:], m.ResourceVersion) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) + i-- + dAtA[i] = 0x22 + } + if m.Access != nil { + { + size, err := m.Access.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintRequestResponse(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if len(m.UserId) > 0 { + i -= len(m.UserId) + copy(dAtA[i:], m.UserId) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.UserId))) + i-- + dAtA[i] = 0x12 + } + if len(m.ProjectId) > 0 { + i -= len(m.ProjectId) + copy(dAtA[i:], m.ProjectId) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ProjectId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SetUserProjectAccessResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetUserProjectAccessResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SetUserProjectAccessResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.AsyncOperation != nil { + { + size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintRequestResponse(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SetServiceAccountProjectAccessRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetServiceAccountProjectAccessRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SetServiceAccountProjectAccessRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.AsyncOperationId) > 0 { + i -= len(m.AsyncOperationId) + copy(dAtA[i:], m.AsyncOperationId) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) + i-- + dAtA[i] = 0x2a + } + if len(m.ResourceVersion) > 0 { + i -= len(m.ResourceVersion) + copy(dAtA[i:], m.ResourceVersion) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) + i-- + dAtA[i] = 0x22 + } + if m.Access != nil { + { + size, err := m.Access.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintRequestResponse(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if len(m.ServiceAccountId) > 0 { + i -= len(m.ServiceAccountId) + copy(dAtA[i:], m.ServiceAccountId) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ServiceAccountId))) + i-- + dAtA[i] = 0x12 + } + if len(m.ProjectId) > 0 { + i -= len(m.ProjectId) + copy(dAtA[i:], m.ProjectId) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ProjectId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SetServiceAccountProjectAccessResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetServiceAccountProjectAccessResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SetServiceAccountProjectAccessResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.AsyncOperation != nil { + { + size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintRequestResponse(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *UpdateNamespaceTagsRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -21720,262 +24984,936 @@ func (m *GetTagKeysResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func encodeVarintRequestResponse(dAtA []byte, offset int, v uint64) int { - offset -= sovRequestResponse(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ +func (m *GetCustomRolesRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - dAtA[offset] = uint8(v) - return base + return dAtA[:n], nil } -func (m *GetUsersRequest) Size() (n int) { - if m == nil { - return 0 - } + +func (m *GetCustomRolesRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetCustomRolesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.PageSize != 0 { - n += 1 + sovRequestResponse(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.Email) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) + if len(m.PageToken) > 0 { + i -= len(m.PageToken) + copy(dAtA[i:], m.PageToken) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PageToken))) + i-- + dAtA[i] = 0x12 } - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) + if m.PageSize != 0 { + i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) + i-- + dAtA[i] = 0x8 } - return n + return len(dAtA) - i, nil } -func (m *GetUsersResponse) Size() (n int) { - if m == nil { - return 0 +func (m *GetCustomRolesResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *GetCustomRolesResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetCustomRolesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if len(m.Users) > 0 { - for _, e := range m.Users { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } + if len(m.NextPageToken) > 0 { + i -= len(m.NextPageToken) + copy(dAtA[i:], m.NextPageToken) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken))) + i-- + dAtA[i] = 0x12 } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) + if len(m.CustomRoles) > 0 { + for iNdEx := len(m.CustomRoles) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.CustomRoles[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintRequestResponse(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } } - return n + return len(dAtA) - i, nil } -func (m *GetUserRequest) Size() (n int) { - if m == nil { - return 0 +func (m *GetCustomRoleRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *GetCustomRoleRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetCustomRoleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.UserId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) + if len(m.RoleId) > 0 { + i -= len(m.RoleId) + copy(dAtA[i:], m.RoleId) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RoleId))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *GetUserResponse) Size() (n int) { - if m == nil { - return 0 +func (m *GetCustomRoleResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *GetCustomRoleResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetCustomRoleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.User != nil { - l = m.User.Size() - n += 1 + l + sovRequestResponse(uint64(l)) + if m.CustomRole != nil { + { + size, err := m.CustomRole.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintRequestResponse(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *CreateUserRequest) Size() (n int) { - if m == nil { - return 0 +func (m *CreateCustomRoleRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *CreateCustomRoleRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CreateCustomRoleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) + if len(m.AsyncOperationId) > 0 { + i -= len(m.AsyncOperationId) + copy(dAtA[i:], m.AsyncOperationId) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) + i-- + dAtA[i] = 0x12 } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) + if m.Spec != nil { + { + size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintRequestResponse(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *CreateUserResponse) Size() (n int) { - if m == nil { - return 0 +func (m *CreateCustomRoleResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *CreateCustomRoleResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CreateCustomRoleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.UserId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) + { + size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintRequestResponse(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } - return n + if len(m.RoleId) > 0 { + i -= len(m.RoleId) + copy(dAtA[i:], m.RoleId) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RoleId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *UpdateUserRequest) Size() (n int) { - if m == nil { - return 0 +func (m *UpdateCustomRoleRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *UpdateCustomRoleRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *UpdateCustomRoleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.UserId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) + if len(m.AsyncOperationId) > 0 { + i -= len(m.AsyncOperationId) + copy(dAtA[i:], m.AsyncOperationId) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) + i-- + dAtA[i] = 0x22 } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) + if len(m.ResourceVersion) > 0 { + i -= len(m.ResourceVersion) + copy(dAtA[i:], m.ResourceVersion) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) + i-- + dAtA[i] = 0x1a } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) + if m.Spec != nil { + { + size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintRequestResponse(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) + if len(m.RoleId) > 0 { + i -= len(m.RoleId) + copy(dAtA[i:], m.RoleId) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RoleId))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *UpdateUserResponse) Size() (n int) { - if m == nil { - return 0 +func (m *UpdateCustomRoleResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *UpdateCustomRoleResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *UpdateCustomRoleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) + { + size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintRequestResponse(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *DeleteUserRequest) Size() (n int) { - if m == nil { - return 0 +func (m *DeleteCustomRoleRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *DeleteCustomRoleRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DeleteCustomRoleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.UserId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) + if len(m.AsyncOperationId) > 0 { + i -= len(m.AsyncOperationId) + copy(dAtA[i:], m.AsyncOperationId) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) + i-- + dAtA[i] = 0x1a } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) + if len(m.ResourceVersion) > 0 { + i -= len(m.ResourceVersion) + copy(dAtA[i:], m.ResourceVersion) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) + i-- + dAtA[i] = 0x12 } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) + if len(m.RoleId) > 0 { + i -= len(m.RoleId) + copy(dAtA[i:], m.RoleId) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RoleId))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *DeleteUserResponse) Size() (n int) { - if m == nil { - return 0 +func (m *DeleteCustomRoleResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *DeleteCustomRoleResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DeleteCustomRoleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) + { + size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintRequestResponse(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *SetUserNamespaceAccessRequest) Size() (n int) { - if m == nil { - return 0 +func (m *CreateBillingReportRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *CreateBillingReportRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CreateBillingReportRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.UserId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.Access != nil { - l = m.Access.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) + if len(m.AsyncOperationId) > 0 { + i -= len(m.AsyncOperationId) + copy(dAtA[i:], m.AsyncOperationId) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) + i-- + dAtA[i] = 0x12 } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) + if m.Spec != nil { + { + size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintRequestResponse(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *SetUserNamespaceAccessResponse) Size() (n int) { - if m == nil { - return 0 +func (m *CreateBillingReportResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *CreateBillingReportResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CreateBillingReportResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) + { + size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintRequestResponse(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } - return n + if len(m.BillingReportId) > 0 { + i -= len(m.BillingReportId) + copy(dAtA[i:], m.BillingReportId) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.BillingReportId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *GetAsyncOperationRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) +func (m *GetBillingReportRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *GetAsyncOperationResponse) Size() (n int) { - if m == nil { - return 0 - } +func (m *GetBillingReportRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetBillingReportRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) + if len(m.BillingReportId) > 0 { + i -= len(m.BillingReportId) + copy(dAtA[i:], m.BillingReportId) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.BillingReportId))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *CreateNamespaceRequest) Size() (n int) { - if m == nil { +func (m *GetBillingReportResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetBillingReportResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetBillingReportResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.BillingReport != nil { + { + size, err := m.BillingReport.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintRequestResponse(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetNamespaceCapacityInfoRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetNamespaceCapacityInfoRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetNamespaceCapacityInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Namespace) > 0 { + i -= len(m.Namespace) + copy(dAtA[i:], m.Namespace) + i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetNamespaceCapacityInfoResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetNamespaceCapacityInfoResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetNamespaceCapacityInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.CapacityInfo != nil { + { + size, err := m.CapacityInfo.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintRequestResponse(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintRequestResponse(dAtA []byte, offset int, v uint64) int { + offset -= sovRequestResponse(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *GetCurrentIdentityRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *GetCurrentIdentityResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Principal != nil { + n += m.Principal.Size() + } + if m.PrincipalApiKey != nil { + l = m.PrincipalApiKey.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *GetCurrentIdentityResponse_User) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.User != nil { + l = m.User.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} +func (m *GetCurrentIdentityResponse_ServiceAccount) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ServiceAccount != nil { + l = m.ServiceAccount.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} +func (m *GetUsersRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.PageSize != 0 { + n += 1 + sovRequestResponse(uint64(m.PageSize)) + } + l = len(m.PageToken) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + l = len(m.Email) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + l = len(m.Namespace) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + l = len(m.EmailSubstring) + if l > 0 { + n += 2 + l + sovRequestResponse(uint64(l)) + } + if len(m.IncludeStates) > 0 { + for _, s := range m.IncludeStates { + l = len(s) + n += 2 + l + sovRequestResponse(uint64(l)) + } + } + return n +} + +func (m *GetUsersResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Users) > 0 { + for _, e := range m.Users { + l = e.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + } + l = len(m.NextPageToken) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *GetUserRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.UserId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + if m.IncludeDerivedRoles { + n += 3 + } + return n +} + +func (m *GetUserResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.User != nil { + l = m.User.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *CreateUserRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Spec != nil { + l = m.Spec.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + l = len(m.AsyncOperationId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *CreateUserResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.UserId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + if m.AsyncOperation != nil { + l = m.AsyncOperation.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *UpdateUserRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.UserId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + if m.Spec != nil { + l = m.Spec.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + l = len(m.ResourceVersion) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + l = len(m.AsyncOperationId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *UpdateUserResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AsyncOperation != nil { + l = m.AsyncOperation.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *DeleteUserRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.UserId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + l = len(m.ResourceVersion) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + l = len(m.AsyncOperationId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *DeleteUserResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AsyncOperation != nil { + l = m.AsyncOperation.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *SetUserNamespaceAccessRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Namespace) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + l = len(m.UserId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + if m.Access != nil { + l = m.Access.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + l = len(m.ResourceVersion) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + l = len(m.AsyncOperationId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *SetUserNamespaceAccessResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AsyncOperation != nil { + l = m.AsyncOperation.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *GetAsyncOperationRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.AsyncOperationId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *GetAsyncOperationResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AsyncOperation != nil { + l = m.AsyncOperation.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *CreateNamespaceRequest) Size() (n int) { + if m == nil { return 0 } var l int @@ -21996,6 +25934,10 @@ func (m *CreateNamespaceRequest) Size() (n int) { n += mapEntrySize + 1 + sovRequestResponse(uint64(mapEntrySize)) } } + l = len(m.ProjectId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } return n } @@ -22033,7 +25975,7 @@ func (m *GetNamespacesRequest) Size() (n int) { if l > 0 { n += 1 + l + sovRequestResponse(uint64(l)) } - l = len(m.ConnectivityRuleId) + l = len(m.ProjectId) if l > 0 { n += 1 + l + sovRequestResponse(uint64(l)) } @@ -22072,6 +26014,10 @@ func (m *GetNamespaceIDsRequest) Size() (n int) { if l > 0 { n += 1 + l + sovRequestResponse(uint64(l)) } + l = len(m.ProjectId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } return n } @@ -22644,6 +26590,16 @@ func (m *GetUserGroupsRequest) Size() (n int) { l = m.ScimGroup.Size() n += 1 + l + sovRequestResponse(uint64(l)) } + l = len(m.NameSubstring) + if l > 0 { + n += 2 + l + sovRequestResponse(uint64(l)) + } + if len(m.IncludeStates) > 0 { + for _, s := range m.IncludeStates { + l = len(s) + n += 2 + l + sovRequestResponse(uint64(l)) + } + } return n } @@ -23046,6 +27002,23 @@ func (m *GetServiceAccountsRequest) Size() (n int) { if l > 0 { n += 1 + l + sovRequestResponse(uint64(l)) } + if m.Scope != 0 { + n += 2 + sovRequestResponse(uint64(m.Scope)) + } + l = len(m.Namespace) + if l > 0 { + n += 2 + l + sovRequestResponse(uint64(l)) + } + if len(m.IncludeStates) > 0 { + for _, s := range m.IncludeStates { + l = len(s) + n += 2 + l + sovRequestResponse(uint64(l)) + } + } + l = len(m.NameSubstring) + if l > 0 { + n += 2 + l + sovRequestResponse(uint64(l)) + } return n } @@ -23206,6 +27179,21 @@ func (m *GetApiKeysRequest) Size() (n int) { if m.OwnerType != 0 { n += 1 + sovRequestResponse(uint64(m.OwnerType)) } + if len(m.IncludeStates) > 0 { + l = 0 + for _, e := range m.IncludeStates { + l += sovRequestResponse(uint64(e)) + } + n += 2 + sovRequestResponse(uint64(l)) + l + } + if m.Disabled != nil { + l = m.Disabled.Size() + n += 2 + l + sovRequestResponse(uint64(l)) + } + l = len(m.Namespace) + if l > 0 { + n += 2 + l + sovRequestResponse(uint64(l)) + } return n } @@ -24061,6 +28049,10 @@ func (m *CreateConnectivityRuleRequest) Size() (n int) { if l > 0 { n += 1 + l + sovRequestResponse(uint64(l)) } + l = len(m.ProjectId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } return n } @@ -24124,6 +28116,10 @@ func (m *GetConnectivityRulesRequest) Size() (n int) { if l > 0 { n += 1 + l + sovRequestResponse(uint64(l)) } + l = len(m.ProjectId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } return n } @@ -24347,6 +28343,132 @@ func (m *DeleteProjectResponse) Size() (n int) { return n } +func (m *SetUserGroupProjectAccessRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ProjectId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + l = len(m.GroupId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + if m.Access != nil { + l = m.Access.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + l = len(m.ResourceVersion) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + l = len(m.AsyncOperationId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *SetUserGroupProjectAccessResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AsyncOperation != nil { + l = m.AsyncOperation.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *SetUserProjectAccessRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ProjectId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + l = len(m.UserId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + if m.Access != nil { + l = m.Access.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + l = len(m.ResourceVersion) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + l = len(m.AsyncOperationId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *SetUserProjectAccessResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AsyncOperation != nil { + l = m.AsyncOperation.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *SetServiceAccountProjectAccessRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ProjectId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + l = len(m.ServiceAccountId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + if m.Access != nil { + l = m.Access.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + l = len(m.ResourceVersion) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + l = len(m.AsyncOperationId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *SetServiceAccountProjectAccessResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AsyncOperation != nil { + l = m.AsyncOperation.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + func (m *UpdateNamespaceTagsRequest) Size() (n int) { if m == nil { return 0 @@ -24449,12 +28571,305 @@ func (m *GetTagKeysResponse) Size() (n int) { return n } +func (m *GetCustomRolesRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.PageSize != 0 { + n += 1 + sovRequestResponse(uint64(m.PageSize)) + } + l = len(m.PageToken) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *GetCustomRolesResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.CustomRoles) > 0 { + for _, e := range m.CustomRoles { + l = e.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + } + l = len(m.NextPageToken) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *GetCustomRoleRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.RoleId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *GetCustomRoleResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CustomRole != nil { + l = m.CustomRole.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *CreateCustomRoleRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Spec != nil { + l = m.Spec.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + l = len(m.AsyncOperationId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *CreateCustomRoleResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.RoleId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + if m.AsyncOperation != nil { + l = m.AsyncOperation.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *UpdateCustomRoleRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.RoleId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + if m.Spec != nil { + l = m.Spec.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + l = len(m.ResourceVersion) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + l = len(m.AsyncOperationId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *UpdateCustomRoleResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AsyncOperation != nil { + l = m.AsyncOperation.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *DeleteCustomRoleRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.RoleId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + l = len(m.ResourceVersion) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + l = len(m.AsyncOperationId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *DeleteCustomRoleResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AsyncOperation != nil { + l = m.AsyncOperation.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *CreateBillingReportRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Spec != nil { + l = m.Spec.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + l = len(m.AsyncOperationId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *CreateBillingReportResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.BillingReportId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + if m.AsyncOperation != nil { + l = m.AsyncOperation.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *GetBillingReportRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.BillingReportId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *GetBillingReportResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.BillingReport != nil { + l = m.BillingReport.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *GetNamespaceCapacityInfoRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Namespace) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + +func (m *GetNamespaceCapacityInfoResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CapacityInfo != nil { + l = m.CapacityInfo.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n +} + func sovRequestResponse(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } func sozRequestResponse(x uint64) (n int) { return sovRequestResponse(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } +func (this *GetCurrentIdentityRequest) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&GetCurrentIdentityRequest{`, + `}`, + }, "") + return s +} +func (this *GetCurrentIdentityResponse) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&GetCurrentIdentityResponse{`, + `Principal:` + fmt.Sprintf("%v", this.Principal) + `,`, + `PrincipalApiKey:` + strings.Replace(fmt.Sprintf("%v", this.PrincipalApiKey), "ApiKey", "v1.ApiKey", 1) + `,`, + `}`, + }, "") + return s +} +func (this *GetCurrentIdentityResponse_User) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&GetCurrentIdentityResponse_User{`, + `User:` + strings.Replace(fmt.Sprintf("%v", this.User), "User", "v1.User", 1) + `,`, + `}`, + }, "") + return s +} +func (this *GetCurrentIdentityResponse_ServiceAccount) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&GetCurrentIdentityResponse_ServiceAccount{`, + `ServiceAccount:` + strings.Replace(fmt.Sprintf("%v", this.ServiceAccount), "ServiceAccount", "v1.ServiceAccount", 1) + `,`, + `}`, + }, "") + return s +} func (this *GetUsersRequest) String() string { if this == nil { return "nil" @@ -24464,6 +28879,8 @@ func (this *GetUsersRequest) String() string { `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, `Email:` + fmt.Sprintf("%v", this.Email) + `,`, `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, + `EmailSubstring:` + fmt.Sprintf("%v", this.EmailSubstring) + `,`, + `IncludeStates:` + fmt.Sprintf("%v", this.IncludeStates) + `,`, `}`, }, "") return s @@ -24490,6 +28907,7 @@ func (this *GetUserRequest) String() string { } s := strings.Join([]string{`&GetUserRequest{`, `UserId:` + fmt.Sprintf("%v", this.UserId) + `,`, + `IncludeDerivedRoles:` + fmt.Sprintf("%v", this.IncludeDerivedRoles) + `,`, `}`, }, "") return s @@ -24633,6 +29051,7 @@ func (this *CreateNamespaceRequest) String() string { `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "NamespaceSpec", "v12.NamespaceSpec", 1) + `,`, `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, `Tags:` + mapStringForTags + `,`, + `ProjectId:` + fmt.Sprintf("%v", this.ProjectId) + `,`, `}`, }, "") return s @@ -24656,7 +29075,7 @@ func (this *GetNamespacesRequest) String() string { `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, `Name:` + fmt.Sprintf("%v", this.Name) + `,`, - `ConnectivityRuleId:` + fmt.Sprintf("%v", this.ConnectivityRuleId) + `,`, + `ProjectId:` + fmt.Sprintf("%v", this.ProjectId) + `,`, `}`, }, "") return s @@ -24684,6 +29103,7 @@ func (this *GetNamespaceIDsRequest) String() string { s := strings.Join([]string{`&GetNamespaceIDsRequest{`, `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, + `ProjectId:` + fmt.Sprintf("%v", this.ProjectId) + `,`, `}`, }, "") return s @@ -25052,6 +29472,8 @@ func (this *GetUserGroupsRequest) String() string { `DisplayName:` + fmt.Sprintf("%v", this.DisplayName) + `,`, `GoogleGroup:` + strings.Replace(fmt.Sprintf("%v", this.GoogleGroup), "GetUserGroupsRequest_GoogleGroupFilter", "GetUserGroupsRequest_GoogleGroupFilter", 1) + `,`, `ScimGroup:` + strings.Replace(fmt.Sprintf("%v", this.ScimGroup), "GetUserGroupsRequest_SCIMGroupFilter", "GetUserGroupsRequest_SCIMGroupFilter", 1) + `,`, + `NameSubstring:` + fmt.Sprintf("%v", this.NameSubstring) + `,`, + `IncludeStates:` + fmt.Sprintf("%v", this.IncludeStates) + `,`, `}`, }, "") return s @@ -25324,6 +29746,10 @@ func (this *GetServiceAccountsRequest) String() string { s := strings.Join([]string{`&GetServiceAccountsRequest{`, `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, + `Scope:` + fmt.Sprintf("%v", this.Scope) + `,`, + `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, + `IncludeStates:` + fmt.Sprintf("%v", this.IncludeStates) + `,`, + `NameSubstring:` + fmt.Sprintf("%v", this.NameSubstring) + `,`, `}`, }, "") return s @@ -25423,6 +29849,9 @@ func (this *GetApiKeysRequest) String() string { `OwnerId:` + fmt.Sprintf("%v", this.OwnerId) + `,`, `OwnerTypeDeprecated:` + fmt.Sprintf("%v", this.OwnerTypeDeprecated) + `,`, `OwnerType:` + fmt.Sprintf("%v", this.OwnerType) + `,`, + `IncludeStates:` + fmt.Sprintf("%v", this.IncludeStates) + `,`, + `Disabled:` + strings.Replace(fmt.Sprintf("%v", this.Disabled), "BoolValue", "types.BoolValue", 1) + `,`, + `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, `}`, }, "") return s @@ -25681,7 +30110,7 @@ func (this *GetAuditLogsResponse) String() string { } repeatedStringForLogs := "[]*LogRecord{" for _, f := range this.Logs { - repeatedStringForLogs += strings.Replace(fmt.Sprintf("%v", f), "LogRecord", "v16.LogRecord", 1) + "," + repeatedStringForLogs += strings.Replace(fmt.Sprintf("%v", f), "LogRecord", "v17.LogRecord", 1) + "," } repeatedStringForLogs += "}" s := strings.Join([]string{`&GetAuditLogsResponse{`, @@ -25710,7 +30139,7 @@ func (this *GetUsageResponse) String() string { } repeatedStringForSummaries := "[]*Summary{" for _, f := range this.Summaries { - repeatedStringForSummaries += strings.Replace(fmt.Sprintf("%v", f), "Summary", "v17.Summary", 1) + "," + repeatedStringForSummaries += strings.Replace(fmt.Sprintf("%v", f), "Summary", "v18.Summary", 1) + "," } repeatedStringForSummaries += "}" s := strings.Join([]string{`&GetUsageResponse{`, @@ -26014,8 +30443,9 @@ func (this *CreateConnectivityRuleRequest) String() string { return "nil" } s := strings.Join([]string{`&CreateConnectivityRuleRequest{`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "ConnectivityRuleSpec", "v18.ConnectivityRuleSpec", 1) + `,`, + `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "ConnectivityRuleSpec", "v19.ConnectivityRuleSpec", 1) + `,`, `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, + `ProjectId:` + fmt.Sprintf("%v", this.ProjectId) + `,`, `}`, }, "") return s @@ -26046,7 +30476,7 @@ func (this *GetConnectivityRuleResponse) String() string { return "nil" } s := strings.Join([]string{`&GetConnectivityRuleResponse{`, - `ConnectivityRule:` + strings.Replace(fmt.Sprintf("%v", this.ConnectivityRule), "ConnectivityRule", "v18.ConnectivityRule", 1) + `,`, + `ConnectivityRule:` + strings.Replace(fmt.Sprintf("%v", this.ConnectivityRule), "ConnectivityRule", "v19.ConnectivityRule", 1) + `,`, `}`, }, "") return s @@ -26059,6 +30489,7 @@ func (this *GetConnectivityRulesRequest) String() string { `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, + `ProjectId:` + fmt.Sprintf("%v", this.ProjectId) + `,`, `}`, }, "") return s @@ -26069,7 +30500,7 @@ func (this *GetConnectivityRulesResponse) String() string { } repeatedStringForConnectivityRules := "[]*ConnectivityRule{" for _, f := range this.ConnectivityRules { - repeatedStringForConnectivityRules += strings.Replace(fmt.Sprintf("%v", f), "ConnectivityRule", "v18.ConnectivityRule", 1) + "," + repeatedStringForConnectivityRules += strings.Replace(fmt.Sprintf("%v", f), "ConnectivityRule", "v19.ConnectivityRule", 1) + "," } repeatedStringForConnectivityRules += "}" s := strings.Join([]string{`&GetConnectivityRulesResponse{`, @@ -26118,7 +30549,7 @@ func (this *GetProjectsResponse) String() string { } repeatedStringForProjects := "[]*Project{" for _, f := range this.Projects { - repeatedStringForProjects += strings.Replace(fmt.Sprintf("%v", f), "Project", "v19.Project", 1) + "," + repeatedStringForProjects += strings.Replace(fmt.Sprintf("%v", f), "Project", "v110.Project", 1) + "," } repeatedStringForProjects += "}" s := strings.Join([]string{`&GetProjectsResponse{`, @@ -26143,7 +30574,7 @@ func (this *GetProjectResponse) String() string { return "nil" } s := strings.Join([]string{`&GetProjectResponse{`, - `Project:` + strings.Replace(fmt.Sprintf("%v", this.Project), "Project", "v19.Project", 1) + `,`, + `Project:` + strings.Replace(fmt.Sprintf("%v", this.Project), "Project", "v110.Project", 1) + `,`, `}`, }, "") return s @@ -26153,7 +30584,7 @@ func (this *CreateProjectRequest) String() string { return "nil" } s := strings.Join([]string{`&CreateProjectRequest{`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "ProjectSpec", "v19.ProjectSpec", 1) + `,`, + `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "ProjectSpec", "v110.ProjectSpec", 1) + `,`, `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, `}`, }, "") @@ -26176,7 +30607,7 @@ func (this *UpdateProjectRequest) String() string { } s := strings.Join([]string{`&UpdateProjectRequest{`, `ProjectId:` + fmt.Sprintf("%v", this.ProjectId) + `,`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "ProjectSpec", "v19.ProjectSpec", 1) + `,`, + `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "ProjectSpec", "v110.ProjectSpec", 1) + `,`, `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, `}`, @@ -26215,6 +30646,78 @@ func (this *DeleteProjectResponse) String() string { }, "") return s } +func (this *SetUserGroupProjectAccessRequest) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&SetUserGroupProjectAccessRequest{`, + `ProjectId:` + fmt.Sprintf("%v", this.ProjectId) + `,`, + `GroupId:` + fmt.Sprintf("%v", this.GroupId) + `,`, + `Access:` + strings.Replace(fmt.Sprintf("%v", this.Access), "ProjectAccess", "v1.ProjectAccess", 1) + `,`, + `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, + `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, + `}`, + }, "") + return s +} +func (this *SetUserGroupProjectAccessResponse) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&SetUserGroupProjectAccessResponse{`, + `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, + `}`, + }, "") + return s +} +func (this *SetUserProjectAccessRequest) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&SetUserProjectAccessRequest{`, + `ProjectId:` + fmt.Sprintf("%v", this.ProjectId) + `,`, + `UserId:` + fmt.Sprintf("%v", this.UserId) + `,`, + `Access:` + strings.Replace(fmt.Sprintf("%v", this.Access), "ProjectAccess", "v1.ProjectAccess", 1) + `,`, + `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, + `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, + `}`, + }, "") + return s +} +func (this *SetUserProjectAccessResponse) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&SetUserProjectAccessResponse{`, + `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, + `}`, + }, "") + return s +} +func (this *SetServiceAccountProjectAccessRequest) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&SetServiceAccountProjectAccessRequest{`, + `ProjectId:` + fmt.Sprintf("%v", this.ProjectId) + `,`, + `ServiceAccountId:` + fmt.Sprintf("%v", this.ServiceAccountId) + `,`, + `Access:` + strings.Replace(fmt.Sprintf("%v", this.Access), "ProjectAccess", "v1.ProjectAccess", 1) + `,`, + `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, + `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, + `}`, + }, "") + return s +} +func (this *SetServiceAccountProjectAccessResponse) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&SetServiceAccountProjectAccessResponse{`, + `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, + `}`, + }, "") + return s +} func (this *UpdateNamespaceTagsRequest) String() string { if this == nil { return "nil" @@ -26289,6 +30792,182 @@ func (this *GetTagKeysResponse) String() string { }, "") return s } +func (this *GetCustomRolesRequest) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&GetCustomRolesRequest{`, + `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, + `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, + `}`, + }, "") + return s +} +func (this *GetCustomRolesResponse) String() string { + if this == nil { + return "nil" + } + repeatedStringForCustomRoles := "[]*CustomRole{" + for _, f := range this.CustomRoles { + repeatedStringForCustomRoles += strings.Replace(fmt.Sprintf("%v", f), "CustomRole", "v1.CustomRole", 1) + "," + } + repeatedStringForCustomRoles += "}" + s := strings.Join([]string{`&GetCustomRolesResponse{`, + `CustomRoles:` + repeatedStringForCustomRoles + `,`, + `NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`, + `}`, + }, "") + return s +} +func (this *GetCustomRoleRequest) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&GetCustomRoleRequest{`, + `RoleId:` + fmt.Sprintf("%v", this.RoleId) + `,`, + `}`, + }, "") + return s +} +func (this *GetCustomRoleResponse) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&GetCustomRoleResponse{`, + `CustomRole:` + strings.Replace(fmt.Sprintf("%v", this.CustomRole), "CustomRole", "v1.CustomRole", 1) + `,`, + `}`, + }, "") + return s +} +func (this *CreateCustomRoleRequest) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&CreateCustomRoleRequest{`, + `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "CustomRoleSpec", "v1.CustomRoleSpec", 1) + `,`, + `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, + `}`, + }, "") + return s +} +func (this *CreateCustomRoleResponse) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&CreateCustomRoleResponse{`, + `RoleId:` + fmt.Sprintf("%v", this.RoleId) + `,`, + `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, + `}`, + }, "") + return s +} +func (this *UpdateCustomRoleRequest) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&UpdateCustomRoleRequest{`, + `RoleId:` + fmt.Sprintf("%v", this.RoleId) + `,`, + `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "CustomRoleSpec", "v1.CustomRoleSpec", 1) + `,`, + `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, + `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, + `}`, + }, "") + return s +} +func (this *UpdateCustomRoleResponse) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&UpdateCustomRoleResponse{`, + `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, + `}`, + }, "") + return s +} +func (this *DeleteCustomRoleRequest) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&DeleteCustomRoleRequest{`, + `RoleId:` + fmt.Sprintf("%v", this.RoleId) + `,`, + `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, + `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, + `}`, + }, "") + return s +} +func (this *DeleteCustomRoleResponse) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&DeleteCustomRoleResponse{`, + `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, + `}`, + }, "") + return s +} +func (this *CreateBillingReportRequest) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&CreateBillingReportRequest{`, + `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "BillingReportSpec", "v111.BillingReportSpec", 1) + `,`, + `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, + `}`, + }, "") + return s +} +func (this *CreateBillingReportResponse) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&CreateBillingReportResponse{`, + `BillingReportId:` + fmt.Sprintf("%v", this.BillingReportId) + `,`, + `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, + `}`, + }, "") + return s +} +func (this *GetBillingReportRequest) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&GetBillingReportRequest{`, + `BillingReportId:` + fmt.Sprintf("%v", this.BillingReportId) + `,`, + `}`, + }, "") + return s +} +func (this *GetBillingReportResponse) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&GetBillingReportResponse{`, + `BillingReport:` + strings.Replace(fmt.Sprintf("%v", this.BillingReport), "BillingReport", "v111.BillingReport", 1) + `,`, + `}`, + }, "") + return s +} +func (this *GetNamespaceCapacityInfoRequest) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&GetNamespaceCapacityInfoRequest{`, + `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, + `}`, + }, "") + return s +} +func (this *GetNamespaceCapacityInfoResponse) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&GetNamespaceCapacityInfoResponse{`, + `CapacityInfo:` + strings.Replace(fmt.Sprintf("%v", this.CapacityInfo), "NamespaceCapacityInfo", "v12.NamespaceCapacityInfo", 1) + `,`, + `}`, + }, "") + return s +} func valueToStringRequestResponse(v interface{}) string { rv := reflect.ValueOf(v) if rv.IsNil() { @@ -26297,6 +30976,218 @@ func valueToStringRequestResponse(v interface{}) string { pv := reflect.Indirect(rv).Interface() return fmt.Sprintf("*%v", pv) } +func (m *GetCurrentIdentityRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetCurrentIdentityRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetCurrentIdentityRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetCurrentIdentityResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetCurrentIdentityResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetCurrentIdentityResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &v1.User{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Principal = &GetCurrentIdentityResponse_User{v} + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccount", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &v1.ServiceAccount{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Principal = &GetCurrentIdentityResponse_ServiceAccount{v} + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PrincipalApiKey", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.PrincipalApiKey == nil { + m.PrincipalApiKey = &v1.ApiKey{} + } + if err := m.PrincipalApiKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *GetUsersRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -26375,43 +31266,3494 @@ func (m *GetUsersRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PageToken = string(dAtA[iNdEx:postIndex]) + m.PageToken = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Email", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Email = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Namespace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 100: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EmailSubstring", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.EmailSubstring = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 101: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IncludeStates", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.IncludeStates = append(m.IncludeStates, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetUsersResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetUsersResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetUsersResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Users", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Users = append(m.Users, &v1.User{}) + if err := m.Users[len(m.Users)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NextPageToken = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetUserRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetUserRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetUserRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.UserId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 100: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IncludeDerivedRoles", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IncludeDerivedRoles = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetUserResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetUserResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetUserResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.User == nil { + m.User = &v1.User{} + } + if err := m.User.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CreateUserRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CreateUserRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CreateUserRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Spec == nil { + m.Spec = &v1.UserSpec{} + } + if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CreateUserResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CreateUserResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CreateUserResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.UserId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} + } + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UpdateUserRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UpdateUserRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UpdateUserRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.UserId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Spec == nil { + m.Spec = &v1.UserSpec{} + } + if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UpdateUserResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UpdateUserResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UpdateUserResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} + } + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeleteUserRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeleteUserRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeleteUserRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.UserId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeleteUserResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeleteUserResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeleteUserResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} + } + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetUserNamespaceAccessRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetUserNamespaceAccessRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetUserNamespaceAccessRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Namespace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.UserId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Access", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Access == nil { + m.Access = &v1.NamespaceAccess{} + } + if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetUserNamespaceAccessResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetUserNamespaceAccessResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetUserNamespaceAccessResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} + } + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetAsyncOperationRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetAsyncOperationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetAsyncOperationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetAsyncOperationResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetAsyncOperationResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetAsyncOperationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} + } + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CreateNamespaceRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CreateNamespaceRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CreateNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Spec == nil { + m.Spec = &v12.NamespaceSpec{} + } + if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Tags == nil { + m.Tags = make(map[string]string) + } + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthRequestResponse + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthRequestResponse + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLengthRequestResponse + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthRequestResponse + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Tags[mapkey] = mapvalue + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ProjectId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CreateNamespaceResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CreateNamespaceResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CreateNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Namespace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} + } + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetNamespacesRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetNamespacesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetNamespacesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) + } + m.PageSize = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.PageSize |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PageToken = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ProjectId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetNamespacesResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetNamespacesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetNamespacesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Namespaces", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Namespaces = append(m.Namespaces, &v12.Namespace{}) + if err := m.Namespaces[len(m.Namespaces)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NextPageToken = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetNamespaceIDsRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetNamespaceIDsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetNamespaceIDsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) + } + m.PageSize = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.PageSize |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PageToken = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ProjectId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetNamespaceIDsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetNamespaceIDsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetNamespaceIDsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NamespaceIds", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NamespaceIds = append(m.NamespaceIds, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NextPageToken = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetNamespaceRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetNamespaceRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Namespace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetNamespaceResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetNamespaceResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Namespace == nil { + m.Namespace = &v12.Namespace{} + } + if err := m.Namespace.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UpdateNamespaceRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UpdateNamespaceRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UpdateNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Namespace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Spec == nil { + m.Spec = &v12.NamespaceSpec{} + } + if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UpdateNamespaceResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UpdateNamespaceResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UpdateNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} + } + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RenameCustomSearchAttributeRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RenameCustomSearchAttributeRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RenameCustomSearchAttributeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Namespace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExistingCustomSearchAttributeName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ExistingCustomSearchAttributeName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NewCustomSearchAttributeName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NewCustomSearchAttributeName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RenameCustomSearchAttributeResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RenameCustomSearchAttributeResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RenameCustomSearchAttributeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} + } + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeleteNamespaceRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeleteNamespaceRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeleteNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Namespace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Email", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Email = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -26439,7 +34781,7 @@ func (m *GetUsersRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Namespace = string(dAtA[iNdEx:postIndex]) + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -26465,7 +34807,7 @@ func (m *GetUsersRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetUsersResponse) Unmarshal(dAtA []byte) error { +func (m *DeleteNamespaceResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -26488,15 +34830,15 @@ func (m *GetUsersResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetUsersResponse: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteNamespaceResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetUsersResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Users", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -26523,42 +34865,12 @@ func (m *GetUsersResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Users = append(m.Users, &v1.User{}) - if err := m.Users[len(m.Users)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} } - if postIndex > l { - return io.ErrUnexpectedEOF + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -26584,7 +34896,7 @@ func (m *GetUsersResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetUserRequest) Unmarshal(dAtA []byte) error { +func (m *FailoverNamespaceRegionRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -26607,15 +34919,15 @@ func (m *GetUserRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetUserRequest: wiretype end group for non-group") + return fmt.Errorf("proto: FailoverNamespaceRegionRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetUserRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: FailoverNamespaceRegionRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -26643,7 +34955,71 @@ func (m *GetUserRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.UserId = string(dAtA[iNdEx:postIndex]) + m.Namespace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Region = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -26669,7 +35045,7 @@ func (m *GetUserRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetUserResponse) Unmarshal(dAtA []byte) error { +func (m *FailoverNamespaceRegionResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -26692,15 +35068,15 @@ func (m *GetUserResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetUserResponse: wiretype end group for non-group") + return fmt.Errorf("proto: FailoverNamespaceRegionResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetUserResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: FailoverNamespaceRegionResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -26727,10 +35103,10 @@ func (m *GetUserResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.User == nil { - m.User = &v1.User{} + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} } - if err := m.User.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -26758,7 +35134,7 @@ func (m *GetUserResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateUserRequest) Unmarshal(dAtA []byte) error { +func (m *AddNamespaceRegionRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -26781,17 +35157,17 @@ func (m *CreateUserRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateUserRequest: wiretype end group for non-group") + return fmt.Errorf("proto: AddNamespaceRegionRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateUserRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: AddNamespaceRegionRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -26801,29 +35177,89 @@ func (m *CreateUserRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Spec == nil { - m.Spec = &v1.UserSpec{} + m.Namespace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Region = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } @@ -26879,7 +35315,7 @@ func (m *CreateUserRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateUserResponse) Unmarshal(dAtA []byte) error { +func (m *AddNamespaceRegionResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -26902,45 +35338,13 @@ func (m *CreateUserResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateUserResponse: wiretype end group for non-group") + return fmt.Errorf("proto: AddNamespaceRegionResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateUserResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: AddNamespaceRegionResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.UserId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } @@ -27000,7 +35404,7 @@ func (m *CreateUserResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateUserRequest) Unmarshal(dAtA []byte) error { +func (m *DeleteNamespaceRegionRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -27023,15 +35427,15 @@ func (m *UpdateUserRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateUserRequest: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteNamespaceRegionRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateUserRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteNamespaceRegionRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -27059,13 +35463,13 @@ func (m *UpdateUserRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.UserId = string(dAtA[iNdEx:postIndex]) + m.Namespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -27075,27 +35479,23 @@ func (m *UpdateUserRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Spec == nil { - m.Spec = &v1.UserSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Region = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -27185,7 +35585,7 @@ func (m *UpdateUserRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateUserResponse) Unmarshal(dAtA []byte) error { +func (m *DeleteNamespaceRegionResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -27208,10 +35608,10 @@ func (m *UpdateUserResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateUserResponse: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteNamespaceRegionResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateUserResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteNamespaceRegionResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -27274,7 +35674,7 @@ func (m *UpdateUserResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteUserRequest) Unmarshal(dAtA []byte) error { +func (m *GetRegionsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -27297,17 +35697,70 @@ func (m *DeleteUserRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteUserRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetRegionsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteUserRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetRegionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetRegionsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetRegionsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetRegionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Regions", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -27317,59 +35770,82 @@ func (m *DeleteUserRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.UserId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) + m.Regions = append(m.Regions, &v13.Region{}) + if err := m.Regions[len(m.Regions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err } - intStringLen := int(stringLen) - if intStringLen < 0 { + if skippy < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen - if postIndex < 0 { + if (iNdEx + skippy) < 0 { return ErrInvalidLengthRequestResponse } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetRegionRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetRegionRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetRegionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -27397,7 +35873,7 @@ func (m *DeleteUserRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.Region = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -27423,7 +35899,7 @@ func (m *DeleteUserRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteUserResponse) Unmarshal(dAtA []byte) error { +func (m *GetRegionResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -27446,15 +35922,15 @@ func (m *DeleteUserResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteUserResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetRegionResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteUserResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetRegionResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -27481,10 +35957,10 @@ func (m *DeleteUserResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} + if m.Region == nil { + m.Region = &v13.Region{} } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Region.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -27512,7 +35988,7 @@ func (m *DeleteUserResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *SetUserNamespaceAccessRequest) Unmarshal(dAtA []byte) error { +func (m *GetNexusEndpointsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -27535,15 +36011,34 @@ func (m *SetUserNamespaceAccessRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SetUserNamespaceAccessRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetNexusEndpointsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SetUserNamespaceAccessRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetNexusEndpointsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) + } + m.PageSize = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.PageSize |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -27571,11 +36066,11 @@ func (m *SetUserNamespaceAccessRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Namespace = string(dAtA[iNdEx:postIndex]) + m.PageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TargetNamespaceId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -27603,13 +36098,13 @@ func (m *SetUserNamespaceAccessRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.UserId = string(dAtA[iNdEx:postIndex]) + m.TargetNamespaceId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Access", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TargetTaskQueue", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -27619,31 +36114,27 @@ func (m *SetUserNamespaceAccessRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Access == nil { - m.Access = &v1.NamespaceAccess{} - } - if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.TargetTaskQueue = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -27671,11 +36162,11 @@ func (m *SetUserNamespaceAccessRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 5: + case 6: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -27703,7 +36194,7 @@ func (m *SetUserNamespaceAccessRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.ProjectId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -27729,7 +36220,7 @@ func (m *SetUserNamespaceAccessRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *SetUserNamespaceAccessResponse) Unmarshal(dAtA []byte) error { +func (m *GetNexusEndpointsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -27752,15 +36243,15 @@ func (m *SetUserNamespaceAccessResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SetUserNamespaceAccessResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetNexusEndpointsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SetUserNamespaceAccessResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetNexusEndpointsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Endpoints", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -27787,13 +36278,43 @@ func (m *SetUserNamespaceAccessResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Endpoints = append(m.Endpoints, &v14.Endpoint{}) + if err := m.Endpoints[len(m.Endpoints)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NextPageToken = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipRequestResponse(dAtA[iNdEx:]) @@ -27818,7 +36339,7 @@ func (m *SetUserNamespaceAccessResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetAsyncOperationRequest) Unmarshal(dAtA []byte) error { +func (m *GetNexusEndpointRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -27841,15 +36362,15 @@ func (m *GetAsyncOperationRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetAsyncOperationRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetNexusEndpointRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetAsyncOperationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetNexusEndpointRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EndpointId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -27877,7 +36398,7 @@ func (m *GetAsyncOperationRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.EndpointId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -27903,7 +36424,7 @@ func (m *GetAsyncOperationRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetAsyncOperationResponse) Unmarshal(dAtA []byte) error { +func (m *GetNexusEndpointResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -27926,15 +36447,15 @@ func (m *GetAsyncOperationResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetAsyncOperationResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetNexusEndpointResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetAsyncOperationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetNexusEndpointResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Endpoint", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -27961,10 +36482,10 @@ func (m *GetAsyncOperationResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} + if m.Endpoint == nil { + m.Endpoint = &v14.Endpoint{} } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Endpoint.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -27992,7 +36513,7 @@ func (m *GetAsyncOperationResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateNamespaceRequest) Unmarshal(dAtA []byte) error { +func (m *CreateNexusEndpointRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -28015,13 +36536,13 @@ func (m *CreateNamespaceRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateNamespaceRequest: wiretype end group for non-group") + return fmt.Errorf("proto: CreateNexusEndpointRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateNexusEndpointRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 2: + case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) } @@ -28051,13 +36572,13 @@ func (m *CreateNamespaceRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Spec == nil { - m.Spec = &v12.NamespaceSpec{} + m.Spec = &v14.EndpointSpec{} } if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 3: + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } @@ -28089,11 +36610,11 @@ func (m *CreateNamespaceRequest) Unmarshal(dAtA []byte) error { } m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -28103,118 +36624,23 @@ func (m *CreateNamespaceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Tags == nil { - m.Tags = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthRequestResponse - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthRequestResponse - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthRequestResponse - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthRequestResponse - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Tags[mapkey] = mapvalue + m.ProjectId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -28240,7 +36666,7 @@ func (m *CreateNamespaceRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateNamespaceResponse) Unmarshal(dAtA []byte) error { +func (m *CreateNexusEndpointResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -28263,15 +36689,15 @@ func (m *CreateNamespaceResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateNamespaceResponse: wiretype end group for non-group") + return fmt.Errorf("proto: CreateNexusEndpointResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateNexusEndpointResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EndpointId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -28299,7 +36725,7 @@ func (m *CreateNamespaceResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Namespace = string(dAtA[iNdEx:postIndex]) + m.EndpointId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -28361,7 +36787,7 @@ func (m *CreateNamespaceResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetNamespacesRequest) Unmarshal(dAtA []byte) error { +func (m *UpdateNexusEndpointRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -28384,98 +36810,15 @@ func (m *GetNamespacesRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetNamespacesRequest: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateNexusEndpointRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespacesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateNexusEndpointRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnectivityRuleId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EndpointId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -28503,64 +36846,11 @@ func (m *GetNamespacesRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ConnectivityRuleId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetNamespacesResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetNamespacesResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespacesResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + m.EndpointId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespaces", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -28587,14 +36877,16 @@ func (m *GetNamespacesResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Namespaces = append(m.Namespaces, &v12.Namespace{}) - if err := m.Namespaces[len(m.Namespaces)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.Spec == nil { + m.Spec = &v14.EndpointSpec{} + } + if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 2: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -28622,7 +36914,39 @@ func (m *GetNamespacesResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -28648,7 +36972,7 @@ func (m *GetNamespacesResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetNamespaceIDsRequest) Unmarshal(dAtA []byte) error { +func (m *UpdateNexusEndpointResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -28671,36 +36995,17 @@ func (m *GetNamespaceIDsRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetNamespaceIDsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateNexusEndpointResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespaceIDsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateNexusEndpointResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -28710,23 +37015,27 @@ func (m *GetNamespaceIDsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.PageToken = string(dAtA[iNdEx:postIndex]) + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} + } + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -28752,7 +37061,7 @@ func (m *GetNamespaceIDsRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetNamespaceIDsResponse) Unmarshal(dAtA []byte) error { +func (m *DeleteNexusEndpointRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -28775,15 +37084,15 @@ func (m *GetNamespaceIDsResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetNamespaceIDsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteNexusEndpointRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespaceIDsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteNexusEndpointRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NamespaceIds", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EndpointId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -28811,11 +37120,11 @@ func (m *GetNamespaceIDsResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.NamespaceIds = append(m.NamespaceIds, string(dAtA[iNdEx:postIndex])) + m.EndpointId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -28843,64 +37152,11 @@ func (m *GetNamespaceIDsResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetNamespaceRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetNamespaceRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -28928,7 +37184,7 @@ func (m *GetNamespaceRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Namespace = string(dAtA[iNdEx:postIndex]) + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -28954,7 +37210,7 @@ func (m *GetNamespaceRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetNamespaceResponse) Unmarshal(dAtA []byte) error { +func (m *DeleteNexusEndpointResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -28977,15 +37233,15 @@ func (m *GetNamespaceResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetNamespaceResponse: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteNexusEndpointResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteNexusEndpointResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -29012,10 +37268,10 @@ func (m *GetNamespaceResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Namespace == nil { - m.Namespace = &v12.Namespace{} + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} } - if err := m.Namespace.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -29043,7 +37299,7 @@ func (m *GetNamespaceResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateNamespaceRequest) Unmarshal(dAtA []byte) error { +func (m *UpdateAccountRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -29066,45 +37322,13 @@ func (m *UpdateNamespaceRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateNamespaceRequest: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateAccountRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) } @@ -29134,13 +37358,13 @@ func (m *UpdateNamespaceRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Spec == nil { - m.Spec = &v12.NamespaceSpec{} + m.Spec = &v15.AccountSpec{} } if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 3: + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } @@ -29172,7 +37396,7 @@ func (m *UpdateNamespaceRequest) Unmarshal(dAtA []byte) error { } m.ResourceVersion = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } @@ -29228,7 +37452,7 @@ func (m *UpdateNamespaceRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateNamespaceResponse) Unmarshal(dAtA []byte) error { +func (m *UpdateAccountResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -29251,10 +37475,10 @@ func (m *UpdateNamespaceResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateNamespaceResponse: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateAccountResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -29317,7 +37541,7 @@ func (m *UpdateNamespaceResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *RenameCustomSearchAttributeRequest) Unmarshal(dAtA []byte) error { +func (m *GetUserGroupsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -29340,13 +37564,64 @@ func (m *RenameCustomSearchAttributeRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: RenameCustomSearchAttributeRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetUserGroupsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: RenameCustomSearchAttributeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetUserGroupsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) + } + m.PageSize = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.PageSize |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PageToken = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) } @@ -29378,9 +37653,9 @@ func (m *RenameCustomSearchAttributeRequest) Unmarshal(dAtA []byte) error { } m.Namespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExistingCustomSearchAttributeName", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DisplayName", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -29408,11 +37683,83 @@ func (m *RenameCustomSearchAttributeRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ExistingCustomSearchAttributeName = string(dAtA[iNdEx:postIndex]) + m.DisplayName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NewCustomSearchAttributeName", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GoogleGroup", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.GoogleGroup == nil { + m.GoogleGroup = &GetUserGroupsRequest_GoogleGroupFilter{} + } + if err := m.GoogleGroup.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ScimGroup", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ScimGroup == nil { + m.ScimGroup = &GetUserGroupsRequest_SCIMGroupFilter{} + } + if err := m.ScimGroup.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 100: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NameSubstring", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -29440,11 +37787,11 @@ func (m *RenameCustomSearchAttributeRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.NewCustomSearchAttributeName = string(dAtA[iNdEx:postIndex]) + m.NameSubstring = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 101: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IncludeStates", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -29472,11 +37819,149 @@ func (m *RenameCustomSearchAttributeRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) + m.IncludeStates = append(m.IncludeStates, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 5: + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetUserGroupsRequest_GoogleGroupFilter) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GoogleGroupFilter: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GoogleGroupFilter: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EmailAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.EmailAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetUserGroupsRequest_SCIMGroupFilter) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SCIMGroupFilter: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SCIMGroupFilter: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IdpId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -29504,7 +37989,7 @@ func (m *RenameCustomSearchAttributeRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.IdpId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -29530,7 +38015,7 @@ func (m *RenameCustomSearchAttributeRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *RenameCustomSearchAttributeResponse) Unmarshal(dAtA []byte) error { +func (m *GetUserGroupsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -29553,15 +38038,15 @@ func (m *RenameCustomSearchAttributeResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: RenameCustomSearchAttributeResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetUserGroupsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: RenameCustomSearchAttributeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetUserGroupsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Groups", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -29588,13 +38073,43 @@ func (m *RenameCustomSearchAttributeResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Groups = append(m.Groups, &v1.UserGroup{}) + if err := m.Groups[len(m.Groups)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NextPageToken = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipRequestResponse(dAtA[iNdEx:]) @@ -29619,7 +38134,7 @@ func (m *RenameCustomSearchAttributeResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteNamespaceRequest) Unmarshal(dAtA []byte) error { +func (m *GetUserGroupRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -29642,79 +38157,15 @@ func (m *DeleteNamespaceRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteNamespaceRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetUserGroupRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetUserGroupRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -29742,7 +38193,7 @@ func (m *DeleteNamespaceRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.GroupId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -29768,7 +38219,7 @@ func (m *DeleteNamespaceRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteNamespaceResponse) Unmarshal(dAtA []byte) error { +func (m *GetUserGroupResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -29791,15 +38242,15 @@ func (m *DeleteNamespaceResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteNamespaceResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetUserGroupResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetUserGroupResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -29826,10 +38277,10 @@ func (m *DeleteNamespaceResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} + if m.Group == nil { + m.Group = &v1.UserGroup{} } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Group.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -29857,7 +38308,7 @@ func (m *DeleteNamespaceResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *FailoverNamespaceRegionRequest) Unmarshal(dAtA []byte) error { +func (m *CreateUserGroupRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -29880,17 +38331,17 @@ func (m *FailoverNamespaceRegionRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: FailoverNamespaceRegionRequest: wiretype end group for non-group") + return fmt.Errorf("proto: CreateUserGroupRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: FailoverNamespaceRegionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateUserGroupRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -29900,57 +38351,29 @@ func (m *FailoverNamespaceRegionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse + if m.Spec == nil { + m.Spec = &v1.UserGroupSpec{} } - if postIndex > l { - return io.ErrUnexpectedEOF + if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - m.Region = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } @@ -30006,7 +38429,7 @@ func (m *FailoverNamespaceRegionRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *FailoverNamespaceRegionResponse) Unmarshal(dAtA []byte) error { +func (m *CreateUserGroupResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -30029,13 +38452,45 @@ func (m *FailoverNamespaceRegionResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: FailoverNamespaceRegionResponse: wiretype end group for non-group") + return fmt.Errorf("proto: CreateUserGroupResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: FailoverNamespaceRegionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateUserGroupResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GroupId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } @@ -30095,7 +38550,7 @@ func (m *FailoverNamespaceRegionResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *AddNamespaceRegionRequest) Unmarshal(dAtA []byte) error { +func (m *UpdateUserGroupRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -30118,15 +38573,15 @@ func (m *AddNamespaceRegionRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: AddNamespaceRegionRequest: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateUserGroupRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: AddNamespaceRegionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateUserGroupRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -30154,13 +38609,13 @@ func (m *AddNamespaceRegionRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Namespace = string(dAtA[iNdEx:postIndex]) + m.GroupId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -30170,23 +38625,27 @@ func (m *AddNamespaceRegionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.Region = string(dAtA[iNdEx:postIndex]) + if m.Spec == nil { + m.Spec = &v1.UserGroupSpec{} + } + if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex case 3: if wireType != 2 { @@ -30276,7 +38735,7 @@ func (m *AddNamespaceRegionRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *AddNamespaceRegionResponse) Unmarshal(dAtA []byte) error { +func (m *UpdateUserGroupResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -30299,10 +38758,10 @@ func (m *AddNamespaceRegionResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: AddNamespaceRegionResponse: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateUserGroupResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: AddNamespaceRegionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateUserGroupResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -30365,7 +38824,7 @@ func (m *AddNamespaceRegionResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteNamespaceRegionRequest) Unmarshal(dAtA []byte) error { +func (m *DeleteUserGroupRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -30388,15 +38847,15 @@ func (m *DeleteNamespaceRegionRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteNamespaceRegionRequest: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteUserGroupRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteNamespaceRegionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteUserGroupRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -30424,41 +38883,9 @@ func (m *DeleteNamespaceRegionRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Namespace = string(dAtA[iNdEx:postIndex]) + m.GroupId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Region = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } @@ -30490,7 +38917,7 @@ func (m *DeleteNamespaceRegionRequest) Unmarshal(dAtA []byte) error { } m.ResourceVersion = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } @@ -30546,7 +38973,7 @@ func (m *DeleteNamespaceRegionRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteNamespaceRegionResponse) Unmarshal(dAtA []byte) error { +func (m *DeleteUserGroupResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -30569,10 +38996,10 @@ func (m *DeleteNamespaceRegionResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteNamespaceRegionResponse: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteUserGroupResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteNamespaceRegionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteUserGroupResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -30635,7 +39062,7 @@ func (m *DeleteNamespaceRegionResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetRegionsRequest) Unmarshal(dAtA []byte) error { +func (m *SetUserGroupNamespaceAccessRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -30658,68 +39085,79 @@ func (m *GetRegionsRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetRegionsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: SetUserGroupNamespaceAccessRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetRegionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SetUserGroupNamespaceAccessRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) } - if skippy < 0 { + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - if (iNdEx + skippy) < 0 { + postIndex := iNdEx + intStringLen + if postIndex < 0 { return ErrInvalidLengthRequestResponse } - if (iNdEx + skippy) > l { + if postIndex > l { return io.ErrUnexpectedEOF } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetRegionsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse + m.Namespace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) } - if iNdEx >= l { - return io.ErrUnexpectedEOF + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetRegionsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetRegionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GroupId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Regions", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Access", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -30746,67 +39184,48 @@ func (m *GetRegionsResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Regions = append(m.Regions, &v13.Region{}) - if err := m.Regions[len(m.Regions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.Access == nil { + m.Access = &v1.NamespaceAccess{} + } + if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } - if skippy < 0 { - return ErrInvalidLengthRequestResponse + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - if (iNdEx + skippy) < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetRegionRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetRegionRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetRegionRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -30834,7 +39253,7 @@ func (m *GetRegionRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Region = string(dAtA[iNdEx:postIndex]) + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -30860,7 +39279,7 @@ func (m *GetRegionRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetRegionResponse) Unmarshal(dAtA []byte) error { +func (m *SetUserGroupNamespaceAccessResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -30883,15 +39302,15 @@ func (m *GetRegionResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetRegionResponse: wiretype end group for non-group") + return fmt.Errorf("proto: SetUserGroupNamespaceAccessResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetRegionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SetUserGroupNamespaceAccessResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -30918,10 +39337,10 @@ func (m *GetRegionResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Region == nil { - m.Region = &v13.Region{} + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} } - if err := m.Region.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -30949,7 +39368,7 @@ func (m *GetRegionResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetNexusEndpointsRequest) Unmarshal(dAtA []byte) error { +func (m *AddUserGroupMemberRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -30972,66 +39391,15 @@ func (m *GetNexusEndpointsRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetNexusEndpointsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: AddUserGroupMemberRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetNexusEndpointsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: AddUserGroupMemberRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TargetNamespaceId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -31059,13 +39427,13 @@ func (m *GetNexusEndpointsRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.TargetNamespaceId = string(dAtA[iNdEx:postIndex]) + m.GroupId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TargetTaskQueue", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field MemberId", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -31075,59 +39443,31 @@ func (m *GetNexusEndpointsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.TargetTaskQueue = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse + if m.MemberId == nil { + m.MemberId = &v1.UserGroupMemberId{} } - if postIndex > l { - return io.ErrUnexpectedEOF + if err := m.MemberId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 6: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -31155,7 +39495,7 @@ func (m *GetNexusEndpointsRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ProjectId = string(dAtA[iNdEx:postIndex]) + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -31181,7 +39521,7 @@ func (m *GetNexusEndpointsRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetNexusEndpointsResponse) Unmarshal(dAtA []byte) error { +func (m *AddUserGroupMemberResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -31204,15 +39544,15 @@ func (m *GetNexusEndpointsResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetNexusEndpointsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: AddUserGroupMemberResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetNexusEndpointsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: AddUserGroupMemberResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Endpoints", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -31239,42 +39579,12 @@ func (m *GetNexusEndpointsResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Endpoints = append(m.Endpoints, &v14.Endpoint{}) - if err := m.Endpoints[len(m.Endpoints)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} } - if postIndex > l { - return io.ErrUnexpectedEOF + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -31300,7 +39610,7 @@ func (m *GetNexusEndpointsResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetNexusEndpointRequest) Unmarshal(dAtA []byte) error { +func (m *RemoveUserGroupMemberRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -31323,15 +39633,15 @@ func (m *GetNexusEndpointRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetNexusEndpointRequest: wiretype end group for non-group") + return fmt.Errorf("proto: RemoveUserGroupMemberRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetNexusEndpointRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: RemoveUserGroupMemberRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EndpointId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -31359,7 +39669,75 @@ func (m *GetNexusEndpointRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.EndpointId = string(dAtA[iNdEx:postIndex]) + m.GroupId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MemberId", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.MemberId == nil { + m.MemberId = &v1.UserGroupMemberId{} + } + if err := m.MemberId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -31385,7 +39763,7 @@ func (m *GetNexusEndpointRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetNexusEndpointResponse) Unmarshal(dAtA []byte) error { +func (m *RemoveUserGroupMemberResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -31408,15 +39786,15 @@ func (m *GetNexusEndpointResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetNexusEndpointResponse: wiretype end group for non-group") + return fmt.Errorf("proto: RemoveUserGroupMemberResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetNexusEndpointResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: RemoveUserGroupMemberResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Endpoint", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -31443,10 +39821,10 @@ func (m *GetNexusEndpointResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Endpoint == nil { - m.Endpoint = &v14.Endpoint{} + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} } - if err := m.Endpoint.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -31474,7 +39852,7 @@ func (m *GetNexusEndpointResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateNexusEndpointRequest) Unmarshal(dAtA []byte) error { +func (m *GetUserGroupMembersRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -31497,17 +39875,17 @@ func (m *CreateNexusEndpointRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateNexusEndpointRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetUserGroupMembersRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateNexusEndpointRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetUserGroupMembersRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) } - var msglen int + m.PageSize = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -31517,31 +39895,14 @@ func (m *CreateNexusEndpointRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.PageSize |= int32(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v14.EndpointSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -31569,11 +39930,11 @@ func (m *CreateNexusEndpointRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.PageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -31601,7 +39962,7 @@ func (m *CreateNexusEndpointRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ProjectId = string(dAtA[iNdEx:postIndex]) + m.GroupId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -31627,7 +39988,7 @@ func (m *CreateNexusEndpointRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateNexusEndpointResponse) Unmarshal(dAtA []byte) error { +func (m *GetUserGroupMembersResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -31650,17 +40011,17 @@ func (m *CreateNexusEndpointResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateNexusEndpointResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetUserGroupMembersResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateNexusEndpointResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetUserGroupMembersResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EndpointId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Members", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -31670,29 +40031,31 @@ func (m *CreateNexusEndpointResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.EndpointId = string(dAtA[iNdEx:postIndex]) + m.Members = append(m.Members, &v1.UserGroupMember{}) + if err := m.Members[len(m.Members)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -31702,27 +40065,23 @@ func (m *CreateNexusEndpointResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.NextPageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -31748,7 +40107,7 @@ func (m *CreateNexusEndpointResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateNexusEndpointRequest) Unmarshal(dAtA []byte) error { +func (m *CreateServiceAccountRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -31771,45 +40130,13 @@ func (m *UpdateNexusEndpointRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateNexusEndpointRequest: wiretype end group for non-group") + return fmt.Errorf("proto: CreateServiceAccountRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateNexusEndpointRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateServiceAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EndpointId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.EndpointId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) } @@ -31839,45 +40166,13 @@ func (m *UpdateNexusEndpointRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Spec == nil { - m.Spec = &v14.EndpointSpec{} + m.Spec = &v1.ServiceAccountSpec{} } if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } @@ -31933,7 +40228,7 @@ func (m *UpdateNexusEndpointRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateNexusEndpointResponse) Unmarshal(dAtA []byte) error { +func (m *CreateServiceAccountResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -31956,13 +40251,45 @@ func (m *UpdateNexusEndpointResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateNexusEndpointResponse: wiretype end group for non-group") + return fmt.Errorf("proto: CreateServiceAccountResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateNexusEndpointResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateServiceAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ServiceAccountId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } @@ -32022,7 +40349,7 @@ func (m *UpdateNexusEndpointResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteNexusEndpointRequest) Unmarshal(dAtA []byte) error { +func (m *GetServiceAccountRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32045,79 +40372,15 @@ func (m *DeleteNexusEndpointRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteNexusEndpointRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetServiceAccountRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteNexusEndpointRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetServiceAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EndpointId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.EndpointId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -32145,7 +40408,7 @@ func (m *DeleteNexusEndpointRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.ServiceAccountId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -32171,7 +40434,7 @@ func (m *DeleteNexusEndpointRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteNexusEndpointResponse) Unmarshal(dAtA []byte) error { +func (m *GetServiceAccountResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32194,15 +40457,15 @@ func (m *DeleteNexusEndpointResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteNexusEndpointResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetServiceAccountResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteNexusEndpointResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetServiceAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccount", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -32229,10 +40492,10 @@ func (m *DeleteNexusEndpointResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} + if m.ServiceAccount == nil { + m.ServiceAccount = &v1.ServiceAccount{} } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.ServiceAccount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -32260,7 +40523,7 @@ func (m *DeleteNexusEndpointResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateAccountRequest) Unmarshal(dAtA []byte) error { +func (m *GetServiceAccountsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32283,17 +40546,36 @@ func (m *UpdateAccountRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateAccountRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetServiceAccountsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetServiceAccountsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) + } + m.PageSize = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.PageSize |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -32303,31 +40585,78 @@ func (m *UpdateAccountRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Spec == nil { - m.Spec = &v15.AccountSpec{} + m.PageToken = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 100: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Scope", wireType) } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + m.Scope = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Scope |= GetServiceAccountsRequest_ScopeType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 101: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Namespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 102: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IncludeStates", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -32355,11 +40684,11 @@ func (m *UpdateAccountRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) + m.IncludeStates = append(m.IncludeStates, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 3: + case 103: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field NameSubstring", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -32387,7 +40716,7 @@ func (m *UpdateAccountRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.NameSubstring = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -32413,7 +40742,7 @@ func (m *UpdateAccountRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateAccountResponse) Unmarshal(dAtA []byte) error { +func (m *GetServiceAccountsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32436,15 +40765,15 @@ func (m *UpdateAccountResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateAccountResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetServiceAccountsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetServiceAccountsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccount", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -32471,13 +40800,43 @@ func (m *UpdateAccountResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.ServiceAccount = append(m.ServiceAccount, &v1.ServiceAccount{}) + if err := m.ServiceAccount[len(m.ServiceAccount)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NextPageToken = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipRequestResponse(dAtA[iNdEx:]) @@ -32502,7 +40861,7 @@ func (m *UpdateAccountResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetUserGroupsRequest) Unmarshal(dAtA []byte) error { +func (m *UpdateServiceAccountRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32525,34 +40884,15 @@ func (m *GetUserGroupsRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetUserGroupsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateServiceAccountRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetUserGroupsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateServiceAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -32580,13 +40920,13 @@ func (m *GetUserGroupsRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PageToken = string(dAtA[iNdEx:postIndex]) + m.ServiceAccountId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -32596,27 +40936,31 @@ func (m *GetUserGroupsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.Namespace = string(dAtA[iNdEx:postIndex]) + if m.Spec == nil { + m.Spec = &v1.ServiceAccountSpec{} + } + if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 4: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DisplayName", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -32644,49 +40988,13 @@ func (m *GetUserGroupsRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.DisplayName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GoogleGroup", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.GoogleGroup == nil { - m.GoogleGroup = &GetUserGroupsRequest_GoogleGroupFilter{} - } - if err := m.GoogleGroup.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 6: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ScimGroup", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -32696,27 +41004,23 @@ func (m *GetUserGroupsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - if m.ScimGroup == nil { - m.ScimGroup = &GetUserGroupsRequest_SCIMGroupFilter{} - } - if err := m.ScimGroup.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -32742,7 +41046,7 @@ func (m *GetUserGroupsRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetUserGroupsRequest_GoogleGroupFilter) Unmarshal(dAtA []byte) error { +func (m *UpdateServiceAccountResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32765,17 +41069,17 @@ func (m *GetUserGroupsRequest_GoogleGroupFilter) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GoogleGroupFilter: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateServiceAccountResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GoogleGroupFilter: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateServiceAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EmailAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -32785,23 +41089,27 @@ func (m *GetUserGroupsRequest_GoogleGroupFilter) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.EmailAddress = string(dAtA[iNdEx:postIndex]) + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} + } + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -32827,7 +41135,7 @@ func (m *GetUserGroupsRequest_GoogleGroupFilter) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetUserGroupsRequest_SCIMGroupFilter) Unmarshal(dAtA []byte) error { +func (m *SetServiceAccountNamespaceAccessRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32850,15 +41158,15 @@ func (m *GetUserGroupsRequest_SCIMGroupFilter) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SCIMGroupFilter: wiretype end group for non-group") + return fmt.Errorf("proto: SetServiceAccountNamespaceAccessRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SCIMGroupFilter: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SetServiceAccountNamespaceAccessRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IdpId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -32886,64 +41194,43 @@ func (m *GetUserGroupsRequest_SCIMGroupFilter) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.IdpId = string(dAtA[iNdEx:postIndex]) + m.ServiceAccountId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) } - if skippy < 0 { - return ErrInvalidLengthRequestResponse + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - if (iNdEx + skippy) < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetUserGroupsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetUserGroupsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetUserGroupsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + m.Namespace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Groups", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Access", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -32970,14 +41257,16 @@ func (m *GetUserGroupsResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Groups = append(m.Groups, &v1.UserGroup{}) - if err := m.Groups[len(m.Groups)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.Access == nil { + m.Access = &v1.NamespaceAccess{} + } + if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 2: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -33005,64 +41294,11 @@ func (m *GetUserGroupsResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetUserGroupRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetUserGroupRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetUserGroupRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -33090,7 +41326,7 @@ func (m *GetUserGroupRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GroupId = string(dAtA[iNdEx:postIndex]) + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -33116,7 +41352,7 @@ func (m *GetUserGroupRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetUserGroupResponse) Unmarshal(dAtA []byte) error { +func (m *SetServiceAccountNamespaceAccessResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33139,15 +41375,15 @@ func (m *GetUserGroupResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetUserGroupResponse: wiretype end group for non-group") + return fmt.Errorf("proto: SetServiceAccountNamespaceAccessResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetUserGroupResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SetServiceAccountNamespaceAccessResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -33174,10 +41410,10 @@ func (m *GetUserGroupResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Group == nil { - m.Group = &v1.UserGroup{} + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} } - if err := m.Group.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -33205,7 +41441,7 @@ func (m *GetUserGroupResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateUserGroupRequest) Unmarshal(dAtA []byte) error { +func (m *DeleteServiceAccountRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33228,17 +41464,17 @@ func (m *CreateUserGroupRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateUserGroupRequest: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteServiceAccountRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateUserGroupRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteServiceAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -33248,29 +41484,57 @@ func (m *CreateUserGroupRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Spec == nil { - m.Spec = &v1.UserGroupSpec{} + m.ServiceAccountId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } @@ -33326,7 +41590,7 @@ func (m *CreateUserGroupRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateUserGroupResponse) Unmarshal(dAtA []byte) error { +func (m *DeleteServiceAccountResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33349,45 +41613,13 @@ func (m *CreateUserGroupResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateUserGroupResponse: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteServiceAccountResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateUserGroupResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteServiceAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GroupId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } @@ -33447,7 +41679,7 @@ func (m *CreateUserGroupResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateUserGroupRequest) Unmarshal(dAtA []byte) error { +func (m *GetApiKeysRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33470,15 +41702,34 @@ func (m *UpdateUserGroupRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateUserGroupRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetApiKeysRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateUserGroupRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetApiKeysRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) + } + m.PageSize = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.PageSize |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -33506,13 +41757,13 @@ func (m *UpdateUserGroupRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GroupId = string(dAtA[iNdEx:postIndex]) + m.PageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field OwnerId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -33522,31 +41773,27 @@ func (m *UpdateUserGroupRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Spec == nil { - m.Spec = &v1.UserGroupSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.OwnerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field OwnerTypeDeprecated", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -33574,11 +41821,135 @@ func (m *UpdateUserGroupRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) + m.OwnerTypeDeprecated = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field OwnerType", wireType) + } + m.OwnerType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.OwnerType |= v1.OwnerType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 101: + if wireType == 0 { + var v v16.ResourceState + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= v16.ResourceState(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IncludeStates = append(m.IncludeStates, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + if elementCount != 0 && len(m.IncludeStates) == 0 { + m.IncludeStates = make([]v16.ResourceState, 0, elementCount) + } + for iNdEx < postIndex { + var v v16.ResourceState + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= v16.ResourceState(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IncludeStates = append(m.IncludeStates, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field IncludeStates", wireType) + } + case 102: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Disabled", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Disabled == nil { + m.Disabled = &types.BoolValue{} + } + if err := m.Disabled.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 103: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -33606,7 +41977,7 @@ func (m *UpdateUserGroupRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.Namespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -33632,7 +42003,7 @@ func (m *UpdateUserGroupRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateUserGroupResponse) Unmarshal(dAtA []byte) error { +func (m *GetApiKeysResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33655,15 +42026,15 @@ func (m *UpdateUserGroupResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateUserGroupResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetApiKeysResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateUserGroupResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetApiKeysResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ApiKeys", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -33690,13 +42061,43 @@ func (m *UpdateUserGroupResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.ApiKeys = append(m.ApiKeys, &v1.ApiKey{}) + if err := m.ApiKeys[len(m.ApiKeys)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NextPageToken = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipRequestResponse(dAtA[iNdEx:]) @@ -33721,7 +42122,7 @@ func (m *UpdateUserGroupResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteUserGroupRequest) Unmarshal(dAtA []byte) error { +func (m *GetApiKeyRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33744,79 +42145,15 @@ func (m *DeleteUserGroupRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteUserGroupRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetApiKeyRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteUserGroupRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetApiKeyRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GroupId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field KeyId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -33844,7 +42181,7 @@ func (m *DeleteUserGroupRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.KeyId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -33870,7 +42207,7 @@ func (m *DeleteUserGroupRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteUserGroupResponse) Unmarshal(dAtA []byte) error { +func (m *GetApiKeyResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33893,15 +42230,15 @@ func (m *DeleteUserGroupResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteUserGroupResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetApiKeyResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteUserGroupResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetApiKeyResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ApiKey", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -33928,10 +42265,10 @@ func (m *DeleteUserGroupResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} + if m.ApiKey == nil { + m.ApiKey = &v1.ApiKey{} } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.ApiKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -33959,7 +42296,7 @@ func (m *DeleteUserGroupResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *SetUserGroupNamespaceAccessRequest) Unmarshal(dAtA []byte) error { +func (m *CreateApiKeyRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33982,79 +42319,15 @@ func (m *SetUserGroupNamespaceAccessRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SetUserGroupNamespaceAccessRequest: wiretype end group for non-group") + return fmt.Errorf("proto: CreateApiKeyRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SetUserGroupNamespaceAccessRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateApiKeyRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GroupId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Access", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -34081,46 +42354,14 @@ func (m *SetUserGroupNamespaceAccessRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Access == nil { - m.Access = &v1.NamespaceAccess{} + if m.Spec == nil { + m.Spec = &v1.ApiKeySpec{} } - if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } @@ -34176,7 +42417,7 @@ func (m *SetUserGroupNamespaceAccessRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *SetUserGroupNamespaceAccessResponse) Unmarshal(dAtA []byte) error { +func (m *CreateApiKeyResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -34199,13 +42440,77 @@ func (m *SetUserGroupNamespaceAccessResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SetUserGroupNamespaceAccessResponse: wiretype end group for non-group") + return fmt.Errorf("proto: CreateApiKeyResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SetUserGroupNamespaceAccessResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateApiKeyResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field KeyId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.KeyId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Token = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } @@ -34265,7 +42570,7 @@ func (m *SetUserGroupNamespaceAccessResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *AddUserGroupMemberRequest) Unmarshal(dAtA []byte) error { +func (m *UpdateApiKeyRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -34288,15 +42593,15 @@ func (m *AddUserGroupMemberRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: AddUserGroupMemberRequest: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateApiKeyRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: AddUserGroupMemberRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateApiKeyRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field KeyId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -34324,11 +42629,11 @@ func (m *AddUserGroupMemberRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GroupId = string(dAtA[iNdEx:postIndex]) + m.KeyId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MemberId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -34355,14 +42660,46 @@ func (m *AddUserGroupMemberRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.MemberId == nil { - m.MemberId = &v1.UserGroupMemberId{} + if m.Spec == nil { + m.Spec = &v1.ApiKeySpec{} } - if err := m.MemberId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } @@ -34418,7 +42755,7 @@ func (m *AddUserGroupMemberRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *AddUserGroupMemberResponse) Unmarshal(dAtA []byte) error { +func (m *UpdateApiKeyResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -34441,10 +42778,10 @@ func (m *AddUserGroupMemberResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: AddUserGroupMemberResponse: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateApiKeyResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: AddUserGroupMemberResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateApiKeyResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -34507,7 +42844,7 @@ func (m *AddUserGroupMemberResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *RemoveUserGroupMemberRequest) Unmarshal(dAtA []byte) error { +func (m *DeleteApiKeyRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -34530,15 +42867,15 @@ func (m *RemoveUserGroupMemberRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: RemoveUserGroupMemberRequest: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteApiKeyRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: RemoveUserGroupMemberRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteApiKeyRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field KeyId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -34566,13 +42903,13 @@ func (m *RemoveUserGroupMemberRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GroupId = string(dAtA[iNdEx:postIndex]) + m.KeyId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MemberId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -34582,27 +42919,23 @@ func (m *RemoveUserGroupMemberRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - if m.MemberId == nil { - m.MemberId = &v1.UserGroupMemberId{} - } - if err := m.MemberId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -34660,7 +42993,7 @@ func (m *RemoveUserGroupMemberRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *RemoveUserGroupMemberResponse) Unmarshal(dAtA []byte) error { +func (m *DeleteApiKeyResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -34683,10 +43016,10 @@ func (m *RemoveUserGroupMemberResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: RemoveUserGroupMemberResponse: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteApiKeyResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: RemoveUserGroupMemberResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteApiKeyResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -34749,7 +43082,7 @@ func (m *RemoveUserGroupMemberResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetUserGroupMembersRequest) Unmarshal(dAtA []byte) error { +func (m *ValidateAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -34772,36 +43105,17 @@ func (m *GetUserGroupMembersRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetUserGroupMembersRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ValidateAccountAuditLogSinkRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetUserGroupMembersRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ValidateAccountAuditLogSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -34811,55 +43125,27 @@ func (m *GetUserGroupMembersRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse + if m.Spec == nil { + m.Spec = &v15.AuditLogSinkSpec{} } - if postIndex > l { - return io.ErrUnexpectedEOF + if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - m.GroupId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -34885,7 +43171,7 @@ func (m *GetUserGroupMembersRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetUserGroupMembersResponse) Unmarshal(dAtA []byte) error { +func (m *ValidateAccountAuditLogSinkResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -34908,78 +43194,12 @@ func (m *GetUserGroupMembersResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetUserGroupMembersResponse: wiretype end group for non-group") + return fmt.Errorf("proto: ValidateAccountAuditLogSinkResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetUserGroupMembersResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ValidateAccountAuditLogSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Members", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Members = append(m.Members, &v1.UserGroupMember{}) - if err := m.Members[len(m.Members)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipRequestResponse(dAtA[iNdEx:]) @@ -35004,7 +43224,7 @@ func (m *GetUserGroupMembersResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateServiceAccountRequest) Unmarshal(dAtA []byte) error { +func (m *CreateAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -35027,10 +43247,10 @@ func (m *CreateServiceAccountRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateServiceAccountRequest: wiretype end group for non-group") + return fmt.Errorf("proto: CreateAccountAuditLogSinkRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateServiceAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateAccountAuditLogSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -35063,7 +43283,7 @@ func (m *CreateServiceAccountRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Spec == nil { - m.Spec = &v1.ServiceAccountSpec{} + m.Spec = &v15.AuditLogSinkSpec{} } if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -35125,7 +43345,7 @@ func (m *CreateServiceAccountRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateServiceAccountResponse) Unmarshal(dAtA []byte) error { +func (m *CreateAccountAuditLogSinkResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -35148,45 +43368,13 @@ func (m *CreateServiceAccountResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateServiceAccountResponse: wiretype end group for non-group") + return fmt.Errorf("proto: CreateAccountAuditLogSinkResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateServiceAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateAccountAuditLogSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ServiceAccountId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } @@ -35246,7 +43434,7 @@ func (m *CreateServiceAccountResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetServiceAccountRequest) Unmarshal(dAtA []byte) error { +func (m *GetAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -35269,15 +43457,15 @@ func (m *GetServiceAccountRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetServiceAccountRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetAccountAuditLogSinkRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetServiceAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetAccountAuditLogSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -35305,7 +43493,7 @@ func (m *GetServiceAccountRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ServiceAccountId = string(dAtA[iNdEx:postIndex]) + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -35331,7 +43519,7 @@ func (m *GetServiceAccountRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetServiceAccountResponse) Unmarshal(dAtA []byte) error { +func (m *GetAccountAuditLogSinkResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -35354,15 +43542,15 @@ func (m *GetServiceAccountResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetServiceAccountResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetAccountAuditLogSinkResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetServiceAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetAccountAuditLogSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccount", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Sink", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -35389,10 +43577,10 @@ func (m *GetServiceAccountResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ServiceAccount == nil { - m.ServiceAccount = &v1.ServiceAccount{} + if m.Sink == nil { + m.Sink = &v15.AuditLogSink{} } - if err := m.ServiceAccount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Sink.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -35420,7 +43608,7 @@ func (m *GetServiceAccountResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetServiceAccountsRequest) Unmarshal(dAtA []byte) error { +func (m *GetAccountAuditLogSinksRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -35443,10 +43631,10 @@ func (m *GetServiceAccountsRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetServiceAccountsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetAccountAuditLogSinksRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetServiceAccountsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetAccountAuditLogSinksRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -35524,126 +43712,7 @@ func (m *GetServiceAccountsRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetServiceAccountsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetServiceAccountsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetServiceAccountsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccount", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ServiceAccount = append(m.ServiceAccount, &v1.ServiceAccount{}) - if err := m.ServiceAccount[len(m.ServiceAccount)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateServiceAccountRequest) Unmarshal(dAtA []byte) error { +func (m *GetAccountAuditLogSinksResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -35666,15 +43735,49 @@ func (m *UpdateServiceAccountRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateServiceAccountRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetAccountAuditLogSinksResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateServiceAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetAccountAuditLogSinksResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Sinks", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sinks = append(m.Sinks, &v15.AuditLogSink{}) + if err := m.Sinks[len(m.Sinks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -35702,9 +43805,62 @@ func (m *UpdateServiceAccountRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ServiceAccountId = string(dAtA[iNdEx:postIndex]) + m.NextPageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UpdateAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UpdateAccountAuditLogSinkRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UpdateAccountAuditLogSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) } @@ -35734,13 +43890,13 @@ func (m *UpdateServiceAccountRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Spec == nil { - m.Spec = &v1.ServiceAccountSpec{} + m.Spec = &v15.AuditLogSinkSpec{} } if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 3: + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } @@ -35772,7 +43928,7 @@ func (m *UpdateServiceAccountRequest) Unmarshal(dAtA []byte) error { } m.ResourceVersion = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } @@ -35828,7 +43984,7 @@ func (m *UpdateServiceAccountRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateServiceAccountResponse) Unmarshal(dAtA []byte) error { +func (m *UpdateAccountAuditLogSinkResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -35851,10 +44007,10 @@ func (m *UpdateServiceAccountResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateServiceAccountResponse: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateAccountAuditLogSinkResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateServiceAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateAccountAuditLogSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -35917,7 +44073,7 @@ func (m *UpdateServiceAccountResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *SetServiceAccountNamespaceAccessRequest) Unmarshal(dAtA []byte) error { +func (m *DeleteAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -35940,15 +44096,15 @@ func (m *SetServiceAccountNamespaceAccessRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SetServiceAccountNamespaceAccessRequest: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteAccountAuditLogSinkRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SetServiceAccountNamespaceAccessRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteAccountAuditLogSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -35976,77 +44132,9 @@ func (m *SetServiceAccountNamespaceAccessRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ServiceAccountId = string(dAtA[iNdEx:postIndex]) + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Access", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Access == nil { - m.Access = &v1.NamespaceAccess{} - } - if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } @@ -36078,7 +44166,7 @@ func (m *SetServiceAccountNamespaceAccessRequest) Unmarshal(dAtA []byte) error { } m.ResourceVersion = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 5: + case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } @@ -36134,7 +44222,7 @@ func (m *SetServiceAccountNamespaceAccessRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *SetServiceAccountNamespaceAccessResponse) Unmarshal(dAtA []byte) error { +func (m *DeleteAccountAuditLogSinkResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -36157,10 +44245,10 @@ func (m *SetServiceAccountNamespaceAccessResponse) Unmarshal(dAtA []byte) error fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SetServiceAccountNamespaceAccessResponse: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteAccountAuditLogSinkResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SetServiceAccountNamespaceAccessResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteAccountAuditLogSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -36223,7 +44311,7 @@ func (m *SetServiceAccountNamespaceAccessResponse) Unmarshal(dAtA []byte) error } return nil } -func (m *DeleteServiceAccountRequest) Unmarshal(dAtA []byte) error { +func (m *GetAuditLogsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -36246,15 +44334,34 @@ func (m *DeleteServiceAccountRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteServiceAccountRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetAuditLogsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteServiceAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetAuditLogsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) + } + m.PageSize = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.PageSize |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -36282,13 +44389,13 @@ func (m *DeleteServiceAccountRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ServiceAccountId = string(dAtA[iNdEx:postIndex]) + m.PageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field StartTimeInclusive", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -36298,29 +44405,33 @@ func (m *DeleteServiceAccountRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) + if m.StartTimeInclusive == nil { + m.StartTimeInclusive = &types.Timestamp{} + } + if err := m.StartTimeInclusive.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 3: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EndTimeExclusive", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -36330,23 +44441,27 @@ func (m *DeleteServiceAccountRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + if m.EndTimeExclusive == nil { + m.EndTimeExclusive = &types.Timestamp{} + } + if err := m.EndTimeExclusive.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -36372,7 +44487,7 @@ func (m *DeleteServiceAccountRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteServiceAccountResponse) Unmarshal(dAtA []byte) error { +func (m *GetAuditLogsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -36395,15 +44510,15 @@ func (m *DeleteServiceAccountResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteServiceAccountResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetAuditLogsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteServiceAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetAuditLogsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Logs", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -36430,13 +44545,43 @@ func (m *DeleteServiceAccountResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Logs = append(m.Logs, &v17.LogRecord{}) + if err := m.Logs[len(m.Logs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NextPageToken = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipRequestResponse(dAtA[iNdEx:]) @@ -36461,7 +44606,7 @@ func (m *DeleteServiceAccountResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetApiKeysRequest) Unmarshal(dAtA []byte) error { +func (m *GetUsageRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -36484,17 +44629,17 @@ func (m *GetApiKeysRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetApiKeysRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetUsageRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetApiKeysRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetUsageRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StartTimeInclusive", wireType) } - m.PageSize = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -36504,16 +44649,33 @@ func (m *GetApiKeysRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.PageSize |= int32(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.StartTimeInclusive == nil { + m.StartTimeInclusive = &types.Timestamp{} + } + if err := m.StartTimeInclusive.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EndTimeExclusive", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -36523,29 +44685,33 @@ func (m *GetApiKeysRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.PageToken = string(dAtA[iNdEx:postIndex]) + if m.EndTimeExclusive == nil { + m.EndTimeExclusive = &types.Timestamp{} + } + if err := m.EndTimeExclusive.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OwnerId", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) } - var stringLen uint64 + m.PageSize = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -36555,27 +44721,14 @@ func (m *GetApiKeysRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.PageSize |= int32(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.OwnerId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OwnerTypeDeprecated", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -36603,27 +44756,8 @@ func (m *GetApiKeysRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.OwnerTypeDeprecated = string(dAtA[iNdEx:postIndex]) + m.PageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field OwnerType", wireType) - } - m.OwnerType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.OwnerType |= v1.OwnerType(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := skipRequestResponse(dAtA[iNdEx:]) @@ -36648,7 +44782,7 @@ func (m *GetApiKeysRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetApiKeysResponse) Unmarshal(dAtA []byte) error { +func (m *GetUsageResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -36671,15 +44805,15 @@ func (m *GetApiKeysResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetApiKeysResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetUsageResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetApiKeysResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetUsageResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ApiKeys", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Summaries", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -36706,8 +44840,8 @@ func (m *GetApiKeysResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ApiKeys = append(m.ApiKeys, &v1.ApiKey{}) - if err := m.ApiKeys[len(m.ApiKeys)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Summaries = append(m.Summaries, &v18.Summary{}) + if err := m.Summaries[len(m.Summaries)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -36767,7 +44901,7 @@ func (m *GetApiKeysResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetApiKeyRequest) Unmarshal(dAtA []byte) error { +func (m *GetAccountRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -36790,17 +44924,70 @@ func (m *GetApiKeyRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetApiKeyRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetAccountRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetApiKeyRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetAccountResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetAccountResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field KeyId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Account", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -36810,23 +44997,27 @@ func (m *GetApiKeyRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.KeyId = string(dAtA[iNdEx:postIndex]) + if m.Account == nil { + m.Account = &v15.Account{} + } + if err := m.Account.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -36852,7 +45043,7 @@ func (m *GetApiKeyRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetApiKeyResponse) Unmarshal(dAtA []byte) error { +func (m *CreateNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -36875,15 +45066,47 @@ func (m *GetApiKeyResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetApiKeyResponse: wiretype end group for non-group") + return fmt.Errorf("proto: CreateNamespaceExportSinkRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetApiKeyResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateNamespaceExportSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ApiKey", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Namespace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -36910,13 +45133,45 @@ func (m *GetApiKeyResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ApiKey == nil { - m.ApiKey = &v1.ApiKey{} + if m.Spec == nil { + m.Spec = &v12.ExportSinkSpec{} } - if err := m.ApiKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipRequestResponse(dAtA[iNdEx:]) @@ -36941,7 +45196,7 @@ func (m *GetApiKeyResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateApiKeyRequest) Unmarshal(dAtA []byte) error { +func (m *CreateNamespaceExportSinkResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -36964,15 +45219,15 @@ func (m *CreateApiKeyRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateApiKeyRequest: wiretype end group for non-group") + return fmt.Errorf("proto: CreateNamespaceExportSinkResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateApiKeyRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateNamespaceExportSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -36999,45 +45254,13 @@ func (m *CreateApiKeyRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Spec == nil { - m.Spec = &v1.ApiKeySpec{} + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipRequestResponse(dAtA[iNdEx:]) @@ -37062,7 +45285,7 @@ func (m *CreateApiKeyRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateApiKeyResponse) Unmarshal(dAtA []byte) error { +func (m *GetNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -37085,15 +45308,15 @@ func (m *CreateApiKeyResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateApiKeyResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetNamespaceExportSinkRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateApiKeyResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetNamespaceExportSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field KeyId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -37121,11 +45344,11 @@ func (m *CreateApiKeyResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.KeyId = string(dAtA[iNdEx:postIndex]) + m.Namespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -37153,11 +45376,64 @@ func (m *CreateApiKeyResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Token = string(dAtA[iNdEx:postIndex]) + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetNamespaceExportSinkResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetNamespaceExportSinkResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetNamespaceExportSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Sink", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -37184,10 +45460,10 @@ func (m *CreateApiKeyResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} + if m.Sink == nil { + m.Sink = &v12.ExportSink{} } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Sink.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -37215,7 +45491,7 @@ func (m *CreateApiKeyResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateApiKeyRequest) Unmarshal(dAtA []byte) error { +func (m *GetNamespaceExportSinksRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -37238,15 +45514,15 @@ func (m *UpdateApiKeyRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateApiKeyRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetNamespaceExportSinksRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateApiKeyRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetNamespaceExportSinksRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field KeyId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -37274,13 +45550,13 @@ func (m *UpdateApiKeyRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.KeyId = string(dAtA[iNdEx:postIndex]) + m.Namespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) } - var msglen int + m.PageSize = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -37290,63 +45566,14 @@ func (m *UpdateApiKeyRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.PageSize |= int32(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v1.ApiKeySpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -37374,7 +45601,7 @@ func (m *UpdateApiKeyRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.PageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -37400,7 +45627,7 @@ func (m *UpdateApiKeyRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateApiKeyResponse) Unmarshal(dAtA []byte) error { +func (m *GetNamespaceExportSinksResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -37423,15 +45650,15 @@ func (m *UpdateApiKeyResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateApiKeyResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetNamespaceExportSinksResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateApiKeyResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetNamespaceExportSinksResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Sinks", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -37458,13 +45685,43 @@ func (m *UpdateApiKeyResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Sinks = append(m.Sinks, &v12.ExportSink{}) + if err := m.Sinks[len(m.Sinks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NextPageToken = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipRequestResponse(dAtA[iNdEx:]) @@ -37489,7 +45746,7 @@ func (m *UpdateApiKeyResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteApiKeyRequest) Unmarshal(dAtA []byte) error { +func (m *UpdateNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -37512,15 +45769,15 @@ func (m *DeleteApiKeyRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteApiKeyRequest: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateNamespaceExportSinkRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteApiKeyRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateNamespaceExportSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field KeyId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -37548,9 +45805,45 @@ func (m *DeleteApiKeyRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.KeyId = string(dAtA[iNdEx:postIndex]) + m.Namespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Spec == nil { + m.Spec = &v12.ExportSinkSpec{} + } + if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } @@ -37582,7 +45875,7 @@ func (m *DeleteApiKeyRequest) Unmarshal(dAtA []byte) error { } m.ResourceVersion = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } @@ -37638,7 +45931,7 @@ func (m *DeleteApiKeyRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteApiKeyResponse) Unmarshal(dAtA []byte) error { +func (m *UpdateNamespaceExportSinkResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -37661,10 +45954,10 @@ func (m *DeleteApiKeyResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteApiKeyResponse: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateNamespaceExportSinkResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteApiKeyResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateNamespaceExportSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -37727,7 +46020,7 @@ func (m *DeleteApiKeyResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *ValidateAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { +func (m *DeleteNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -37750,17 +46043,17 @@ func (m *ValidateAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ValidateAccountAuditLogSinkRequest: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteNamespaceExportSinkRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ValidateAccountAuditLogSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteNamespaceExportSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -37770,139 +46063,61 @@ func (m *ValidateAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Spec == nil { - m.Spec = &v15.AuditLogSinkSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Namespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ValidateAccountAuditLogSinkResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ValidateAccountAuditLogSinkResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ValidateAccountAuditLogSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - if skippy < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - if (iNdEx + skippy) < 0 { + postIndex := iNdEx + intStringLen + if postIndex < 0 { return ErrInvalidLengthRequestResponse } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateAccountAuditLogSinkRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateAccountAuditLogSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -37912,29 +46127,25 @@ func (m *CreateAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Spec == nil { - m.Spec = &v15.AuditLogSinkSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } @@ -37990,7 +46201,7 @@ func (m *CreateAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateAccountAuditLogSinkResponse) Unmarshal(dAtA []byte) error { +func (m *DeleteNamespaceExportSinkResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -38013,10 +46224,10 @@ func (m *CreateAccountAuditLogSinkResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateAccountAuditLogSinkResponse: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteNamespaceExportSinkResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateAccountAuditLogSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteNamespaceExportSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -38079,7 +46290,7 @@ func (m *CreateAccountAuditLogSinkResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { +func (m *ValidateNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -38102,15 +46313,15 @@ func (m *GetAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetAccountAuditLogSinkRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ValidateNamespaceExportSinkRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetAccountAuditLogSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ValidateNamespaceExportSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -38138,64 +46349,11 @@ func (m *GetAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) + m.Namespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetAccountAuditLogSinkResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetAccountAuditLogSinkResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetAccountAuditLogSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Sink", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -38222,10 +46380,10 @@ func (m *GetAccountAuditLogSinkResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Sink == nil { - m.Sink = &v15.AuditLogSink{} + if m.Spec == nil { + m.Spec = &v12.ExportSinkSpec{} } - if err := m.Sink.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -38253,7 +46411,7 @@ func (m *GetAccountAuditLogSinkResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetAccountAuditLogSinksRequest) Unmarshal(dAtA []byte) error { +func (m *ValidateNamespaceExportSinkResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -38276,63 +46434,12 @@ func (m *GetAccountAuditLogSinksRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetAccountAuditLogSinksRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ValidateNamespaceExportSinkResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetAccountAuditLogSinksRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ValidateNamespaceExportSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipRequestResponse(dAtA[iNdEx:]) @@ -38357,7 +46464,7 @@ func (m *GetAccountAuditLogSinksRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetAccountAuditLogSinksResponse) Unmarshal(dAtA []byte) error { +func (m *StartMigrationRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -38380,15 +46487,15 @@ func (m *GetAccountAuditLogSinksResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetAccountAuditLogSinksResponse: wiretype end group for non-group") + return fmt.Errorf("proto: StartMigrationRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetAccountAuditLogSinksResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: StartMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Sinks", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -38415,14 +46522,16 @@ func (m *GetAccountAuditLogSinksResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Sinks = append(m.Sinks, &v15.AuditLogSink{}) - if err := m.Sinks[len(m.Sinks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.Spec == nil { + m.Spec = &v12.MigrationSpec{} + } + if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -38450,7 +46559,7 @@ func (m *GetAccountAuditLogSinksResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -38476,7 +46585,7 @@ func (m *GetAccountAuditLogSinksResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { +func (m *StartMigrationResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -38499,17 +46608,17 @@ func (m *UpdateAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateAccountAuditLogSinkRequest: wiretype end group for non-group") + return fmt.Errorf("proto: StartMigrationResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateAccountAuditLogSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: StartMigrationResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field MigrationId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -38519,33 +46628,29 @@ func (m *UpdateAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Spec == nil { - m.Spec = &v15.AuditLogSinkSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.MigrationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -38555,27 +46660,84 @@ func (m *UpdateAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} + } + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 3: + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetMigrationRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetMigrationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field MigrationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -38603,7 +46765,7 @@ func (m *UpdateAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.MigrationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -38629,7 +46791,7 @@ func (m *UpdateAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateAccountAuditLogSinkResponse) Unmarshal(dAtA []byte) error { +func (m *GetMigrationResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -38652,15 +46814,15 @@ func (m *UpdateAccountAuditLogSinkResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateAccountAuditLogSinkResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetMigrationResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateAccountAuditLogSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetMigrationResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Migration", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -38687,10 +46849,10 @@ func (m *UpdateAccountAuditLogSinkResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} + if m.Migration == nil { + m.Migration = &v12.Migration{} } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Migration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -38718,7 +46880,7 @@ func (m *UpdateAccountAuditLogSinkResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { +func (m *GetMigrationsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -38741,17 +46903,17 @@ func (m *DeleteAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteAccountAuditLogSinkRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetMigrationsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteAccountAuditLogSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetMigrationsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) } - var stringLen uint64 + m.PageSize = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -38761,59 +46923,14 @@ func (m *DeleteAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.PageSize |= int32(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -38841,7 +46958,7 @@ func (m *DeleteAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.PageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -38867,7 +46984,7 @@ func (m *DeleteAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteAccountAuditLogSinkResponse) Unmarshal(dAtA []byte) error { +func (m *GetMigrationsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -38890,15 +47007,15 @@ func (m *DeleteAccountAuditLogSinkResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteAccountAuditLogSinkResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetMigrationsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteAccountAuditLogSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetMigrationsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Migrations", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -38925,13 +47042,43 @@ func (m *DeleteAccountAuditLogSinkResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Migrations = append(m.Migrations, &v12.Migration{}) + if err := m.Migrations[len(m.Migrations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NextPageToken = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipRequestResponse(dAtA[iNdEx:]) @@ -38956,7 +47103,7 @@ func (m *DeleteAccountAuditLogSinkResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetAuditLogsRequest) Unmarshal(dAtA []byte) error { +func (m *HandoverNamespaceRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -38979,34 +47126,15 @@ func (m *GetAuditLogsRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetAuditLogsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: HandoverNamespaceRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetAuditLogsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: HandoverNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field MigrationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -39034,13 +47162,13 @@ func (m *GetAuditLogsRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PageToken = string(dAtA[iNdEx:postIndex]) + m.MigrationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StartTimeInclusive", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ToReplicaId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -39050,33 +47178,29 @@ func (m *GetAuditLogsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - if m.StartTimeInclusive == nil { - m.StartTimeInclusive = &types.Timestamp{} - } - if err := m.StartTimeInclusive.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.ToReplicaId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EndTimeExclusive", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -39086,27 +47210,23 @@ func (m *GetAuditLogsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - if m.EndTimeExclusive == nil { - m.EndTimeExclusive = &types.Timestamp{} - } - if err := m.EndTimeExclusive.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -39132,7 +47252,7 @@ func (m *GetAuditLogsRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetAuditLogsResponse) Unmarshal(dAtA []byte) error { +func (m *HandoverNamespaceResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -39155,15 +47275,15 @@ func (m *GetAuditLogsResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetAuditLogsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: HandoverNamespaceResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetAuditLogsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: HandoverNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Logs", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -39190,42 +47310,12 @@ func (m *GetAuditLogsResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Logs = append(m.Logs, &v16.LogRecord{}) - if err := m.Logs[len(m.Logs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} } - if postIndex > l { - return io.ErrUnexpectedEOF + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -39251,7 +47341,7 @@ func (m *GetAuditLogsResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetUsageRequest) Unmarshal(dAtA []byte) error { +func (m *ConfirmMigrationRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -39274,17 +47364,17 @@ func (m *GetUsageRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetUsageRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ConfirmMigrationRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetUsageRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ConfirmMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StartTimeInclusive", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field MigrationId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -39294,86 +47384,27 @@ func (m *GetUsageRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - if m.StartTimeInclusive == nil { - m.StartTimeInclusive = &types.Timestamp{} - } - if err := m.StartTimeInclusive.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.MigrationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EndTimeExclusive", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.EndTimeExclusive == nil { - m.EndTimeExclusive = &types.Timestamp{} - } - if err := m.EndTimeExclusive.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -39401,7 +47432,7 @@ func (m *GetUsageRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PageToken = string(dAtA[iNdEx:postIndex]) + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -39427,7 +47458,7 @@ func (m *GetUsageRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetUsageResponse) Unmarshal(dAtA []byte) error { +func (m *ConfirmMigrationResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -39450,15 +47481,15 @@ func (m *GetUsageResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetUsageResponse: wiretype end group for non-group") + return fmt.Errorf("proto: ConfirmMigrationResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetUsageResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ConfirmMigrationResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Summaries", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -39485,42 +47516,12 @@ func (m *GetUsageResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Summaries = append(m.Summaries, &v17.Summary{}) - if err := m.Summaries[len(m.Summaries)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} } - if postIndex > l { - return io.ErrUnexpectedEOF + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -39546,7 +47547,7 @@ func (m *GetUsageResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetAccountRequest) Unmarshal(dAtA []byte) error { +func (m *AbortMigrationRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -39569,12 +47570,76 @@ func (m *GetAccountRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetAccountRequest: wiretype end group for non-group") + return fmt.Errorf("proto: AbortMigrationRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: AbortMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MigrationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.MigrationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipRequestResponse(dAtA[iNdEx:]) @@ -39599,7 +47664,7 @@ func (m *GetAccountRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetAccountResponse) Unmarshal(dAtA []byte) error { +func (m *AbortMigrationResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -39622,15 +47687,15 @@ func (m *GetAccountResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetAccountResponse: wiretype end group for non-group") + return fmt.Errorf("proto: AbortMigrationResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: AbortMigrationResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Account", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -39657,10 +47722,10 @@ func (m *GetAccountResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Account == nil { - m.Account = &v15.Account{} + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} } - if err := m.Account.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -39688,7 +47753,7 @@ func (m *GetAccountResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { +func (m *CreateConnectivityRuleRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -39711,17 +47776,17 @@ func (m *CreateNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateNamespaceExportSinkRequest: wiretype end group for non-group") + return fmt.Errorf("proto: CreateConnectivityRuleRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateNamespaceExportSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateConnectivityRuleRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -39731,29 +47796,33 @@ func (m *CreateNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.Namespace = string(dAtA[iNdEx:postIndex]) + if m.Spec == nil { + m.Spec = &v19.ConnectivityRuleSpec{} + } + if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -39763,31 +47832,27 @@ func (m *CreateNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Spec == nil { - m.Spec = &v12.ExportSinkSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -39815,7 +47880,7 @@ func (m *CreateNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.ProjectId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -39841,7 +47906,7 @@ func (m *CreateNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateNamespaceExportSinkResponse) Unmarshal(dAtA []byte) error { +func (m *CreateConnectivityRuleResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -39864,13 +47929,45 @@ func (m *CreateNamespaceExportSinkResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateNamespaceExportSinkResponse: wiretype end group for non-group") + return fmt.Errorf("proto: CreateConnectivityRuleResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateNamespaceExportSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateConnectivityRuleResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ConnectivityRuleId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ConnectivityRuleId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } @@ -39930,7 +48027,7 @@ func (m *CreateNamespaceExportSinkResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { +func (m *GetConnectivityRuleRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -39953,47 +48050,15 @@ func (m *GetNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetNamespaceExportSinkRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetConnectivityRuleRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespaceExportSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetConnectivityRuleRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ConnectivityRuleId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -40021,7 +48086,7 @@ func (m *GetNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) + m.ConnectivityRuleId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -40047,7 +48112,7 @@ func (m *GetNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetNamespaceExportSinkResponse) Unmarshal(dAtA []byte) error { +func (m *GetConnectivityRuleResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -40070,15 +48135,15 @@ func (m *GetNamespaceExportSinkResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetNamespaceExportSinkResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetConnectivityRuleResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespaceExportSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetConnectivityRuleResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Sink", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ConnectivityRule", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -40105,10 +48170,10 @@ func (m *GetNamespaceExportSinkResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Sink == nil { - m.Sink = &v12.ExportSink{} + if m.ConnectivityRule == nil { + m.ConnectivityRule = &v19.ConnectivityRule{} } - if err := m.Sink.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.ConnectivityRule.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -40136,7 +48201,7 @@ func (m *GetNamespaceExportSinkResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetNamespaceExportSinksRequest) Unmarshal(dAtA []byte) error { +func (m *GetConnectivityRulesRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -40159,15 +48224,34 @@ func (m *GetNamespaceExportSinksRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetNamespaceExportSinksRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetConnectivityRulesRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespaceExportSinksRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetConnectivityRulesRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) + } + m.PageSize = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.PageSize |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -40195,13 +48279,13 @@ func (m *GetNamespaceExportSinksRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Namespace = string(dAtA[iNdEx:postIndex]) + m.PageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) } - m.PageSize = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -40211,14 +48295,27 @@ func (m *GetNamespaceExportSinksRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.PageSize |= int32(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 3: + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Namespace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -40246,7 +48343,7 @@ func (m *GetNamespaceExportSinksRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PageToken = string(dAtA[iNdEx:postIndex]) + m.ProjectId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -40272,7 +48369,7 @@ func (m *GetNamespaceExportSinksRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetNamespaceExportSinksResponse) Unmarshal(dAtA []byte) error { +func (m *GetConnectivityRulesResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -40295,15 +48392,15 @@ func (m *GetNamespaceExportSinksResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetNamespaceExportSinksResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetConnectivityRulesResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespaceExportSinksResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetConnectivityRulesResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Sinks", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ConnectivityRules", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -40330,8 +48427,8 @@ func (m *GetNamespaceExportSinksResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Sinks = append(m.Sinks, &v12.ExportSink{}) - if err := m.Sinks[len(m.Sinks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.ConnectivityRules = append(m.ConnectivityRules, &v19.ConnectivityRule{}) + if err := m.ConnectivityRules[len(m.ConnectivityRules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -40391,7 +48488,7 @@ func (m *GetNamespaceExportSinksResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { +func (m *DeleteConnectivityRuleRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -40414,15 +48511,15 @@ func (m *UpdateNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateNamespaceExportSinkRequest: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteConnectivityRuleRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateNamespaceExportSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteConnectivityRuleRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ConnectivityRuleId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -40450,45 +48547,9 @@ func (m *UpdateNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Namespace = string(dAtA[iNdEx:postIndex]) + m.ConnectivityRuleId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v12.ExportSinkSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } @@ -40520,7 +48581,7 @@ func (m *UpdateNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { } m.ResourceVersion = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } @@ -40576,7 +48637,7 @@ func (m *UpdateNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateNamespaceExportSinkResponse) Unmarshal(dAtA []byte) error { +func (m *DeleteConnectivityRuleResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -40599,10 +48660,10 @@ func (m *UpdateNamespaceExportSinkResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateNamespaceExportSinkResponse: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteConnectivityRuleResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateNamespaceExportSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteConnectivityRuleResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -40665,7 +48726,7 @@ func (m *UpdateNamespaceExportSinkResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { +func (m *GetProjectsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -40688,17 +48749,17 @@ func (m *DeleteNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteNamespaceExportSinkRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetProjectsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteNamespaceExportSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetProjectsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) } - var stringLen uint64 + m.PageSize = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -40708,27 +48769,14 @@ func (m *DeleteNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.PageSize |= int32(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -40756,13 +48804,66 @@ func (m *DeleteNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) + m.PageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetProjectsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetProjectsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetProjectsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Projects", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -40772,27 +48873,29 @@ func (m *DeleteNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) + m.Projects = append(m.Projects, &v110.Project{}) + if err := m.Projects[len(m.Projects)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 4: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -40820,7 +48923,7 @@ func (m *DeleteNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.NextPageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -40846,7 +48949,7 @@ func (m *DeleteNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteNamespaceExportSinkResponse) Unmarshal(dAtA []byte) error { +func (m *GetProjectRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -40869,17 +48972,17 @@ func (m *DeleteNamespaceExportSinkResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteNamespaceExportSinkResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetProjectRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteNamespaceExportSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetProjectRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -40889,27 +48992,23 @@ func (m *DeleteNamespaceExportSinkResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.ProjectId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -40935,7 +49034,7 @@ func (m *DeleteNamespaceExportSinkResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *ValidateNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { +func (m *GetProjectResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -40958,47 +49057,15 @@ func (m *ValidateNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ValidateNamespaceExportSinkRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetProjectResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ValidateNamespaceExportSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetProjectResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -41025,10 +49092,10 @@ func (m *ValidateNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Spec == nil { - m.Spec = &v12.ExportSinkSpec{} + if m.Project == nil { + m.Project = &v110.Project{} } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Project.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -41056,7 +49123,7 @@ func (m *ValidateNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *ValidateNamespaceExportSinkResponse) Unmarshal(dAtA []byte) error { +func (m *CreateProjectRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -41079,12 +49146,80 @@ func (m *ValidateNamespaceExportSinkResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ValidateNamespaceExportSinkResponse: wiretype end group for non-group") + return fmt.Errorf("proto: CreateProjectRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ValidateNamespaceExportSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateProjectRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Spec == nil { + m.Spec = &v110.ProjectSpec{} + } + if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipRequestResponse(dAtA[iNdEx:]) @@ -41109,7 +49244,7 @@ func (m *ValidateNamespaceExportSinkResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *StartMigrationRequest) Unmarshal(dAtA []byte) error { +func (m *CreateProjectResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -41132,17 +49267,17 @@ func (m *StartMigrationRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: StartMigrationRequest: wiretype end group for non-group") + return fmt.Errorf("proto: CreateProjectResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: StartMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateProjectResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -41152,33 +49287,29 @@ func (m *StartMigrationRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Spec == nil { - m.Spec = &v12.MigrationSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.ProjectId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -41188,23 +49319,27 @@ func (m *StartMigrationRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} + } + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -41230,7 +49365,7 @@ func (m *StartMigrationRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *StartMigrationResponse) Unmarshal(dAtA []byte) error { +func (m *UpdateProjectRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -41253,15 +49388,83 @@ func (m *StartMigrationResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: StartMigrationResponse: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateProjectRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: StartMigrationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateProjectRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MigrationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ProjectId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Spec == nil { + m.Spec = &v110.ProjectSpec{} + } + if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -41289,13 +49492,13 @@ func (m *StartMigrationResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.MigrationId = string(dAtA[iNdEx:postIndex]) + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -41305,27 +49508,23 @@ func (m *StartMigrationResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -41351,7 +49550,7 @@ func (m *StartMigrationResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetMigrationRequest) Unmarshal(dAtA []byte) error { +func (m *UpdateProjectResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -41374,17 +49573,17 @@ func (m *GetMigrationRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetMigrationRequest: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateProjectResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateProjectResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MigrationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -41394,23 +49593,27 @@ func (m *GetMigrationRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.MigrationId = string(dAtA[iNdEx:postIndex]) + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} + } + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -41436,7 +49639,7 @@ func (m *GetMigrationRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetMigrationResponse) Unmarshal(dAtA []byte) error { +func (m *DeleteProjectRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -41459,17 +49662,17 @@ func (m *GetMigrationResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetMigrationResponse: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteProjectRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetMigrationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteProjectRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Migration", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -41479,86 +49682,29 @@ func (m *GetMigrationResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Migration == nil { - m.Migration = &v12.Migration{} - } - if err := m.Migration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.ProjectId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetMigrationsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetMigrationsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetMigrationsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } - m.PageSize = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -41568,14 +49714,27 @@ func (m *GetMigrationsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.PageSize |= int32(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 2: + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -41603,7 +49762,7 @@ func (m *GetMigrationsRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PageToken = string(dAtA[iNdEx:postIndex]) + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -41629,7 +49788,7 @@ func (m *GetMigrationsRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetMigrationsResponse) Unmarshal(dAtA []byte) error { +func (m *DeleteProjectResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -41652,15 +49811,15 @@ func (m *GetMigrationsResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetMigrationsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteProjectResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetMigrationsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteProjectResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Migrations", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -41687,42 +49846,12 @@ func (m *GetMigrationsResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Migrations = append(m.Migrations, &v12.Migration{}) - if err := m.Migrations[len(m.Migrations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} } - if postIndex > l { - return io.ErrUnexpectedEOF + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -41748,7 +49877,7 @@ func (m *GetMigrationsResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *HandoverNamespaceRequest) Unmarshal(dAtA []byte) error { +func (m *SetUserGroupProjectAccessRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -41771,15 +49900,15 @@ func (m *HandoverNamespaceRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: HandoverNamespaceRequest: wiretype end group for non-group") + return fmt.Errorf("proto: SetUserGroupProjectAccessRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: HandoverNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SetUserGroupProjectAccessRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MigrationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -41807,11 +49936,11 @@ func (m *HandoverNamespaceRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.MigrationId = string(dAtA[iNdEx:postIndex]) + m.ProjectId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ToReplicaId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -41839,9 +49968,77 @@ func (m *HandoverNamespaceRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ToReplicaId = string(dAtA[iNdEx:postIndex]) + m.GroupId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Access", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Access == nil { + m.Access = &v1.ProjectAccess{} + } + if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } @@ -41897,7 +50094,7 @@ func (m *HandoverNamespaceRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *HandoverNamespaceResponse) Unmarshal(dAtA []byte) error { +func (m *SetUserGroupProjectAccessResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -41920,10 +50117,10 @@ func (m *HandoverNamespaceResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: HandoverNamespaceResponse: wiretype end group for non-group") + return fmt.Errorf("proto: SetUserGroupProjectAccessResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: HandoverNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SetUserGroupProjectAccessResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -41986,7 +50183,7 @@ func (m *HandoverNamespaceResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *ConfirmMigrationRequest) Unmarshal(dAtA []byte) error { +func (m *SetUserProjectAccessRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -42009,15 +50206,15 @@ func (m *ConfirmMigrationRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ConfirmMigrationRequest: wiretype end group for non-group") + return fmt.Errorf("proto: SetUserProjectAccessRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ConfirmMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SetUserProjectAccessRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MigrationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -42045,11 +50242,11 @@ func (m *ConfirmMigrationRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.MigrationId = string(dAtA[iNdEx:postIndex]) + m.ProjectId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -42077,64 +50274,11 @@ func (m *ConfirmMigrationRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.UserId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ConfirmMigrationResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ConfirmMigrationResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ConfirmMigrationResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Access", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -42161,69 +50305,16 @@ func (m *ConfirmMigrationResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} + if m.Access == nil { + m.Access = &v1.ProjectAccess{} } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AbortMigrationRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AbortMigrationRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AbortMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MigrationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -42251,9 +50342,9 @@ func (m *AbortMigrationRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.MigrationId = string(dAtA[iNdEx:postIndex]) + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } @@ -42309,7 +50400,7 @@ func (m *AbortMigrationRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *AbortMigrationResponse) Unmarshal(dAtA []byte) error { +func (m *SetUserProjectAccessResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -42332,10 +50423,10 @@ func (m *AbortMigrationResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: AbortMigrationResponse: wiretype end group for non-group") + return fmt.Errorf("proto: SetUserProjectAccessResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: AbortMigrationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SetUserProjectAccessResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -42398,7 +50489,7 @@ func (m *AbortMigrationResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateConnectivityRuleRequest) Unmarshal(dAtA []byte) error { +func (m *SetServiceAccountProjectAccessRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -42421,17 +50512,17 @@ func (m *CreateConnectivityRuleRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateConnectivityRuleRequest: wiretype end group for non-group") + return fmt.Errorf("proto: SetServiceAccountProjectAccessRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateConnectivityRuleRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SetServiceAccountProjectAccessRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -42441,31 +50532,27 @@ func (m *CreateConnectivityRuleRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Spec == nil { - m.Spec = &v18.ConnectivityRuleSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.ProjectId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -42493,64 +50580,47 @@ func (m *CreateConnectivityRuleRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.ServiceAccountId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Access", wireType) } - if skippy < 0 { + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { return ErrInvalidLengthRequestResponse } - if (iNdEx + skippy) < 0 { + postIndex := iNdEx + msglen + if postIndex < 0 { return ErrInvalidLengthRequestResponse } - if (iNdEx + skippy) > l { + if postIndex > l { return io.ErrUnexpectedEOF } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateConnectivityRuleResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF + if m.Access == nil { + m.Access = &v1.ProjectAccess{} } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateConnectivityRuleResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateConnectivityRuleResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + iNdEx = postIndex + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnectivityRuleId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -42578,13 +50648,13 @@ func (m *CreateConnectivityRuleResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ConnectivityRuleId = string(dAtA[iNdEx:postIndex]) + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -42594,27 +50664,23 @@ func (m *CreateConnectivityRuleResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -42640,7 +50706,7 @@ func (m *CreateConnectivityRuleResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetConnectivityRuleRequest) Unmarshal(dAtA []byte) error { +func (m *SetServiceAccountProjectAccessResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -42663,17 +50729,17 @@ func (m *GetConnectivityRuleRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetConnectivityRuleRequest: wiretype end group for non-group") + return fmt.Errorf("proto: SetServiceAccountProjectAccessResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetConnectivityRuleRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SetServiceAccountProjectAccessResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnectivityRuleId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -42683,23 +50749,27 @@ func (m *GetConnectivityRuleRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.ConnectivityRuleId = string(dAtA[iNdEx:postIndex]) + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} + } + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -42725,7 +50795,7 @@ func (m *GetConnectivityRuleRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetConnectivityRuleResponse) Unmarshal(dAtA []byte) error { +func (m *UpdateNamespaceTagsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -42748,15 +50818,47 @@ func (m *GetConnectivityRuleResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetConnectivityRuleResponse: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateNamespaceTagsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetConnectivityRuleResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateNamespaceTagsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnectivityRule", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Namespace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TagsToUpsert", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -42783,12 +50885,167 @@ func (m *GetConnectivityRuleResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ConnectivityRule == nil { - m.ConnectivityRule = &v18.ConnectivityRule{} + if m.TagsToUpsert == nil { + m.TagsToUpsert = make(map[string]string) } - if err := m.ConnectivityRule.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthRequestResponse + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthRequestResponse + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLengthRequestResponse + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthRequestResponse + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthRequestResponse + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } + m.TagsToUpsert[mapkey] = mapvalue + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TagsToRemove", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TagsToRemove = append(m.TagsToRemove, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -42814,7 +51071,7 @@ func (m *GetConnectivityRuleResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetConnectivityRulesRequest) Unmarshal(dAtA []byte) error { +func (m *UpdateNamespaceTagsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -42837,36 +51094,17 @@ func (m *GetConnectivityRulesRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetConnectivityRulesRequest: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateNamespaceTagsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetConnectivityRulesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateNamespaceTagsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -42876,55 +51114,27 @@ func (m *GetConnectivityRulesRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} } - if postIndex > l { - return io.ErrUnexpectedEOF + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - m.Namespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -42950,7 +51160,7 @@ func (m *GetConnectivityRulesRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetConnectivityRulesResponse) Unmarshal(dAtA []byte) error { +func (m *ResendUserInviteRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -42973,17 +51183,17 @@ func (m *GetConnectivityRulesResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetConnectivityRulesResponse: wiretype end group for non-group") + return fmt.Errorf("proto: ResendUserInviteRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetConnectivityRulesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ResendUserInviteRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnectivityRules", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -42993,29 +51203,27 @@ func (m *GetConnectivityRulesResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.ConnectivityRules = append(m.ConnectivityRules, &v18.ConnectivityRule{}) - if err := m.ConnectivityRules[len(m.ConnectivityRules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.UserId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -43043,7 +51251,7 @@ func (m *GetConnectivityRulesResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -43069,7 +51277,7 @@ func (m *GetConnectivityRulesResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteConnectivityRuleRequest) Unmarshal(dAtA []byte) error { +func (m *ResendUserInviteResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -43092,17 +51300,17 @@ func (m *DeleteConnectivityRuleRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteConnectivityRuleRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ResendUserInviteResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteConnectivityRuleRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ResendUserInviteResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnectivityRuleId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -43112,59 +51320,84 @@ func (m *DeleteConnectivityRuleRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.ConnectivityRuleId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - intStringLen := int(stringLen) - if intStringLen < 0 { + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen - if postIndex < 0 { + if (iNdEx + skippy) < 0 { return ErrInvalidLengthRequestResponse } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetTagKeysRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetTagKeysRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetTagKeysRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Prefix", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -43192,7 +51425,7 @@ func (m *DeleteConnectivityRuleRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.Prefix = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -43218,7 +51451,7 @@ func (m *DeleteConnectivityRuleRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteConnectivityRuleResponse) Unmarshal(dAtA []byte) error { +func (m *GetTagKeysResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -43241,17 +51474,17 @@ func (m *DeleteConnectivityRuleResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteConnectivityRuleResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetTagKeysResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteConnectivityRuleResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetTagKeysResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TagKeys", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -43261,27 +51494,23 @@ func (m *DeleteConnectivityRuleResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.TagKeys = append(m.TagKeys, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -43307,7 +51536,7 @@ func (m *DeleteConnectivityRuleResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetProjectsRequest) Unmarshal(dAtA []byte) error { +func (m *GetCustomRolesRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -43330,10 +51559,10 @@ func (m *GetProjectsRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetProjectsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetCustomRolesRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetProjectsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetCustomRolesRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -43411,7 +51640,7 @@ func (m *GetProjectsRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetProjectsResponse) Unmarshal(dAtA []byte) error { +func (m *GetCustomRolesResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -43434,15 +51663,15 @@ func (m *GetProjectsResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetProjectsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetCustomRolesResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetProjectsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetCustomRolesResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Projects", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CustomRoles", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -43469,8 +51698,8 @@ func (m *GetProjectsResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Projects = append(m.Projects, &v19.Project{}) - if err := m.Projects[len(m.Projects)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.CustomRoles = append(m.CustomRoles, &v1.CustomRole{}) + if err := m.CustomRoles[len(m.CustomRoles)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -43530,7 +51759,7 @@ func (m *GetProjectsResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetProjectRequest) Unmarshal(dAtA []byte) error { +func (m *GetCustomRoleRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -43553,15 +51782,15 @@ func (m *GetProjectRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetProjectRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetCustomRoleRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetProjectRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetCustomRoleRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RoleId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -43589,7 +51818,7 @@ func (m *GetProjectRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ProjectId = string(dAtA[iNdEx:postIndex]) + m.RoleId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -43615,7 +51844,7 @@ func (m *GetProjectRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetProjectResponse) Unmarshal(dAtA []byte) error { +func (m *GetCustomRoleResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -43638,15 +51867,15 @@ func (m *GetProjectResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetProjectResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetCustomRoleResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetProjectResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetCustomRoleResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CustomRole", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -43673,10 +51902,10 @@ func (m *GetProjectResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Project == nil { - m.Project = &v19.Project{} + if m.CustomRole == nil { + m.CustomRole = &v1.CustomRole{} } - if err := m.Project.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.CustomRole.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -43704,7 +51933,7 @@ func (m *GetProjectResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateProjectRequest) Unmarshal(dAtA []byte) error { +func (m *CreateCustomRoleRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -43727,10 +51956,10 @@ func (m *CreateProjectRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateProjectRequest: wiretype end group for non-group") + return fmt.Errorf("proto: CreateCustomRoleRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateProjectRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateCustomRoleRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -43763,7 +51992,7 @@ func (m *CreateProjectRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Spec == nil { - m.Spec = &v19.ProjectSpec{} + m.Spec = &v1.CustomRoleSpec{} } if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -43825,7 +52054,7 @@ func (m *CreateProjectRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateProjectResponse) Unmarshal(dAtA []byte) error { +func (m *CreateCustomRoleResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -43848,15 +52077,15 @@ func (m *CreateProjectResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateProjectResponse: wiretype end group for non-group") + return fmt.Errorf("proto: CreateCustomRoleResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateProjectResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateCustomRoleResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RoleId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -43884,7 +52113,7 @@ func (m *CreateProjectResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ProjectId = string(dAtA[iNdEx:postIndex]) + m.RoleId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -43946,7 +52175,7 @@ func (m *CreateProjectResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateProjectRequest) Unmarshal(dAtA []byte) error { +func (m *UpdateCustomRoleRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -43969,15 +52198,15 @@ func (m *UpdateProjectRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateProjectRequest: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateCustomRoleRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateProjectRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateCustomRoleRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RoleId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -44005,7 +52234,7 @@ func (m *UpdateProjectRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ProjectId = string(dAtA[iNdEx:postIndex]) + m.RoleId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -44037,7 +52266,7 @@ func (m *UpdateProjectRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Spec == nil { - m.Spec = &v19.ProjectSpec{} + m.Spec = &v1.CustomRoleSpec{} } if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -44131,7 +52360,7 @@ func (m *UpdateProjectRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateProjectResponse) Unmarshal(dAtA []byte) error { +func (m *UpdateCustomRoleResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -44154,10 +52383,10 @@ func (m *UpdateProjectResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateProjectResponse: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateCustomRoleResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateProjectResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateCustomRoleResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -44220,7 +52449,7 @@ func (m *UpdateProjectResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteProjectRequest) Unmarshal(dAtA []byte) error { +func (m *DeleteCustomRoleRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -44243,15 +52472,15 @@ func (m *DeleteProjectRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteProjectRequest: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteCustomRoleRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteProjectRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteCustomRoleRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RoleId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -44279,7 +52508,7 @@ func (m *DeleteProjectRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ProjectId = string(dAtA[iNdEx:postIndex]) + m.RoleId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -44369,7 +52598,7 @@ func (m *DeleteProjectRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteProjectResponse) Unmarshal(dAtA []byte) error { +func (m *DeleteCustomRoleResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -44392,10 +52621,10 @@ func (m *DeleteProjectResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteProjectResponse: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteCustomRoleResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteProjectResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteCustomRoleResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -44458,7 +52687,7 @@ func (m *DeleteProjectResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateNamespaceTagsRequest) Unmarshal(dAtA []byte) error { +func (m *CreateBillingReportRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -44481,47 +52710,15 @@ func (m *UpdateNamespaceTagsRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateNamespaceTagsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: CreateBillingReportRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateNamespaceTagsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateBillingReportRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TagsToUpsert", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -44548,137 +52745,14 @@ func (m *UpdateNamespaceTagsRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.TagsToUpsert == nil { - m.TagsToUpsert = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthRequestResponse - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthRequestResponse - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthRequestResponse - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthRequestResponse - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.TagsToUpsert[mapkey] = mapvalue - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TagsToRemove", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse + if m.Spec == nil { + m.Spec = &v111.BillingReportSpec{} } - if postIndex > l { - return io.ErrUnexpectedEOF + if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - m.TagsToRemove = append(m.TagsToRemove, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 4: + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } @@ -44734,7 +52808,7 @@ func (m *UpdateNamespaceTagsRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateNamespaceTagsResponse) Unmarshal(dAtA []byte) error { +func (m *CreateBillingReportResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -44757,13 +52831,45 @@ func (m *UpdateNamespaceTagsResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateNamespaceTagsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: CreateBillingReportResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateNamespaceTagsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateBillingReportResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BillingReportId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRequestResponse + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.BillingReportId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } @@ -44823,7 +52929,7 @@ func (m *UpdateNamespaceTagsResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *ResendUserInviteRequest) Unmarshal(dAtA []byte) error { +func (m *GetBillingReportRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -44846,15 +52952,15 @@ func (m *ResendUserInviteRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ResendUserInviteRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetBillingReportRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ResendUserInviteRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetBillingReportRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field BillingReportId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -44882,39 +52988,7 @@ func (m *ResendUserInviteRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.UserId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.BillingReportId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -44940,7 +53014,7 @@ func (m *ResendUserInviteRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *ResendUserInviteResponse) Unmarshal(dAtA []byte) error { +func (m *GetBillingReportResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -44963,15 +53037,15 @@ func (m *ResendUserInviteResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ResendUserInviteResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetBillingReportResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ResendUserInviteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetBillingReportResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field BillingReport", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -44998,10 +53072,10 @@ func (m *ResendUserInviteResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} + if m.BillingReport == nil { + m.BillingReport = &v111.BillingReport{} } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.BillingReport.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -45029,7 +53103,7 @@ func (m *ResendUserInviteResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetTagKeysRequest) Unmarshal(dAtA []byte) error { +func (m *GetNamespaceCapacityInfoRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -45052,15 +53126,15 @@ func (m *GetTagKeysRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetTagKeysRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetNamespaceCapacityInfoRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetTagKeysRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetNamespaceCapacityInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Prefix", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -45088,7 +53162,7 @@ func (m *GetTagKeysRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Prefix = string(dAtA[iNdEx:postIndex]) + m.Namespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -45114,7 +53188,7 @@ func (m *GetTagKeysRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetTagKeysResponse) Unmarshal(dAtA []byte) error { +func (m *GetNamespaceCapacityInfoResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -45137,17 +53211,17 @@ func (m *GetTagKeysResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetTagKeysResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetNamespaceCapacityInfoResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetTagKeysResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetNamespaceCapacityInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TagKeys", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CapacityInfo", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -45157,23 +53231,27 @@ func (m *GetTagKeysResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.TagKeys = append(m.TagKeys, string(dAtA[iNdEx:postIndex])) + if m.CapacityInfo == nil { + m.CapacityInfo = &v12.NamespaceCapacityInfo{} + } + if err := m.CapacityInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex diff --git a/protogen/api/cloud/cloudservice/v1/service.pb.go b/protogen/api/cloud/cloudservice/v1/service.pb.go index 54217757..67e12b60 100644 --- a/protogen/api/cloud/cloudservice/v1/service.pb.go +++ b/protogen/api/cloud/cloudservice/v1/service.pb.go @@ -30,169 +30,208 @@ func init() { } var fileDescriptor_9201a2f120d8d47c = []byte{ - // 2588 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x5b, 0x5b, 0x8c, 0x1c, 0x47, - 0x15, 0xdd, 0xf2, 0x07, 0x8f, 0x62, 0xe3, 0x47, 0x79, 0xb3, 0xf6, 0xfa, 0x31, 0x71, 0x3a, 0xb6, - 0x63, 0x4f, 0x3c, 0xd3, 0x5e, 0xbf, 0xd6, 0x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 0x31, 0x01, 0x0a, 0x2e, 0x09, 0x05, 0xd3, 0xc6, 0x19, 0x50, 0xd0, 0x0d, 0xc7, 0x79, 0xe6, - 0x20, 0xfa, 0x7c, 0x27, 0x2d, 0xcc, 0xb4, 0x84, 0x95, 0xc0, 0x01, 0x3f, 0x27, 0x74, 0xd7, 0x3c, - 0xf7, 0x9b, 0xde, 0x7a, 0xb7, 0xf5, 0x7c, 0x8f, 0xbb, 0x62, 0x27, 0x60, 0x17, 0x34, 0xd7, 0x48, - 0x12, 0x16, 0x0a, 0xbb, 0x58, 0x12, 0x0d, 0x9a, 0xea, 0x42, 0xd3, 0x31, 0x76, 0x14, 0x34, 0x39, - 0xe1, 0x08, 0xcf, 0x1c, 0x58, 0x01, 0x64, 0x29, 0xfa, 0x46, 0x78, 0xe9, 0x15, 0x42, 0x77, 0xc8, - 0x45, 0x11, 0xcd, 0x12, 0x6b, 0xe8, 0xaf, 0xa4, 0x08, 0x14, 0xd2, 0x9f, 0x29, 0x85, 0x05, 0xf2, - 0x07, 0x04, 0xf9, 0x71, 0x63, 0x57, 0xc6, 0x21, 0xc1, 0x6c, 0x7f, 0x8d, 0xd0, 0x87, 0xe6, 0xb9, - 0x1f, 0xc1, 0x3c, 0x76, 0x5e, 0x73, 0xae, 0x86, 0x90, 0x90, 0xe6, 0x74, 0x09, 0x24, 0x90, 0x9c, - 0x10, 0x24, 0x77, 0xb3, 0x2c, 0x49, 0xf6, 0x2a, 0xa1, 0x3b, 0xe2, 0xa0, 0xa7, 0xae, 0x78, 0x7a, - 0x93, 0x99, 0x02, 0xa1, 0x26, 0x33, 0x83, 0x05, 0x9e, 0x07, 0x05, 0xcf, 0x3d, 0xec, 0xe1, 0xec, - 0x64, 0xda, 0x6d, 0x2f, 0x70, 0xfc, 0x68, 0x1c, 0xca, 0xa6, 0xb0, 0x0f, 0x0b, 0x59, 0x9e, 0xc7, - 0x03, 0x81, 0xe2, 0x11, 0x41, 0xf1, 0x11, 0x76, 0xb0, 0x70,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 0xca, 0x1f, 0x08, 0x7d, 0x38, 0xe3, 0x6c, 0xa1, 0xe6, 0x72, 0xa9, 0x38, 0x89, 0x0b, 0x6a, 0x6e, - 0xc1, 0x02, 0x68, 0x3a, 0x27, 0x34, 0x9d, 0xac, 0xd6, 0x37, 0x5b, 0x45, 0x1d, 0x99, 0x95, 0xe5, - 0x87, 0x3b, 0xec, 0x65, 0x42, 0xe9, 0x3c, 0xf7, 0xa5, 0x35, 0x4f, 0xaf, 0x9a, 0x1b, 0x8e, 0x47, - 0x55, 0x73, 0x71, 0x18, 0xb0, 0x1e, 0x17, 0xac, 0x77, 0xb2, 0xed, 0xc0, 0x1a, 0xe8, 0xb1, 0x2f, - 0x12, 0xfa, 0xe1, 0x68, 0x38, 0x3b, 0x83, 0xb2, 0x1e, 0x72, 0x3a, 0x8b, 0x44, 0x01, 0xa5, 0x47, - 0x04, 0xa5, 0x09, 0xb6, 0x27, 0x49, 0x69, 0x38, 0x63, 0xdf, 0x97, 0xe5, 0xd7, 0x73, 0xfc, 0xa5, - 0xbe, 0x77, 0xb5, 0xdb, 0xee, 0x39, 0x76, 0xd7, 0xf7, 0xb4, 0xcb, 0xaf, 0x24, 0x0c, 0x5b, 0x7e, - 0xa5, 0xd1, 0x8a, 0x56, 0xa7, 0x1b, 0x0c, 0x33, 0x79, 0x44, 0xee, 0x27, 0x84, 0xee, 0x4c, 0xa3, - 0xd9, 0x4c, 0x99, 0x67, 0x86, 0x84, 0x2f, 0x94, 0x03, 0x03, 0xdf, 0x13, 0x82, 0xef, 0x51, 0x76, - 0x38, 0x9f, 0xaf, 0x39, 0x08, 0x3f, 0x8a, 0x62, 0xf1, 0x47, 0x84, 0xee, 0x86, 0xda, 0x2d, 0x21, - 0xe0, 0x49, 0x44, 0xd1, 0x97, 0xa7, 0xe1, 0x52, 0x69, 0xbc, 0xa2, 0x59, 0x4a, 0xc9, 0x08, 0x76, - 0x8d, 0x5f, 0x11, 0xba, 0x1b, 0x72, 0x3a, 0x9e, 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xf5, 0xb3, 0x41, 0x1e, 0x18, 0x9b, 0x0d, - 0xf2, 0x6d, 0x80, 0xbe, 0x53, 0x42, 0xdf, 0x09, 0x86, 0x70, 0x1c, 0xfb, 0x67, 0x94, 0x19, 0x4a, - 0xc7, 0xa5, 0x12, 0x5e, 0x22, 0x33, 0x14, 0xb9, 0xaf, 0x29, 0xe4, 0xcd, 0x18, 0xe7, 0x30, 0xee, - 0x4b, 0x66, 0x89, 0x07, 0x51, 0x96, 0x28, 0xad, 0x56, 0x09, 0x2f, 0x91, 0x25, 0x34, 0x82, 0xb5, - 0x5a, 0x22, 0x58, 0xff, 0x15, 0xab, 0xa2, 0xf3, 0x74, 0xa2, 0xaa, 0xe8, 0x02, 0xa5, 0xf3, 0x5b, - 0xb6, 0x03, 0x5a, 0x2f, 0x0a, 0xad, 0x53, 0xc6, 0x29, 0x6d, 0xad, 0x89, 0x8a, 0xfa, 0xdb, 0x84, - 0x6e, 0x5f, 0xf4, 0x2d, 0xd7, 0x7f, 0xd6, 0xee, 0xc0, 0xe5, 0x47, 0xad, 0x4d, 0x3c, 0x89, 0x09, - 0x55, 0x35, 0xca, 0x40, 0x15, 0x37, 0x07, 0x57, 0xc3, 0x11, 0xf1, 0x9b, 0x83, 0x11, 0x4c, 0xff, - 0x55, 0xe3, 0x10, 0x82, 0x7d, 0xd5, 0x18, 0x47, 0x2a, 0x6e, 0x0e, 0x0e, 0x49, 0xb2, 0xef, 0xca, - 0x36, 0x71, 0x38, 0x8f, 0x53, 0xd8, 0xc7, 0x60, 0xdb, 0xc4, 0xec, 0x1c, 0xc2, 0x9b, 0x30, 0x76, - 0x28, 0x43, 0xcf, 0x1c, 0x44, 0x9f, 0x45, 0x53, 0xfb, 0x26, 0xa1, 0xbb, 0x3e, 0x6a, 0x75, 0xdb, - 0x89, 0xab, 0x4a, 0x7a, 0xa7, 0xc6, 0x19, 0x18, 0xea, 0xd4, 0x38, 0x07, 0x9d, 0x3c, 0xc0, 0x32, - 0x8e, 0x6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0xe5, 0x66, 0x71, 0xc3, - 0xea, 0xa0, 0xde, 0x1f, 0xc2, 0x78, 0xec, 0x66, 0x11, 0xc1, 0x80, 0xf3, 0x5e, 0xc1, 0x99, 0xb1, - 0x9d, 0xc0, 0x39, 0x60, 0x65, 0x2e, 0xf3, 0x75, 0x6f, 0xf6, 0xdf, 0xe4, 0xde, 0xfd, 0xca, 0xc8, - 0x3b, 0xf7, 0x2b, 0x23, 0xef, 0xdf, 0xaf, 0x90, 0x4f, 0x6d, 0x54, 0xc8, 0x2b, 0x1b, 0x15, 0xf2, - 0xd6, 0x46, 0x85, 0xdc, 0xdb, 0xa8, 0x90, 0xf7, 0x36, 0x2a, 0xe4, 0xef, 0x1b, 0x95, 0x91, 0xf7, - 0x37, 0x2a, 0xe4, 0xb3, 0x0f, 0x2a, 0x23, 0xf7, 0x1e, 0x54, 0x46, 0xde, 0x79, 0x50, 0x19, 0xa1, - 0x47, 0x6c, 0x47, 0x83, 0xca, 0xec, 0x28, 0xbc, 0x83, 0xbd, 0xee, 0x3a, 0xbe, 0x73, 0x9d, 0x7c, - 0xfc, 0x6c, 0x27, 0x06, 0xb3, 0x1d, 0xf5, 0x2f, 0x52, 0x67, 0xe2, 0xff, 0xff, 0xda, 0xb6, 0xc3, - 0x37, 0x00, 0x64, 0x3b, 0xf5, 0x66, 0xcf, 0xae, 0x8b, 0x9f, 0x9d, 0xd6, 0xe3, 0x3f, 0x3e, 0xad, - 0xdf, 0x9a, 0xfc, 0xc7, 0xb6, 0x63, 0xc3, 0x61, 0x8d, 0x46, 0xb3, 0x67, 0x37, 0x1a, 0x62, 0x08, - 0xfc, 0x81, 0x91, 0x8d, 0xc6, 0xad, 0xc9, 0xdb, 0x1f, 0x10, 0x3f, 0x61, 0x3d, 0xfd, 0xbf, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x2e, 0xaf, 0x2a, 0xa3, 0x73, 0x3b, 0x00, 0x00, + // 3204 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b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 0x68, 0x0f, 0x62, 0xea, 0x0e, 0x92, 0x03, 0x42, 0x9d, 0xee, 0xb4, 0x35, 0x2b, 0x5d, + 0xd5, 0x06, 0x2f, 0xb8, 0xdf, 0xb0, 0x21, 0x7c, 0x05, 0xe1, 0x01, 0x3e, 0x63, 0xdc, 0x2e, 0x24, + 0xd5, 0xf4, 0xd3, 0xcc, 0x05, 0x39, 0x42, 0x26, 0x32, 0x61, 0x85, 0x8c, 0x23, 0xeb, 0x6b, 0x79, + 0x42, 0x06, 0xfb, 0x72, 0x04, 0xb7, 0x0d, 0xfd, 0x13, 0xb4, 0x6e, 0x2d, 0x68, 0x0d, 0x21, 0x69, + 0x58, 0xd9, 0x11, 0x19, 0x30, 0x7b, 0x34, 0x9e, 0x43, 0x78, 0xdb, 0x0c, 0xb5, 0x5c, 0x63, 0x26, + 0x39, 0x99, 0xb2, 0x2f, 0x3d, 0x88, 0x43, 0x7e, 0x3c, 0x03, 0x52, 0x50, 0x1f, 0x61, 0x24, 0x77, + 0x92, 0x28, 0x49, 0xf2, 0x22, 0xc2, 0x03, 0x7e, 0xd0, 0xec, 0xb4, 0x99, 0xae, 0x8b, 0x43, 0x20, + 0x50, 0x17, 0x47, 0xb0, 0x82, 0xe7, 0xed, 0x8c, 0xe7, 0x6e, 0xb2, 0x2b, 0xda, 0x99, 0x5a, 0xc3, + 0x24, 0xbf, 0x40, 0xb8, 0xdf, 0x0f, 0x25, 0x27, 0xa0, 0x0f, 0x73, 0x58, 0x9e, 0x84, 0x03, 0x7d, + 0xce, 0x1c, 0x3b, 0x67, 0xef, 0x20, 0xb7, 0x27, 0xce, 0x59, 0xf2, 0x1b, 0x84, 0x07, 0xf8, 0x3a, + 0x0b, 0x74, 0xe6, 0x10, 0x08, 0xd4, 0xd3, 0x11, 0xac, 0x90, 0x31, 0x21, 0x93, 0xa1, 0x28, 0xc9, + 0x32, 0x6c, 0xaf, 0xfe, 0x6c, 0x0e, 0xe7, 0xe7, 0xa8, 0xfd, 0xd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67, 0x37, 0x69, 0x45, 0xa8, 0x3b, 0xc4, 0xd4, 0xdd, 0xa5, 0x14, 0x12, 0xd5, 0xb1, + 0xf9, 0xfa, 0x5b, 0x84, 0x87, 0xed, 0x51, 0x8f, 0x91, 0x54, 0x4b, 0xeb, 0x31, 0x72, 0x3d, 0x93, + 0x9b, 0x31, 0x21, 0x89, 0xe3, 0x25, 0x62, 0xf8, 0xde, 0xba, 0x4a, 0x5e, 0x47, 0x78, 0x77, 0xbc, + 0x45, 0x93, 0x6c, 0x82, 0x8e, 0x09, 0xba, 0xa7, 0x92, 0xda, 0x10, 0x9a, 0x0e, 0x30, 0x4d, 0xfb, + 0x48, 0x8f, 0x01, 0x22, 0x6f, 0x23, 0x3c, 0x22, 0x96, 0xb8, 0xac, 0x3e, 0x27, 0x85, 0x83, 0x7c, + 0x2e, 0xc1, 0x8a, 0x90, 0x74, 0x9c, 0x49, 0xaa, 0x28, 0xc5, 0x5e, 0xc3, 0xe4, 0x26, 0x30, 0x6c, + 0x19, 0xfe, 0x03, 0xc2, 0x23, 0x62, 0x6d, 0xcc, 0xaa, 0x50, 0x0a, 0x07, 0x29, 0x4c, 0xb0, 0x12, + 0x74, 0xc4, 0x62, 0x4a, 0x47, 0x74, 0xeb, 0xea, 0xd4, 0x26, 0x05, 0xd4, 0xd5, 0xa9, 0x4d, 0x0a, + 0xaf, 0xab, 0x63, 0x20, 0x69, 0x5d, 0x9d, 0x4d, 0x40, 0xdc, 0x7d, 0x39, 0x31, 0xe3, 0x71, 0x98, + 0x17, 0x83, 0x63, 0xad, 0x50, 0x7c, 0x18, 0xbe, 0xfb, 0x12, 0x5d, 0xc7, 0xca, 0x5f, 0x02, 0xae, + 0x45, 0x4e, 0x82, 0xbd, 0x11, 0x74, 0x98, 0x1c, 0x42, 0x06, 0xcb, 0x5f, 0x94, 0x10, 0x3d, 0xdb, + 0x3f, 0x3f, 0x74, 0x57, 0x7d, 0x37, 0x03, 0x38, 0xfb, 0x64, 0x5b, 0x37,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0x92, 0x15, 0x16, 0x32, 0xab, 0x25, 0x4b, 0x6d, 0xb2, 0xb1, 0xf9, + 0x12, 0xdf, 0x95, 0x2f, 0xaa, 0x4d, 0x50, 0xb1, 0x81, 0x68, 0x0f, 0xdd, 0x95, 0x5d, 0x98, 0x90, + 0xb1, 0x87, 0x71, 0x26, 0x64, 0x50, 0x70, 0xb6, 0x59, 0x55, 0x58, 0xb5, 0xc1, 0xf3, 0x08, 0x6f, + 0x67, 0xaf, 0xef, 0x9b, 0x96, 0xbe, 0x34, 0xa7, 0xdb, 0x41, 0xdd, 0x78, 0xea, 0x57, 0xfe, 0x5d, + 0x0c, 0x28, 0xa3, 0x0b, 0x43, 0x05, 0xc7, 0x3c, 0xe3, 0xb8, 0x8b, 0xec, 0x74, 0x7f, 0x29, 0x80, + 0xbd, 0xd3, 0x66, 0x30, 0x4e, 0x2f, 0xf3, 0x13, 0x09, 0x0f, 0x97, 0xfa, 0x44, 0xc2, 0x83, 0x40, + 0x4f, 0x24, 0xfc, 0x48, 0xa7, 0x4a, 0x71, 0x7d, 0x2d, 0xbf, 0x8d, 0x6c, 0xed, 0xbb, 0x85, 0xdc, + 0x6a, 0xf3, 0x72, 0x26, 0xb2, 0x57, 0x67, 0xed, 0x27, 0x5d, 0xe9, 0x8a, 0x36, 0xab, 0xe4, 0x87, + 0x76, 0xea, 0xc9, 0xd3, 0x26, 0x4f, 0x01, 0xa0, 0x58, 0x3a, 0x2a, 0xe2, 0x54, 0x36, 0x70, 0xf0, + 0x2d, 0x16, 0x25, 0xae, 0xaf, 0x6d, 0x6f, 0x7d, 0x0d, 0xe1, 0x41, 0x3e, 0x2d, 0xa0, 0x7c, 0xc3, + 0x28, 0x10, 0xdf, 0x28, 0x58, 0xf0, 0x1d, 0x8f, 0xef, 0x77, 0x6f, 0x69, 0x89, 0xef, 0x77, 0x51, + 0x20, 0x3a, 0x28, 0x72, 0x04, 0xa0, 0x94, 0x30, 0x0a, 0x24, 0x25, 0x0a, 0xee, 0x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0xd6, 0x3b, 0x85, 0x2d, 0x78, 0xbf, 0xa6, 0xa7, 0xd0, 0x35, 0xd9, 0x2f, + 0x42, 0xa9, 0x0b, 0x86, 0x6e, 0xe9, 0x17, 0xd0, 0x13, 0xc7, 0x9b, 0x3e, 0x98, 0xa6, 0xcb, 0x7f, + 0x6d, 0x67, 0xc2, 0xff, 0xff, 0xdf, 0xcf, 0xdd, 0x7d, 0x51, 0x80, 0x34, 0xbd, 0x5c, 0x6b, 0x6b, + 0x65, 0xf6, 0x13, 0x39, 0x65, 0xff, 0x0f, 0xe5, 0x94, 0x2f, 0x8d, 0xbd, 0x9b, 0x3b, 0xe8, 0x35, + 0xab, 0x56, 0x6b, 0x6d, 0xad, 0x5a, 0x65, 0x4d, 0xc4, 0x1f, 0xd1, 0xb2, 0x5a, 0xbd, 0x34, 0x76, + 0xf9, 0x16, 0xf6, 0x7b, 0x3b, 0x47, 0xff, 0x17, 0x00, 0x00, 0xff, 0xff, 0x0c, 0x4c, 0xcb, 0xbd, + 0x4f, 0x48, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -207,6 +246,8 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type CloudServiceClient interface { + // Get information about the current authenticated user or service account principal + GetCurrentIdentity(ctx context.Context, in *GetCurrentIdentityRequest, opts ...grpc.CallOption) (*GetCurrentIdentityResponse, error) // Gets all known users GetUsers(ctx context.Context, in *GetUsersRequest, opts ...grpc.CallOption) (*GetUsersResponse, error) // Get a user @@ -237,10 +278,13 @@ type CloudServiceClient interface { // Delete a namespace DeleteNamespace(ctx context.Context, in *DeleteNamespaceRequest, opts ...grpc.CallOption) (*DeleteNamespaceResponse, error) // Failover a multi-region namespace + // Deprecated: Use the UpdateNamespace() to set the `preferred_primary_replica_name` on the replica in the high availability spec instead. FailoverNamespaceRegion(ctx context.Context, in *FailoverNamespaceRegionRequest, opts ...grpc.CallOption) (*FailoverNamespaceRegionResponse, error) // Add a new region to a namespace + // Deprecated: Use the UpdateNamespace() to add new replica in the namespace spec instead. AddNamespaceRegion(ctx context.Context, in *AddNamespaceRegionRequest, opts ...grpc.CallOption) (*AddNamespaceRegionResponse, error) // Delete a region from a namespace + // Deprecated: Use the UpdateNamespace() to delete a replica in the namespace spec instead. DeleteNamespaceRegion(ctx context.Context, in *DeleteNamespaceRegionRequest, opts ...grpc.CallOption) (*DeleteNamespaceRegionResponse, error) // Get all regions GetRegions(ctx context.Context, in *GetRegionsRequest, opts ...grpc.CallOption) (*GetRegionsResponse, error) @@ -296,25 +340,19 @@ type CloudServiceClient interface { // Delete an API key DeleteApiKey(ctx context.Context, in *DeleteApiKeyRequest, opts ...grpc.CallOption) (*DeleteApiKeyResponse, error) // Get audit logs - // temporal:dev GetAuditLogs(ctx context.Context, in *GetAuditLogsRequest, opts ...grpc.CallOption) (*GetAuditLogsResponse, error) // Validate customer audit log sink is accessible from Temporal's workflow by delivering an empty file to the specified sink. // The operation verifies that the sink is correctly configured, accessible and ready to receive audit logs. ValidateAccountAuditLogSink(ctx context.Context, in *ValidateAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*ValidateAccountAuditLogSinkResponse, error) // Create an audit log sink - // temporal:dev CreateAccountAuditLogSink(ctx context.Context, in *CreateAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*CreateAccountAuditLogSinkResponse, error) // Get an audit log sink - // temporal:dev GetAccountAuditLogSink(ctx context.Context, in *GetAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*GetAccountAuditLogSinkResponse, error) // Get audit log sinks - // temporal:dev GetAccountAuditLogSinks(ctx context.Context, in *GetAccountAuditLogSinksRequest, opts ...grpc.CallOption) (*GetAccountAuditLogSinksResponse, error) // Update an audit log sink - // temporal:dev UpdateAccountAuditLogSink(ctx context.Context, in *UpdateAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*UpdateAccountAuditLogSinkResponse, error) // Delete an audit log sink - // temporal:dev DeleteAccountAuditLogSink(ctx context.Context, in *DeleteAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*DeleteAccountAuditLogSinkResponse, error) // Get usage GetUsage(ctx context.Context, in *GetUsageRequest, opts ...grpc.CallOption) (*GetUsageResponse, error) @@ -376,6 +414,15 @@ type CloudServiceClient interface { // Delete a projects // temporal:dev DeleteProject(ctx context.Context, in *DeleteProjectRequest, opts ...grpc.CallOption) (*DeleteProjectResponse, error) + // Set a user's access to a project + // temporal:dev + SetUserProjectAccess(ctx context.Context, in *SetUserProjectAccessRequest, opts ...grpc.CallOption) (*SetUserProjectAccessResponse, error) + // Set a user group's access to a project + // temporal:dev + SetUserGroupProjectAccess(ctx context.Context, in *SetUserGroupProjectAccessRequest, opts ...grpc.CallOption) (*SetUserGroupProjectAccessResponse, error) + // Set a service account's access to a project. + // temporal:dev + SetServiceAccountProjectAccess(ctx context.Context, in *SetServiceAccountProjectAccessRequest, opts ...grpc.CallOption) (*SetServiceAccountProjectAccessResponse, error) // Resend a user invite // temporal:ui ResendUserInvite(ctx context.Context, in *ResendUserInviteRequest, opts ...grpc.CallOption) (*ResendUserInviteResponse, error) @@ -384,6 +431,31 @@ type CloudServiceClient interface { // Get tag keys // temporal:ui GetTagKeys(ctx context.Context, in *GetTagKeysRequest, opts ...grpc.CallOption) (*GetTagKeysResponse, error) + // Get custom roles + // temporal:dev + GetCustomRoles(ctx context.Context, in *GetCustomRolesRequest, opts ...grpc.CallOption) (*GetCustomRolesResponse, error) + // Get a custom role + // temporal:dev + GetCustomRole(ctx context.Context, in *GetCustomRoleRequest, opts ...grpc.CallOption) (*GetCustomRoleResponse, error) + // Create a custom role + // temporal:dev + CreateCustomRole(ctx context.Context, in *CreateCustomRoleRequest, opts ...grpc.CallOption) (*CreateCustomRoleResponse, error) + // Update a custom role + // temporal:dev + UpdateCustomRole(ctx context.Context, in *UpdateCustomRoleRequest, opts ...grpc.CallOption) (*UpdateCustomRoleResponse, error) + // Delete a custom role + // temporal:dev + DeleteCustomRole(ctx context.Context, in *DeleteCustomRoleRequest, opts ...grpc.CallOption) (*DeleteCustomRoleResponse, error) + // Create a billing report + // temporal:dev + CreateBillingReport(ctx context.Context, in *CreateBillingReportRequest, opts ...grpc.CallOption) (*CreateBillingReportResponse, error) + // Get a billing report + // temporal:dev + GetBillingReport(ctx context.Context, in *GetBillingReportRequest, opts ...grpc.CallOption) (*GetBillingReportResponse, error) + // GetNamespaceCapacityInfo returns capacity information for a namespace. + // This includes provisioned capacity options, on-demand limits, and 7 day historical APS statistics useful for capacity planning. + // temporal:dev + GetNamespaceCapacityInfo(ctx context.Context, in *GetNamespaceCapacityInfoRequest, opts ...grpc.CallOption) (*GetNamespaceCapacityInfoResponse, error) } type cloudServiceClient struct { @@ -394,6 +466,15 @@ func NewCloudServiceClient(cc grpc.ClientConnInterface) CloudServiceClient { return &cloudServiceClient{cc} } +func (c *cloudServiceClient) GetCurrentIdentity(ctx context.Context, in *GetCurrentIdentityRequest, opts ...grpc.CallOption) (*GetCurrentIdentityResponse, error) { + out := new(GetCurrentIdentityResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetCurrentIdentity", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *cloudServiceClient) GetUsers(ctx context.Context, in *GetUsersRequest, opts ...grpc.CallOption) (*GetUsersResponse, error) { out := new(GetUsersResponse) err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetUsers", in, out, opts...) @@ -520,6 +601,7 @@ func (c *cloudServiceClient) DeleteNamespace(ctx context.Context, in *DeleteName return out, nil } +// Deprecated: Do not use. func (c *cloudServiceClient) FailoverNamespaceRegion(ctx context.Context, in *FailoverNamespaceRegionRequest, opts ...grpc.CallOption) (*FailoverNamespaceRegionResponse, error) { out := new(FailoverNamespaceRegionResponse) err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/FailoverNamespaceRegion", in, out, opts...) @@ -529,6 +611,7 @@ func (c *cloudServiceClient) FailoverNamespaceRegion(ctx context.Context, in *Fa return out, nil } +// Deprecated: Do not use. func (c *cloudServiceClient) AddNamespaceRegion(ctx context.Context, in *AddNamespaceRegionRequest, opts ...grpc.CallOption) (*AddNamespaceRegionResponse, error) { out := new(AddNamespaceRegionResponse) err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/AddNamespaceRegion", in, out, opts...) @@ -538,6 +621,7 @@ func (c *cloudServiceClient) AddNamespaceRegion(ctx context.Context, in *AddName return out, nil } +// Deprecated: Do not use. func (c *cloudServiceClient) DeleteNamespaceRegion(ctx context.Context, in *DeleteNamespaceRegionRequest, opts ...grpc.CallOption) (*DeleteNamespaceRegionResponse, error) { out := new(DeleteNamespaceRegionResponse) err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteNamespaceRegion", in, out, opts...) @@ -1069,6 +1153,33 @@ func (c *cloudServiceClient) DeleteProject(ctx context.Context, in *DeleteProjec return out, nil } +func (c *cloudServiceClient) SetUserProjectAccess(ctx context.Context, in *SetUserProjectAccessRequest, opts ...grpc.CallOption) (*SetUserProjectAccessResponse, error) { + out := new(SetUserProjectAccessResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/SetUserProjectAccess", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) SetUserGroupProjectAccess(ctx context.Context, in *SetUserGroupProjectAccessRequest, opts ...grpc.CallOption) (*SetUserGroupProjectAccessResponse, error) { + out := new(SetUserGroupProjectAccessResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/SetUserGroupProjectAccess", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) SetServiceAccountProjectAccess(ctx context.Context, in *SetServiceAccountProjectAccessRequest, opts ...grpc.CallOption) (*SetServiceAccountProjectAccessResponse, error) { + out := new(SetServiceAccountProjectAccessResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/SetServiceAccountProjectAccess", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *cloudServiceClient) ResendUserInvite(ctx context.Context, in *ResendUserInviteRequest, opts ...grpc.CallOption) (*ResendUserInviteResponse, error) { out := new(ResendUserInviteResponse) err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/ResendUserInvite", in, out, opts...) @@ -1096,8 +1207,82 @@ func (c *cloudServiceClient) GetTagKeys(ctx context.Context, in *GetTagKeysReque return out, nil } +func (c *cloudServiceClient) GetCustomRoles(ctx context.Context, in *GetCustomRolesRequest, opts ...grpc.CallOption) (*GetCustomRolesResponse, error) { + out := new(GetCustomRolesResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetCustomRoles", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetCustomRole(ctx context.Context, in *GetCustomRoleRequest, opts ...grpc.CallOption) (*GetCustomRoleResponse, error) { + out := new(GetCustomRoleResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetCustomRole", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) CreateCustomRole(ctx context.Context, in *CreateCustomRoleRequest, opts ...grpc.CallOption) (*CreateCustomRoleResponse, error) { + out := new(CreateCustomRoleResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/CreateCustomRole", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) UpdateCustomRole(ctx context.Context, in *UpdateCustomRoleRequest, opts ...grpc.CallOption) (*UpdateCustomRoleResponse, error) { + out := new(UpdateCustomRoleResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateCustomRole", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) DeleteCustomRole(ctx context.Context, in *DeleteCustomRoleRequest, opts ...grpc.CallOption) (*DeleteCustomRoleResponse, error) { + out := new(DeleteCustomRoleResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteCustomRole", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) CreateBillingReport(ctx context.Context, in *CreateBillingReportRequest, opts ...grpc.CallOption) (*CreateBillingReportResponse, error) { + out := new(CreateBillingReportResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/CreateBillingReport", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetBillingReport(ctx context.Context, in *GetBillingReportRequest, opts ...grpc.CallOption) (*GetBillingReportResponse, error) { + out := new(GetBillingReportResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetBillingReport", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetNamespaceCapacityInfo(ctx context.Context, in *GetNamespaceCapacityInfoRequest, opts ...grpc.CallOption) (*GetNamespaceCapacityInfoResponse, error) { + out := new(GetNamespaceCapacityInfoResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespaceCapacityInfo", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // CloudServiceServer is the server API for CloudService service. type CloudServiceServer interface { + // Get information about the current authenticated user or service account principal + GetCurrentIdentity(context.Context, *GetCurrentIdentityRequest) (*GetCurrentIdentityResponse, error) // Gets all known users GetUsers(context.Context, *GetUsersRequest) (*GetUsersResponse, error) // Get a user @@ -1128,10 +1313,13 @@ type CloudServiceServer interface { // Delete a namespace DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*DeleteNamespaceResponse, error) // Failover a multi-region namespace + // Deprecated: Use the UpdateNamespace() to set the `preferred_primary_replica_name` on the replica in the high availability spec instead. FailoverNamespaceRegion(context.Context, *FailoverNamespaceRegionRequest) (*FailoverNamespaceRegionResponse, error) // Add a new region to a namespace + // Deprecated: Use the UpdateNamespace() to add new replica in the namespace spec instead. AddNamespaceRegion(context.Context, *AddNamespaceRegionRequest) (*AddNamespaceRegionResponse, error) // Delete a region from a namespace + // Deprecated: Use the UpdateNamespace() to delete a replica in the namespace spec instead. DeleteNamespaceRegion(context.Context, *DeleteNamespaceRegionRequest) (*DeleteNamespaceRegionResponse, error) // Get all regions GetRegions(context.Context, *GetRegionsRequest) (*GetRegionsResponse, error) @@ -1187,25 +1375,19 @@ type CloudServiceServer interface { // Delete an API key DeleteApiKey(context.Context, *DeleteApiKeyRequest) (*DeleteApiKeyResponse, error) // Get audit logs - // temporal:dev GetAuditLogs(context.Context, *GetAuditLogsRequest) (*GetAuditLogsResponse, error) // Validate customer audit log sink is accessible from Temporal's workflow by delivering an empty file to the specified sink. // The operation verifies that the sink is correctly configured, accessible and ready to receive audit logs. ValidateAccountAuditLogSink(context.Context, *ValidateAccountAuditLogSinkRequest) (*ValidateAccountAuditLogSinkResponse, error) // Create an audit log sink - // temporal:dev CreateAccountAuditLogSink(context.Context, *CreateAccountAuditLogSinkRequest) (*CreateAccountAuditLogSinkResponse, error) // Get an audit log sink - // temporal:dev GetAccountAuditLogSink(context.Context, *GetAccountAuditLogSinkRequest) (*GetAccountAuditLogSinkResponse, error) // Get audit log sinks - // temporal:dev GetAccountAuditLogSinks(context.Context, *GetAccountAuditLogSinksRequest) (*GetAccountAuditLogSinksResponse, error) // Update an audit log sink - // temporal:dev UpdateAccountAuditLogSink(context.Context, *UpdateAccountAuditLogSinkRequest) (*UpdateAccountAuditLogSinkResponse, error) // Delete an audit log sink - // temporal:dev DeleteAccountAuditLogSink(context.Context, *DeleteAccountAuditLogSinkRequest) (*DeleteAccountAuditLogSinkResponse, error) // Get usage GetUsage(context.Context, *GetUsageRequest) (*GetUsageResponse, error) @@ -1267,6 +1449,15 @@ type CloudServiceServer interface { // Delete a projects // temporal:dev DeleteProject(context.Context, *DeleteProjectRequest) (*DeleteProjectResponse, error) + // Set a user's access to a project + // temporal:dev + SetUserProjectAccess(context.Context, *SetUserProjectAccessRequest) (*SetUserProjectAccessResponse, error) + // Set a user group's access to a project + // temporal:dev + SetUserGroupProjectAccess(context.Context, *SetUserGroupProjectAccessRequest) (*SetUserGroupProjectAccessResponse, error) + // Set a service account's access to a project. + // temporal:dev + SetServiceAccountProjectAccess(context.Context, *SetServiceAccountProjectAccessRequest) (*SetServiceAccountProjectAccessResponse, error) // Resend a user invite // temporal:ui ResendUserInvite(context.Context, *ResendUserInviteRequest) (*ResendUserInviteResponse, error) @@ -1275,12 +1466,40 @@ type CloudServiceServer interface { // Get tag keys // temporal:ui GetTagKeys(context.Context, *GetTagKeysRequest) (*GetTagKeysResponse, error) + // Get custom roles + // temporal:dev + GetCustomRoles(context.Context, *GetCustomRolesRequest) (*GetCustomRolesResponse, error) + // Get a custom role + // temporal:dev + GetCustomRole(context.Context, *GetCustomRoleRequest) (*GetCustomRoleResponse, error) + // Create a custom role + // temporal:dev + CreateCustomRole(context.Context, *CreateCustomRoleRequest) (*CreateCustomRoleResponse, error) + // Update a custom role + // temporal:dev + UpdateCustomRole(context.Context, *UpdateCustomRoleRequest) (*UpdateCustomRoleResponse, error) + // Delete a custom role + // temporal:dev + DeleteCustomRole(context.Context, *DeleteCustomRoleRequest) (*DeleteCustomRoleResponse, error) + // Create a billing report + // temporal:dev + CreateBillingReport(context.Context, *CreateBillingReportRequest) (*CreateBillingReportResponse, error) + // Get a billing report + // temporal:dev + GetBillingReport(context.Context, *GetBillingReportRequest) (*GetBillingReportResponse, error) + // GetNamespaceCapacityInfo returns capacity information for a namespace. + // This includes provisioned capacity options, on-demand limits, and 7 day historical APS statistics useful for capacity planning. + // temporal:dev + GetNamespaceCapacityInfo(context.Context, *GetNamespaceCapacityInfoRequest) (*GetNamespaceCapacityInfoResponse, error) } // UnimplementedCloudServiceServer can be embedded to have forward compatible implementations. type UnimplementedCloudServiceServer struct { } +func (*UnimplementedCloudServiceServer) GetCurrentIdentity(ctx context.Context, req *GetCurrentIdentityRequest) (*GetCurrentIdentityResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetCurrentIdentity not implemented") +} func (*UnimplementedCloudServiceServer) GetUsers(ctx context.Context, req *GetUsersRequest) (*GetUsersResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetUsers not implemented") } @@ -1506,6 +1725,15 @@ func (*UnimplementedCloudServiceServer) UpdateProject(ctx context.Context, req * func (*UnimplementedCloudServiceServer) DeleteProject(ctx context.Context, req *DeleteProjectRequest) (*DeleteProjectResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteProject not implemented") } +func (*UnimplementedCloudServiceServer) SetUserProjectAccess(ctx context.Context, req *SetUserProjectAccessRequest) (*SetUserProjectAccessResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetUserProjectAccess not implemented") +} +func (*UnimplementedCloudServiceServer) SetUserGroupProjectAccess(ctx context.Context, req *SetUserGroupProjectAccessRequest) (*SetUserGroupProjectAccessResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetUserGroupProjectAccess not implemented") +} +func (*UnimplementedCloudServiceServer) SetServiceAccountProjectAccess(ctx context.Context, req *SetServiceAccountProjectAccessRequest) (*SetServiceAccountProjectAccessResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetServiceAccountProjectAccess not implemented") +} func (*UnimplementedCloudServiceServer) ResendUserInvite(ctx context.Context, req *ResendUserInviteRequest) (*ResendUserInviteResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ResendUserInvite not implemented") } @@ -1515,11 +1743,53 @@ func (*UnimplementedCloudServiceServer) UpdateNamespaceTags(ctx context.Context, func (*UnimplementedCloudServiceServer) GetTagKeys(ctx context.Context, req *GetTagKeysRequest) (*GetTagKeysResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetTagKeys not implemented") } +func (*UnimplementedCloudServiceServer) GetCustomRoles(ctx context.Context, req *GetCustomRolesRequest) (*GetCustomRolesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetCustomRoles not implemented") +} +func (*UnimplementedCloudServiceServer) GetCustomRole(ctx context.Context, req *GetCustomRoleRequest) (*GetCustomRoleResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetCustomRole not implemented") +} +func (*UnimplementedCloudServiceServer) CreateCustomRole(ctx context.Context, req *CreateCustomRoleRequest) (*CreateCustomRoleResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateCustomRole not implemented") +} +func (*UnimplementedCloudServiceServer) UpdateCustomRole(ctx context.Context, req *UpdateCustomRoleRequest) (*UpdateCustomRoleResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateCustomRole not implemented") +} +func (*UnimplementedCloudServiceServer) DeleteCustomRole(ctx context.Context, req *DeleteCustomRoleRequest) (*DeleteCustomRoleResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteCustomRole not implemented") +} +func (*UnimplementedCloudServiceServer) CreateBillingReport(ctx context.Context, req *CreateBillingReportRequest) (*CreateBillingReportResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateBillingReport not implemented") +} +func (*UnimplementedCloudServiceServer) GetBillingReport(ctx context.Context, req *GetBillingReportRequest) (*GetBillingReportResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBillingReport not implemented") +} +func (*UnimplementedCloudServiceServer) GetNamespaceCapacityInfo(ctx context.Context, req *GetNamespaceCapacityInfoRequest) (*GetNamespaceCapacityInfoResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNamespaceCapacityInfo not implemented") +} func RegisterCloudServiceServer(s *grpc.Server, srv CloudServiceServer) { s.RegisterService(&_CloudService_serviceDesc, srv) } +func _CloudService_GetCurrentIdentity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetCurrentIdentityRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetCurrentIdentity(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetCurrentIdentity", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetCurrentIdentity(ctx, req.(*GetCurrentIdentityRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _CloudService_GetUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetUsersRequest) if err := dec(in); err != nil { @@ -2870,6 +3140,60 @@ func _CloudService_DeleteProject_Handler(srv interface{}, ctx context.Context, d return interceptor(ctx, in, info, handler) } +func _CloudService_SetUserProjectAccess_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetUserProjectAccessRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).SetUserProjectAccess(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/SetUserProjectAccess", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).SetUserProjectAccess(ctx, req.(*SetUserProjectAccessRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_SetUserGroupProjectAccess_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetUserGroupProjectAccessRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).SetUserGroupProjectAccess(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/SetUserGroupProjectAccess", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).SetUserGroupProjectAccess(ctx, req.(*SetUserGroupProjectAccessRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_SetServiceAccountProjectAccess_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetServiceAccountProjectAccessRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).SetServiceAccountProjectAccess(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/SetServiceAccountProjectAccess", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).SetServiceAccountProjectAccess(ctx, req.(*SetServiceAccountProjectAccessRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _CloudService_ResendUserInvite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ResendUserInviteRequest) if err := dec(in); err != nil { @@ -2924,10 +3248,158 @@ func _CloudService_GetTagKeys_Handler(srv interface{}, ctx context.Context, dec return interceptor(ctx, in, info, handler) } +func _CloudService_GetCustomRoles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetCustomRolesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetCustomRoles(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetCustomRoles", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetCustomRoles(ctx, req.(*GetCustomRolesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetCustomRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetCustomRoleRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetCustomRole(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetCustomRole", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetCustomRole(ctx, req.(*GetCustomRoleRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_CreateCustomRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateCustomRoleRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).CreateCustomRole(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/CreateCustomRole", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).CreateCustomRole(ctx, req.(*CreateCustomRoleRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_UpdateCustomRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateCustomRoleRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).UpdateCustomRole(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateCustomRole", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).UpdateCustomRole(ctx, req.(*UpdateCustomRoleRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_DeleteCustomRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteCustomRoleRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).DeleteCustomRole(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteCustomRole", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).DeleteCustomRole(ctx, req.(*DeleteCustomRoleRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_CreateBillingReport_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateBillingReportRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).CreateBillingReport(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/CreateBillingReport", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).CreateBillingReport(ctx, req.(*CreateBillingReportRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetBillingReport_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetBillingReportRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetBillingReport(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetBillingReport", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetBillingReport(ctx, req.(*GetBillingReportRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetNamespaceCapacityInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetNamespaceCapacityInfoRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetNamespaceCapacityInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespaceCapacityInfo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetNamespaceCapacityInfo(ctx, req.(*GetNamespaceCapacityInfoRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _CloudService_serviceDesc = grpc.ServiceDesc{ ServiceName: "temporal.api.cloud.cloudservice.v1.CloudService", HandlerType: (*CloudServiceServer)(nil), Methods: []grpc.MethodDesc{ + { + MethodName: "GetCurrentIdentity", + Handler: _CloudService_GetCurrentIdentity_Handler, + }, { MethodName: "GetUsers", Handler: _CloudService_GetUsers_Handler, @@ -3228,6 +3700,18 @@ var _CloudService_serviceDesc = grpc.ServiceDesc{ MethodName: "DeleteProject", Handler: _CloudService_DeleteProject_Handler, }, + { + MethodName: "SetUserProjectAccess", + Handler: _CloudService_SetUserProjectAccess_Handler, + }, + { + MethodName: "SetUserGroupProjectAccess", + Handler: _CloudService_SetUserGroupProjectAccess_Handler, + }, + { + MethodName: "SetServiceAccountProjectAccess", + Handler: _CloudService_SetServiceAccountProjectAccess_Handler, + }, { MethodName: "ResendUserInvite", Handler: _CloudService_ResendUserInvite_Handler, @@ -3240,6 +3724,38 @@ var _CloudService_serviceDesc = grpc.ServiceDesc{ MethodName: "GetTagKeys", Handler: _CloudService_GetTagKeys_Handler, }, + { + MethodName: "GetCustomRoles", + Handler: _CloudService_GetCustomRoles_Handler, + }, + { + MethodName: "GetCustomRole", + Handler: _CloudService_GetCustomRole_Handler, + }, + { + MethodName: "CreateCustomRole", + Handler: _CloudService_CreateCustomRole_Handler, + }, + { + MethodName: "UpdateCustomRole", + Handler: _CloudService_UpdateCustomRole_Handler, + }, + { + MethodName: "DeleteCustomRole", + Handler: _CloudService_DeleteCustomRole_Handler, + }, + { + MethodName: "CreateBillingReport", + Handler: _CloudService_CreateBillingReport_Handler, + }, + { + MethodName: "GetBillingReport", + Handler: _CloudService_GetBillingReport_Handler, + }, + { + MethodName: "GetNamespaceCapacityInfo", + Handler: _CloudService_GetNamespaceCapacityInfo_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "temporal/api/cloud/cloudservice/v1/service.proto", diff --git a/protogen/api/cloud/connectivityrule/v1/message.pb.go b/protogen/api/cloud/connectivityrule/v1/message.pb.go index c1d267ea..33b4994e 100644 --- a/protogen/api/cloud/connectivityrule/v1/message.pb.go +++ b/protogen/api/cloud/connectivityrule/v1/message.pb.go @@ -27,16 +27,22 @@ var _ = math.Inf const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type ConnectivityRule struct { - // unique id for ConnectivityRule (should be a uuid generated from db) + // The unique ID of the connectivity rule. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // connectivity rule spec including user specified values - Spec *ConnectivityRuleSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` - ResourceVersion string `protobuf:"bytes,4,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` - State v1.ResourceState `protobuf:"varint,5,opt,name=state,proto3,enum=temporal.api.cloud.resource.v1.ResourceState" json:"state,omitempty"` - // the id of the async operation that is creating/updating/deleting the user, if any + // The connectivity rule specification. + Spec *ConnectivityRuleSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + // The current version of the connectivity rule specification. + // The next update operation will have to include this version. + ResourceVersion string `protobuf:"bytes,4,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` + // The current state of the connectivity rule. + State v1.ResourceState `protobuf:"varint,5,opt,name=state,proto3,enum=temporal.api.cloud.resource.v1.ResourceState" json:"state,omitempty"` + // The ID of the async operation that is creating/updating/deleting the connectivity rule, if any. AsyncOperationId string `protobuf:"bytes,6,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` - // the date and time when the user was created + // The date and time when the connectivity rule was created CreatedTime *types.Timestamp `protobuf:"bytes,7,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` + // The ID of the project this connectivity rule belongs to. + // temporal:dev + ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` } func (m *ConnectivityRule) Reset() { *m = ConnectivityRule{} } @@ -113,6 +119,13 @@ func (m *ConnectivityRule) GetCreatedTime() *types.Timestamp { return nil } +func (m *ConnectivityRule) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + // spec that passed in when create/update the connectivity rule type ConnectivityRuleSpec struct { // Types that are valid to be assigned to ConnectionType: @@ -310,44 +323,45 @@ func init() { } var fileDescriptor_7d8eb943a8c14c63 = []byte{ - // 585 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xbf, 0x6e, 0xd4, 0x30, - 0x1c, 0x8e, 0xd3, 0xb4, 0x14, 0xdf, 0xd1, 0x1e, 0x16, 0x2a, 0x51, 0x07, 0x53, 0x1d, 0x08, 0x5d, - 0xa5, 0xe2, 0xe8, 0x0a, 0x53, 0xa0, 0xa0, 0xb6, 0x0b, 0xad, 0x84, 0x38, 0xa5, 0x55, 0x07, 0x96, - 0x28, 0x75, 0x4c, 0x64, 0x94, 0x8b, 0xad, 0xc4, 0x39, 0xa9, 0x1b, 0x62, 0x62, 0xe4, 0x31, 0x10, - 0x4f, 0xc2, 0xd8, 0x8d, 0x8e, 0x34, 0xb7, 0x20, 0xa6, 0x8a, 0x27, 0x40, 0x71, 0x2e, 0xf4, 0x14, - 0x0e, 0x74, 0x5b, 0xfc, 0xf9, 0xfb, 0xe3, 0x7c, 0xfe, 0x25, 0xf0, 0x89, 0x62, 0x43, 0x29, 0xd2, - 0x20, 0x76, 0x02, 0xc9, 0x1d, 0x1a, 0x8b, 0x3c, 0x74, 0xa8, 0x48, 0x12, 0x46, 0x15, 0x1f, 0x71, - 0x75, 0x96, 0xe6, 0x31, 0x73, 0x46, 0x7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x17, 0x18, 0x7c, 0x2f, 0x30, 0xf8, 0x51, 0x60, 0xe3, 0xaa, 0xc0, 0xe0, 0xd3, 0x18, 0x1b, - 0xe7, 0x63, 0x6c, 0x5c, 0x8c, 0xb1, 0x01, 0x37, 0xb9, 0x98, 0xb3, 0xba, 0xbd, 0xf6, 0xab, 0xea, - 0xfb, 0x1b, 0x94, 0x33, 0x32, 0x00, 0x6f, 0x76, 0xa2, 0x29, 0x29, 0x17, 0xff, 0xff, 0x25, 0x3c, - 0x6d, 0x62, 0x5f, 0xcc, 0xde, 0xf1, 0x44, 0xcc, 0x05, 0xd9, 0x95, 0x9c, 0xec, 0xeb, 0xe4, 0x66, - 0x83, 0xe4, 0xa4, 0xff, 0xd3, 0xdc, 0xba, 0xa6, 0xba, 0xee, 0xae, 0xe4, 0xae, 0xab, 0xc9, 0xae, - 0xdb, 0x64, 0xbb, 0xee, 0x49, 0xff, 0x74, 0x49, 0x4f, 0xf1, 0xe3, 0xdf, 0x01, 0x00, 0x00, 0xff, - 0xff, 0xce, 0x49, 0x18, 0x43, 0xae, 0x04, 0x00, 0x00, + // 597 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0x3f, 0x6f, 0xd4, 0x30, + 0x1c, 0x8d, 0xd3, 0x6b, 0x69, 0x7d, 0x47, 0x7b, 0x58, 0xa8, 0x44, 0x95, 0x30, 0xd5, 0x81, 0xd0, + 0x55, 0x2a, 0x8e, 0xae, 0x30, 0x05, 0x0a, 0x6a, 0xbb, 0xd0, 0x4a, 0x88, 0x53, 0x5a, 0x75, 0x60, + 0x89, 0x52, 0xc7, 0x44, 0x46, 0xb9, 0xd8, 0x4a, 0x9c, 0x93, 0xba, 0x21, 0x26, 0x46, 0x3e, 0x06, + 0xe2, 0x93, 0x30, 0x76, 0xec, 0x48, 0xd3, 0x05, 0x31, 0x55, 0x0c, 0xcc, 0x28, 0x4e, 0x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0xa5, 0x37, 0x51, 0xbc, 0x59, 0xb2, 0x42, + 0x2a, 0x87, 0x75, 0xf7, 0x68, 0x15, 0x2e, 0x24, 0x2c, 0x2c, 0xa6, 0x6d, 0x4e, 0xef, 0x56, 0xab, + 0x83, 0xd6, 0x62, 0xab, 0x3b, 0xbf, 0xfb, 0xd1, 0x3c, 0xbb, 0xc0, 0xc6, 0xf9, 0x05, 0x36, 0xae, + 0x2e, 0x30, 0x78, 0x9f, 0x63, 0xf0, 0x39, 0xc7, 0xe0, 0x6b, 0x8e, 0xc1, 0x59, 0x8e, 0xc1, 0xb7, + 0x1c, 0x83, 0xef, 0x39, 0x36, 0xae, 0x72, 0x0c, 0x3e, 0x5d, 0x62, 0xe3, 0xec, 0x12, 0x1b, 0xe7, + 0x97, 0xd8, 0x80, 0x1b, 0x5c, 0xcc, 0x58, 0xdd, 0x6e, 0xe7, 0x55, 0xf9, 0x79, 0x0e, 0x8b, 0x11, + 0x1a, 0x82, 0x37, 0xdb, 0xe1, 0x84, 0x94, 0x8b, 0xff, 0xff, 0x31, 0x9e, 0x36, 0xb1, 0x2f, 0x66, + 0xff, 0xa8, 0x12, 0x73, 0x41, 0x76, 0x24, 0x27, 0x7b, 0x3a, 0xb9, 0xd9, 0x20, 0x39, 0x1e, 0xfc, + 0x30, 0x37, 0xaf, 0xa9, 0x8e, 0xb3, 0x23, 0xb9, 0xe3, 0x68, 0xb2, 0xe3, 0x34, 0xd9, 0x8e, 0x73, + 0x3c, 0x38, 0x59, 0xd0, 0x43, 0xfe, 0xf8, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x10, 0xc1, 0x44, + 0x9e, 0xcd, 0x04, 0x00, 0x00, } func (this *ConnectivityRule) Equal(that interface{}) bool { @@ -387,6 +401,9 @@ func (this *ConnectivityRule) Equal(that interface{}) bool { if !this.CreatedTime.Equal(that1.CreatedTime) { return false } + if this.ProjectId != that1.ProjectId { + return false + } return true } func (this *ConnectivityRuleSpec) Equal(that interface{}) bool { @@ -522,7 +539,7 @@ func (this *ConnectivityRule) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 10) + s := make([]string, 0, 11) s = append(s, "&connectivityrule.ConnectivityRule{") s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") if this.Spec != nil { @@ -534,6 +551,7 @@ func (this *ConnectivityRule) GoString() string { if this.CreatedTime != nil { s = append(s, "CreatedTime: "+fmt.Sprintf("%#v", this.CreatedTime)+",\n") } + s = append(s, "ProjectId: "+fmt.Sprintf("%#v", this.ProjectId)+",\n") s = append(s, "}") return strings.Join(s, "") } @@ -614,6 +632,13 @@ func (m *ConnectivityRule) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if len(m.ProjectId) > 0 { + i -= len(m.ProjectId) + copy(dAtA[i:], m.ProjectId) + i = encodeVarintMessage(dAtA, i, uint64(len(m.ProjectId))) + i-- + dAtA[i] = 0x42 + } if m.CreatedTime != nil { { size, err := m.CreatedTime.MarshalToSizedBuffer(dAtA[:i]) @@ -848,6 +873,10 @@ func (m *ConnectivityRule) Size() (n int) { l = m.CreatedTime.Size() n += 1 + l + sovMessage(uint64(l)) } + l = len(m.ProjectId) + if l > 0 { + n += 1 + l + sovMessage(uint64(l)) + } return n } @@ -934,6 +963,7 @@ func (this *ConnectivityRule) String() string { `State:` + fmt.Sprintf("%v", this.State) + `,`, `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, `CreatedTime:` + strings.Replace(fmt.Sprintf("%v", this.CreatedTime), "Timestamp", "types.Timestamp", 1) + `,`, + `ProjectId:` + fmt.Sprintf("%v", this.ProjectId) + `,`, `}`, }, "") return s @@ -1213,6 +1243,38 @@ func (m *ConnectivityRule) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ProjectId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipMessage(dAtA[iNdEx:]) diff --git a/protogen/api/cloud/identity/v1/message.pb.go b/protogen/api/cloud/identity/v1/message.pb.go index dc5229d8..96fb5935 100644 --- a/protogen/api/cloud/identity/v1/message.pb.go +++ b/protogen/api/cloud/identity/v1/message.pb.go @@ -88,6 +88,42 @@ func (AccountAccess_Role) EnumDescriptor() ([]byte, []int) { return fileDescriptor_0ccf9360c6d9abd3, []int{0, 0} } +type ProjectAccess_ProjectRole int32 + +const ( + PROJECT_ROLE_UNSPECIFIED ProjectAccess_ProjectRole = 0 + PROJECT_ROLE_ADMIN ProjectAccess_ProjectRole = 1 + PROJECT_ROLE_WRITE ProjectAccess_ProjectRole = 2 + PROJECT_ROLE_READ ProjectAccess_ProjectRole = 3 + PROJECT_ROLE_LIST ProjectAccess_ProjectRole = 4 + PROJECT_ROLE_CONTRIBUTE ProjectAccess_ProjectRole = 5 + PROJECT_ROLE_MEMBER ProjectAccess_ProjectRole = 6 +) + +var ProjectAccess_ProjectRole_name = map[int32]string{ + 0: "ProjectRoleUnspecified", + 1: "ProjectRoleAdmin", + 2: "ProjectRoleWrite", + 3: "ProjectRoleRead", + 4: "ProjectRoleList", + 5: "ProjectRoleContribute", + 6: "ProjectRoleMember", +} + +var ProjectAccess_ProjectRole_value = map[string]int32{ + "ProjectRoleUnspecified": 0, + "ProjectRoleAdmin": 1, + "ProjectRoleWrite": 2, + "ProjectRoleRead": 3, + "ProjectRoleList": 4, + "ProjectRoleContribute": 5, + "ProjectRoleMember": 6, +} + +func (ProjectAccess_ProjectRole) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_0ccf9360c6d9abd3, []int{1, 0} +} + type NamespaceAccess_Permission int32 const ( @@ -112,7 +148,35 @@ var NamespaceAccess_Permission_value = map[string]int32{ } func (NamespaceAccess_Permission) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{1, 0} + return fileDescriptor_0ccf9360c6d9abd3, []int{2, 0} +} + +// temporal:ui +type ApiKey_OwnerServiceAccountScope int32 + +const ( + OWNER_SERVICE_ACCOUNT_SCOPE_UNSPECIFIED ApiKey_OwnerServiceAccountScope = 0 + OWNER_SERVICE_ACCOUNT_SCOPE_ACCOUNT ApiKey_OwnerServiceAccountScope = 1 + OWNER_SERVICE_ACCOUNT_SCOPE_NAMESPACE ApiKey_OwnerServiceAccountScope = 2 + OWNER_SERVICE_ACCOUNT_SCOPE_PROJECT ApiKey_OwnerServiceAccountScope = 3 +) + +var ApiKey_OwnerServiceAccountScope_name = map[int32]string{ + 0: "OwnerServiceAccountScopeUnspecified", + 1: "OwnerServiceAccountScopeAccount", + 2: "OwnerServiceAccountScopeNamespace", + 3: "OwnerServiceAccountScopeProject", +} + +var ApiKey_OwnerServiceAccountScope_value = map[string]int32{ + "OwnerServiceAccountScopeUnspecified": 0, + "OwnerServiceAccountScopeAccount": 1, + "OwnerServiceAccountScopeNamespace": 2, + "OwnerServiceAccountScopeProject": 3, +} + +func (ApiKey_OwnerServiceAccountScope) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_0ccf9360c6d9abd3, []int{19, 0} } type AccountAccess struct { @@ -179,6 +243,50 @@ func (m *AccountAccess) GetRole() AccountAccess_Role { return ROLE_UNSPECIFIED } +// temporal:dev +type ProjectAccess struct { + Role ProjectAccess_ProjectRole `protobuf:"varint,1,opt,name=role,proto3,enum=temporal.api.cloud.identity.v1.ProjectAccess_ProjectRole" json:"role,omitempty"` +} + +func (m *ProjectAccess) Reset() { *m = ProjectAccess{} } +func (*ProjectAccess) ProtoMessage() {} +func (*ProjectAccess) Descriptor() ([]byte, []int) { + return fileDescriptor_0ccf9360c6d9abd3, []int{1} +} +func (m *ProjectAccess) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ProjectAccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ProjectAccess.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ProjectAccess) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProjectAccess.Merge(m, src) +} +func (m *ProjectAccess) XXX_Size() int { + return m.Size() +} +func (m *ProjectAccess) XXX_DiscardUnknown() { + xxx_messageInfo_ProjectAccess.DiscardUnknown(m) +} + +var xxx_messageInfo_ProjectAccess proto.InternalMessageInfo + +func (m *ProjectAccess) GetRole() ProjectAccess_ProjectRole { + if m != nil { + return m.Role + } + return PROJECT_ROLE_UNSPECIFIED +} + type NamespaceAccess struct { // The permission to the namespace, should be one of [admin, write, read] // admin - gives full access to the namespace, including assigning namespace access to other users @@ -196,7 +304,7 @@ type NamespaceAccess struct { func (m *NamespaceAccess) Reset() { *m = NamespaceAccess{} } func (*NamespaceAccess) ProtoMessage() {} func (*NamespaceAccess) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{1} + return fileDescriptor_0ccf9360c6d9abd3, []int{2} } func (m *NamespaceAccess) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -246,12 +354,17 @@ type Access struct { // The map of namespace accesses // The key is the namespace name and the value is the access to the namespace NamespaceAccesses map[string]*NamespaceAccess `protobuf:"bytes,2,rep,name=namespace_accesses,json=namespaceAccesses,proto3" json:"namespace_accesses,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // temporal:dev + ProjectAccesses map[string]*ProjectAccess `protobuf:"bytes,3,rep,name=project_accesses,json=projectAccesses,proto3" json:"project_accesses,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // List of custom roles IDs assigned to the user or service account + // temporal:dev + CustomRoles []string `protobuf:"bytes,4,rep,name=custom_roles,json=customRoles,proto3" json:"custom_roles,omitempty"` } func (m *Access) Reset() { *m = Access{} } func (*Access) ProtoMessage() {} func (*Access) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{2} + return fileDescriptor_0ccf9360c6d9abd3, []int{3} } func (m *Access) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -294,6 +407,20 @@ func (m *Access) GetNamespaceAccesses() map[string]*NamespaceAccess { return nil } +func (m *Access) GetProjectAccesses() map[string]*ProjectAccess { + if m != nil { + return m.ProjectAccesses + } + return nil +} + +func (m *Access) GetCustomRoles() []string { + if m != nil { + return m.CustomRoles + } + return nil +} + type NamespaceScopedAccess struct { // The namespace the service account is assigned to - immutable. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` @@ -304,7 +431,7 @@ type NamespaceScopedAccess struct { func (m *NamespaceScopedAccess) Reset() { *m = NamespaceScopedAccess{} } func (*NamespaceScopedAccess) ProtoMessage() {} func (*NamespaceScopedAccess) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{3} + return fileDescriptor_0ccf9360c6d9abd3, []int{4} } func (m *NamespaceScopedAccess) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -347,6 +474,70 @@ func (m *NamespaceScopedAccess) GetAccess() *NamespaceAccess { return nil } +// temporal:dev +type ProjectScopedAccess struct { + // The ID of the project the service account is assigned to - immutable. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + // The project access assigned to the service account - mutable. + Access *ProjectAccess `protobuf:"bytes,2,opt,name=access,proto3" json:"access,omitempty"` + // The map of namespace accesses - mutable. + // The key is the namespace name and the value is the access to the namespace. + NamespaceAccesses map[string]*NamespaceAccess `protobuf:"bytes,3,rep,name=namespace_accesses,json=namespaceAccesses,proto3" json:"namespace_accesses,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (m *ProjectScopedAccess) Reset() { *m = ProjectScopedAccess{} } +func (*ProjectScopedAccess) ProtoMessage() {} +func (*ProjectScopedAccess) Descriptor() ([]byte, []int) { + return fileDescriptor_0ccf9360c6d9abd3, []int{5} +} +func (m *ProjectScopedAccess) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ProjectScopedAccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ProjectScopedAccess.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ProjectScopedAccess) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProjectScopedAccess.Merge(m, src) +} +func (m *ProjectScopedAccess) XXX_Size() int { + return m.Size() +} +func (m *ProjectScopedAccess) XXX_DiscardUnknown() { + xxx_messageInfo_ProjectScopedAccess.DiscardUnknown(m) +} + +var xxx_messageInfo_ProjectScopedAccess proto.InternalMessageInfo + +func (m *ProjectScopedAccess) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + +func (m *ProjectScopedAccess) GetAccess() *ProjectAccess { + if m != nil { + return m.Access + } + return nil +} + +func (m *ProjectScopedAccess) GetNamespaceAccesses() map[string]*NamespaceAccess { + if m != nil { + return m.NamespaceAccesses + } + return nil +} + type UserSpec struct { // The email address associated to the user Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` @@ -357,7 +548,7 @@ type UserSpec struct { func (m *UserSpec) Reset() { *m = UserSpec{} } func (*UserSpec) ProtoMessage() {} func (*UserSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{4} + return fileDescriptor_0ccf9360c6d9abd3, []int{6} } func (m *UserSpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -410,7 +601,7 @@ type Invitation struct { func (m *Invitation) Reset() { *m = Invitation{} } func (*Invitation) ProtoMessage() {} func (*Invitation) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{5} + return fileDescriptor_0ccf9360c6d9abd3, []int{7} } func (m *Invitation) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -453,6 +644,82 @@ func (m *Invitation) GetExpiredTime() *types.Timestamp { return nil } +// temporal:ui +type APIKeyCount struct { + Active int32 `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"` + Disabled int32 `protobuf:"varint,2,opt,name=disabled,proto3" json:"disabled,omitempty"` + ExpiringSoon int32 `protobuf:"varint,3,opt,name=expiring_soon,json=expiringSoon,proto3" json:"expiring_soon,omitempty"` + Expired int32 `protobuf:"varint,4,opt,name=expired,proto3" json:"expired,omitempty"` + Total int32 `protobuf:"varint,5,opt,name=total,proto3" json:"total,omitempty"` +} + +func (m *APIKeyCount) Reset() { *m = APIKeyCount{} } +func (*APIKeyCount) ProtoMessage() {} +func (*APIKeyCount) Descriptor() ([]byte, []int) { + return fileDescriptor_0ccf9360c6d9abd3, []int{8} +} +func (m *APIKeyCount) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *APIKeyCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_APIKeyCount.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *APIKeyCount) XXX_Merge(src proto.Message) { + xxx_messageInfo_APIKeyCount.Merge(m, src) +} +func (m *APIKeyCount) XXX_Size() int { + return m.Size() +} +func (m *APIKeyCount) XXX_DiscardUnknown() { + xxx_messageInfo_APIKeyCount.DiscardUnknown(m) +} + +var xxx_messageInfo_APIKeyCount proto.InternalMessageInfo + +func (m *APIKeyCount) GetActive() int32 { + if m != nil { + return m.Active + } + return 0 +} + +func (m *APIKeyCount) GetDisabled() int32 { + if m != nil { + return m.Disabled + } + return 0 +} + +func (m *APIKeyCount) GetExpiringSoon() int32 { + if m != nil { + return m.ExpiringSoon + } + return 0 +} + +func (m *APIKeyCount) GetExpired() int32 { + if m != nil { + return m.Expired + } + return 0 +} + +func (m *APIKeyCount) GetTotal() int32 { + if m != nil { + return m.Total + } + return 0 +} + type User struct { // The id of the user Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` @@ -479,12 +746,16 @@ type User struct { // The date and time when the user was last modified // Will not be set if the user has never been modified LastModifiedTime *types.Timestamp `protobuf:"bytes,8,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` + // This field will only be populated when the request is coming + // from the UI/grpc-web + // temporal:ui + ApiKeyCount *APIKeyCount `protobuf:"bytes,100,opt,name=api_key_count,json=apiKeyCount,proto3" json:"api_key_count,omitempty"` } func (m *User) Reset() { *m = User{} } func (*User) ProtoMessage() {} func (*User) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{6} + return fileDescriptor_0ccf9360c6d9abd3, []int{9} } func (m *User) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -577,6 +848,13 @@ func (m *User) GetLastModifiedTime() *types.Timestamp { return nil } +func (m *User) GetApiKeyCount() *APIKeyCount { + if m != nil { + return m.ApiKeyCount + } + return nil +} + type GoogleGroupSpec struct { // The email address of the Google group. // The email address is immutable. Once set during creation, it cannot be changed. @@ -586,7 +864,7 @@ type GoogleGroupSpec struct { func (m *GoogleGroupSpec) Reset() { *m = GoogleGroupSpec{} } func (*GoogleGroupSpec) ProtoMessage() {} func (*GoogleGroupSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{7} + return fileDescriptor_0ccf9360c6d9abd3, []int{10} } func (m *GoogleGroupSpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -630,7 +908,7 @@ type SCIMGroupSpec struct { func (m *SCIMGroupSpec) Reset() { *m = SCIMGroupSpec{} } func (*SCIMGroupSpec) ProtoMessage() {} func (*SCIMGroupSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{8} + return fileDescriptor_0ccf9360c6d9abd3, []int{11} } func (m *SCIMGroupSpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -672,7 +950,7 @@ type CloudGroupSpec struct { func (m *CloudGroupSpec) Reset() { *m = CloudGroupSpec{} } func (*CloudGroupSpec) ProtoMessage() {} func (*CloudGroupSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{9} + return fileDescriptor_0ccf9360c6d9abd3, []int{12} } func (m *CloudGroupSpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -717,7 +995,7 @@ type UserGroupSpec struct { func (m *UserGroupSpec) Reset() { *m = UserGroupSpec{} } func (*UserGroupSpec) ProtoMessage() {} func (*UserGroupSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{10} + return fileDescriptor_0ccf9360c6d9abd3, []int{13} } func (m *UserGroupSpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -847,7 +1125,7 @@ type UserGroup struct { func (m *UserGroup) Reset() { *m = UserGroup{} } func (*UserGroup) ProtoMessage() {} func (*UserGroup) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{11} + return fileDescriptor_0ccf9360c6d9abd3, []int{14} } func (m *UserGroup) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -943,7 +1221,7 @@ type UserGroupMemberId struct { func (m *UserGroupMemberId) Reset() { *m = UserGroupMemberId{} } func (*UserGroupMemberId) ProtoMessage() {} func (*UserGroupMemberId) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{12} + return fileDescriptor_0ccf9360c6d9abd3, []int{15} } func (m *UserGroupMemberId) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1014,7 +1292,7 @@ type UserGroupMember struct { func (m *UserGroupMember) Reset() { *m = UserGroupMember{} } func (*UserGroupMember) ProtoMessage() {} func (*UserGroupMember) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{13} + return fileDescriptor_0ccf9360c6d9abd3, []int{16} } func (m *UserGroupMember) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1083,12 +1361,14 @@ type ServiceAccount struct { // The date and time when the service account was last modified // Will not be set if the service account has never been modified. LastModifiedTime *types.Timestamp `protobuf:"bytes,7,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` + // temporal:ui + ApiKeyCount *APIKeyCount `protobuf:"bytes,100,opt,name=api_key_count,json=apiKeyCount,proto3" json:"api_key_count,omitempty"` } func (m *ServiceAccount) Reset() { *m = ServiceAccount{} } func (*ServiceAccount) ProtoMessage() {} func (*ServiceAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{14} + return fileDescriptor_0ccf9360c6d9abd3, []int{17} } func (m *ServiceAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1174,6 +1454,13 @@ func (m *ServiceAccount) GetLastModifiedTime() *types.Timestamp { return nil } +func (m *ServiceAccount) GetApiKeyCount() *APIKeyCount { + if m != nil { + return m.ApiKeyCount + } + return nil +} + type ServiceAccountSpec struct { // The name associated with the service account. // The name is mutable, but must be unique across all your active service accounts. @@ -1191,12 +1478,14 @@ type ServiceAccountSpec struct { // The description associated with the service account - optional. // The description is mutable. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + // temporal:dev + ProjectScopedAccess *ProjectScopedAccess `protobuf:"bytes,5,opt,name=project_scoped_access,json=projectScopedAccess,proto3" json:"project_scoped_access,omitempty"` } func (m *ServiceAccountSpec) Reset() { *m = ServiceAccountSpec{} } func (*ServiceAccountSpec) ProtoMessage() {} func (*ServiceAccountSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{15} + return fileDescriptor_0ccf9360c6d9abd3, []int{18} } func (m *ServiceAccountSpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1253,6 +1542,13 @@ func (m *ServiceAccountSpec) GetDescription() string { return "" } +func (m *ServiceAccountSpec) GetProjectScopedAccess() *ProjectScopedAccess { + if m != nil { + return m.ProjectScopedAccess + } + return nil +} + type ApiKey struct { // The id of the API Key. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` @@ -1278,12 +1574,18 @@ type ApiKey struct { // The date and time when the API key was last modified. // Will not be set if the API key has never been modified. LastModifiedTime *types.Timestamp `protobuf:"bytes,7,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` + // temporal:ui + // owner display name, only filled for the ui. + OwnerDisplayName string `protobuf:"bytes,100,opt,name=owner_display_name,json=ownerDisplayName,proto3" json:"owner_display_name,omitempty"` + // temporal:ui + // indicates if the service account owner is scoped or not, if it is a service account. + OwnerServiceAccountScoped ApiKey_OwnerServiceAccountScope `protobuf:"varint,101,opt,name=owner_service_account_scoped,json=ownerServiceAccountScoped,proto3,enum=temporal.api.cloud.identity.v1.ApiKey_OwnerServiceAccountScope" json:"owner_service_account_scoped,omitempty"` } func (m *ApiKey) Reset() { *m = ApiKey{} } func (*ApiKey) ProtoMessage() {} func (*ApiKey) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{16} + return fileDescriptor_0ccf9360c6d9abd3, []int{19} } func (m *ApiKey) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1369,6 +1671,20 @@ func (m *ApiKey) GetLastModifiedTime() *types.Timestamp { return nil } +func (m *ApiKey) GetOwnerDisplayName() string { + if m != nil { + return m.OwnerDisplayName + } + return "" +} + +func (m *ApiKey) GetOwnerServiceAccountScoped() ApiKey_OwnerServiceAccountScope { + if m != nil { + return m.OwnerServiceAccountScoped + } + return OWNER_SERVICE_ACCOUNT_SCOPE_UNSPECIFIED +} + type ApiKeySpec struct { // The id of the owner to create the API key for. // The owner id is immutable. Once set during creation, it cannot be changed. @@ -1398,7 +1714,7 @@ type ApiKeySpec struct { func (m *ApiKeySpec) Reset() { *m = ApiKeySpec{} } func (*ApiKeySpec) ProtoMessage() {} func (*ApiKeySpec) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{17} + return fileDescriptor_0ccf9360c6d9abd3, []int{20} } func (m *ApiKeySpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1477,155 +1793,499 @@ func (m *ApiKeySpec) GetDisabled() bool { return false } -func init() { - proto.RegisterEnum("temporal.api.cloud.identity.v1.OwnerType", OwnerType_name, OwnerType_value) - proto.RegisterEnum("temporal.api.cloud.identity.v1.AccountAccess_Role", AccountAccess_Role_name, AccountAccess_Role_value) - proto.RegisterEnum("temporal.api.cloud.identity.v1.NamespaceAccess_Permission", NamespaceAccess_Permission_name, NamespaceAccess_Permission_value) - proto.RegisterType((*AccountAccess)(nil), "temporal.api.cloud.identity.v1.AccountAccess") - proto.RegisterType((*NamespaceAccess)(nil), "temporal.api.cloud.identity.v1.NamespaceAccess") - proto.RegisterType((*Access)(nil), "temporal.api.cloud.identity.v1.Access") - proto.RegisterMapType((map[string]*NamespaceAccess)(nil), "temporal.api.cloud.identity.v1.Access.NamespaceAccessesEntry") - proto.RegisterType((*NamespaceScopedAccess)(nil), "temporal.api.cloud.identity.v1.NamespaceScopedAccess") - proto.RegisterType((*UserSpec)(nil), "temporal.api.cloud.identity.v1.UserSpec") - proto.RegisterType((*Invitation)(nil), "temporal.api.cloud.identity.v1.Invitation") - proto.RegisterType((*User)(nil), "temporal.api.cloud.identity.v1.User") - proto.RegisterType((*GoogleGroupSpec)(nil), "temporal.api.cloud.identity.v1.GoogleGroupSpec") - proto.RegisterType((*SCIMGroupSpec)(nil), "temporal.api.cloud.identity.v1.SCIMGroupSpec") - proto.RegisterType((*CloudGroupSpec)(nil), "temporal.api.cloud.identity.v1.CloudGroupSpec") - proto.RegisterType((*UserGroupSpec)(nil), "temporal.api.cloud.identity.v1.UserGroupSpec") - proto.RegisterType((*UserGroup)(nil), "temporal.api.cloud.identity.v1.UserGroup") - proto.RegisterType((*UserGroupMemberId)(nil), "temporal.api.cloud.identity.v1.UserGroupMemberId") - proto.RegisterType((*UserGroupMember)(nil), "temporal.api.cloud.identity.v1.UserGroupMember") - proto.RegisterType((*ServiceAccount)(nil), "temporal.api.cloud.identity.v1.ServiceAccount") - proto.RegisterType((*ServiceAccountSpec)(nil), "temporal.api.cloud.identity.v1.ServiceAccountSpec") - proto.RegisterType((*ApiKey)(nil), "temporal.api.cloud.identity.v1.ApiKey") - proto.RegisterType((*ApiKeySpec)(nil), "temporal.api.cloud.identity.v1.ApiKeySpec") +// temporal:dev +type CustomRoleSpec struct { + // The name of the custom role. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The description of the custom role. + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + // The permissions assigned to the custom role. + Permissions []*CustomRoleSpec_Permission `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"` } -func init() { - proto.RegisterFile("temporal/api/cloud/identity/v1/message.proto", fileDescriptor_0ccf9360c6d9abd3) +func (m *CustomRoleSpec) Reset() { *m = CustomRoleSpec{} } +func (*CustomRoleSpec) ProtoMessage() {} +func (*CustomRoleSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_0ccf9360c6d9abd3, []int{21} } - -var fileDescriptor_0ccf9360c6d9abd3 = []byte{ - // 1449 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0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 0xc2, 0x48, 0x20, 0xc1, 0xd2, 0x43, 0x80, 0x11, - 0x1e, 0x72, 0x55, 0x9d, 0xc6, 0xd5, 0x84, 0x77, 0xb9, 0x19, 0x5b, 0xc0, 0x09, 0x6b, 0x12, 0x05, - 0x18, 0xed, 0xa0, 0x25, 0xb8, 0xd4, 0x54, 0xf0, 0x8e, 0xda, 0x6a, 0xa9, 0xbb, 0x8d, 0x09, 0x12, - 0x17, 0x40, 0x48, 0xec, 0x05, 0x74, 0x70, 0x13, 0xe8, 0x03, 0xac, 0xb6, 0x15, 0x81, 0x47, 0x17, - 0xa1, 0x94, 0x40, 0x19, 0x27, 0x69, 0xe9, 0x57, 0x1e, 0x72, 0x21, 0x15, 0x6d, 0x28, 0xea, 0x41, - 0x2c, 0x35, 0x9d, 0x21, 0x8c, 0x83, 0xc2, 0xfa, 0xea, 0xa9, 0x32, 0x00, 0xcf, 0xeb, 0x63, 0xa9, - 0xd7, 0x01, 0xd4, 0x8b, 0x6e, 0x1d, 0xda, 0x25, 0x6e, 0x99, 0x5f, 0x4e, 0xaf, 0x14, 0xd6, 0x6f, - 0x9f, 0xc0, 0xb2, 0x4f, 0xd3, 0x04, 0x6d, 0xc4, 0x55, 0x7a, 0x9e, 0x33, 0xc0, 0x17, 0x7a, 0x93, - 0xf8, 0x52, 0x1f, 0x2e, 0x1d, 0x2f, 0x8c, 0x04, 0x48, 0x7f, 0x4a, 0x06, 0x41, 0x58, 0xb1, 0xff, - 0x89, 0x14, 0xc8, 0x1e, 0xea, 0x9d, 0x7e, 0x90, 0xe8, 0x85, 0xf5, 0xca, 0x29, 0x83, 0x87, 0x03, - 0xed, 0x2a, 0xff, 0x2e, 0x27, 0x7d, 0x01, 0x8b, 0xf1, 0x6e, 0xcb, 0xb0, 0x6c, 0x62, 0x86, 0xb7, - 0xff, 0x3f, 0xe4, 0xe3, 0x43, 0x86, 0xbe, 0x47, 0x00, 0xba, 0x0b, 0xb9, 0x90, 0xe9, 0x33, 0x1e, - 0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db, 0xc4, 0x45, 0x28, 0x25, 0xf7, 0x5a, 0xec, 0x81, 0x42, - 0x84, 0xa5, 0x04, 0xd8, 0x52, 0xf0, 0x9e, 0x5a, 0x57, 0xb4, 0x5a, 0xbd, 0xbe, 0x7b, 0xbf, 0xd1, - 0x16, 0xf8, 0x8d, 0xa7, 0xdc, 0xe3, 0x67, 0x62, 0xea, 0xc9, 0x33, 0x31, 0xf5, 0xe2, 0x99, 0xc8, - 0x7d, 0x39, 0x14, 0xb9, 0x1f, 0x86, 0x22, 0xf7, 0xfb, 0x50, 0xe4, 0x1e, 0x0f, 0x45, 0xee, 0xe9, - 0x50, 0xe4, 0xfe, 0x18, 0x8a, 0xa9, 0x17, 0x43, 0x91, 0xfb, 0xe6, 0xb9, 0x98, 0x7a, 0xfc, 0x5c, - 0x4c, 0x3d, 0x79, 0x2e, 0xa6, 0xe0, 0x0a, 0xb5, 0xa6, 0x50, 0xbd, 0x31, 0xb7, 0x13, 0x3c, 0x00, - 0x35, 0xfd, 0xab, 0x37, 0xb9, 0x87, 0xab, 0x07, 0x09, 0x15, 0x6a, 0x1d, 0xff, 0x06, 0x75, 0x2b, - 0xfa, 0xfe, 0x91, 0x5f, 0x6e, 0x87, 0xc2, 0xd4, 0xf2, 0x2b, 0x31, 0x98, 0xc1, 0x64, 0x35, 0xf2, - 0xb0, 0xb7, 0xf6, 0x27, 0xff, 0xc6, 0x48, 0xa4, 0x5a, 0xad, 0xd9, 0xb4, 0x5a, 0x65, 0x42, 0xd5, - 0x6a, 0x24, 0x55, 0xad, 0xee, 0xad, 0xed, 0xe7, 0x18, 0xf9, 0x6f, 0xfd, 0x1d, 0x00, 0x00, 0xff, - 0xff, 0xae, 0x24, 0x1f, 0x24, 0xff, 0x12, 0x00, 0x00, +func (m *CustomRoleSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -func (x OwnerType) String() string { - s, ok := OwnerType_name[int32(x)] - if ok { - return s +func (m *CustomRoleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CustomRoleSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return strconv.Itoa(int(x)) } -func (x AccountAccess_Role) String() string { - s, ok := AccountAccess_Role_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) +func (m *CustomRoleSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_CustomRoleSpec.Merge(m, src) } -func (x NamespaceAccess_Permission) String() string { - s, ok := NamespaceAccess_Permission_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) +func (m *CustomRoleSpec) XXX_Size() int { + return m.Size() } -func (this *AccountAccess) Equal(that interface{}) bool { - if that == nil { - return this == nil - } +func (m *CustomRoleSpec) XXX_DiscardUnknown() { + xxx_messageInfo_CustomRoleSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_CustomRoleSpec proto.InternalMessageInfo + +func (m *CustomRoleSpec) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *CustomRoleSpec) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *CustomRoleSpec) GetPermissions() []*CustomRoleSpec_Permission { + if m != nil { + return m.Permissions + } + return nil +} + +// temporal:dev +type CustomRoleSpec_Resources struct { + // The resource type the permission applies to. + ResourceType string `protobuf:"bytes,1,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` + // The resource IDs the permission applies to. Can be empty if allow_all is true. + ResourceIds []string `protobuf:"bytes,2,rep,name=resource_ids,json=resourceIds,proto3" json:"resource_ids,omitempty"` + // Whether the permission applies to all resources of the given type. + AllowAll bool `protobuf:"varint,3,opt,name=allow_all,json=allowAll,proto3" json:"allow_all,omitempty"` +} + +func (m *CustomRoleSpec_Resources) Reset() { *m = CustomRoleSpec_Resources{} } +func (*CustomRoleSpec_Resources) ProtoMessage() {} +func (*CustomRoleSpec_Resources) Descriptor() ([]byte, []int) { + return fileDescriptor_0ccf9360c6d9abd3, []int{21, 0} +} +func (m *CustomRoleSpec_Resources) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CustomRoleSpec_Resources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CustomRoleSpec_Resources.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CustomRoleSpec_Resources) XXX_Merge(src proto.Message) { + xxx_messageInfo_CustomRoleSpec_Resources.Merge(m, src) +} +func (m *CustomRoleSpec_Resources) XXX_Size() int { + return m.Size() +} +func (m *CustomRoleSpec_Resources) XXX_DiscardUnknown() { + xxx_messageInfo_CustomRoleSpec_Resources.DiscardUnknown(m) +} + +var xxx_messageInfo_CustomRoleSpec_Resources proto.InternalMessageInfo + +func (m *CustomRoleSpec_Resources) GetResourceType() string { + if m != nil { + return m.ResourceType + } + return "" +} + +func (m *CustomRoleSpec_Resources) GetResourceIds() []string { + if m != nil { + return m.ResourceIds + } + return nil +} + +func (m *CustomRoleSpec_Resources) GetAllowAll() bool { + if m != nil { + return m.AllowAll + } + return false +} + +// temporal:dev +type CustomRoleSpec_Permission struct { + // The resources the permission applies to. + Resources *CustomRoleSpec_Resources `protobuf:"bytes,1,opt,name=resources,proto3" json:"resources,omitempty"` + // The actions allowed by the permission. + Actions []string `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"` +} + +func (m *CustomRoleSpec_Permission) Reset() { *m = CustomRoleSpec_Permission{} } +func (*CustomRoleSpec_Permission) ProtoMessage() {} +func (*CustomRoleSpec_Permission) Descriptor() ([]byte, []int) { + return fileDescriptor_0ccf9360c6d9abd3, []int{21, 1} +} +func (m *CustomRoleSpec_Permission) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CustomRoleSpec_Permission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CustomRoleSpec_Permission.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CustomRoleSpec_Permission) XXX_Merge(src proto.Message) { + xxx_messageInfo_CustomRoleSpec_Permission.Merge(m, src) +} +func (m *CustomRoleSpec_Permission) XXX_Size() int { + return m.Size() +} +func (m *CustomRoleSpec_Permission) XXX_DiscardUnknown() { + xxx_messageInfo_CustomRoleSpec_Permission.DiscardUnknown(m) +} + +var xxx_messageInfo_CustomRoleSpec_Permission proto.InternalMessageInfo + +func (m *CustomRoleSpec_Permission) GetResources() *CustomRoleSpec_Resources { + if m != nil { + return m.Resources + } + return nil +} + +func (m *CustomRoleSpec_Permission) GetActions() []string { + if m != nil { + return m.Actions + } + return nil +} + +// temporal:dev +type CustomRole struct { + // The id of the custom role. + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // The current version of the custom role specification. + // The next update operation will have to include this version. + ResourceVersion string `protobuf:"bytes,2,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` + // The custom role specification. + Spec *CustomRoleSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"` + // The current state of the custom role. + // For any failed state, reach out to Temporal Cloud support for remediation. + State v1.ResourceState `protobuf:"varint,4,opt,name=state,proto3,enum=temporal.api.cloud.resource.v1.ResourceState" json:"state,omitempty"` + // The id of the async operation that is creating/updating/deleting the custom role, if any. + AsyncOperationId string `protobuf:"bytes,5,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` + // The date and time when the custom role was created. + CreatedTime *types.Timestamp `protobuf:"bytes,6,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` + // The date and time when the custom role was last modified. + // Will not be set if the custom role has never been modified. + LastModifiedTime *types.Timestamp `protobuf:"bytes,7,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` +} + +func (m *CustomRole) Reset() { *m = CustomRole{} } +func (*CustomRole) ProtoMessage() {} +func (*CustomRole) Descriptor() ([]byte, []int) { + return fileDescriptor_0ccf9360c6d9abd3, []int{22} +} +func (m *CustomRole) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CustomRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CustomRole.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CustomRole) XXX_Merge(src proto.Message) { + xxx_messageInfo_CustomRole.Merge(m, src) +} +func (m *CustomRole) XXX_Size() int { + return m.Size() +} +func (m *CustomRole) XXX_DiscardUnknown() { + xxx_messageInfo_CustomRole.DiscardUnknown(m) +} + +var xxx_messageInfo_CustomRole proto.InternalMessageInfo + +func (m *CustomRole) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *CustomRole) GetResourceVersion() string { + if m != nil { + return m.ResourceVersion + } + return "" +} + +func (m *CustomRole) GetSpec() *CustomRoleSpec { + if m != nil { + return m.Spec + } + return nil +} + +func (m *CustomRole) GetState() v1.ResourceState { + if m != nil { + return m.State + } + return v1.RESOURCE_STATE_UNSPECIFIED +} + +func (m *CustomRole) GetAsyncOperationId() string { + if m != nil { + return m.AsyncOperationId + } + return "" +} + +func (m *CustomRole) GetCreatedTime() *types.Timestamp { + if m != nil { + return m.CreatedTime + } + return nil +} + +func (m *CustomRole) GetLastModifiedTime() *types.Timestamp { + if m != nil { + return m.LastModifiedTime + } + return nil +} + +func init() { + proto.RegisterEnum("temporal.api.cloud.identity.v1.OwnerType", OwnerType_name, OwnerType_value) + proto.RegisterEnum("temporal.api.cloud.identity.v1.AccountAccess_Role", AccountAccess_Role_name, AccountAccess_Role_value) + proto.RegisterEnum("temporal.api.cloud.identity.v1.ProjectAccess_ProjectRole", ProjectAccess_ProjectRole_name, ProjectAccess_ProjectRole_value) + proto.RegisterEnum("temporal.api.cloud.identity.v1.NamespaceAccess_Permission", NamespaceAccess_Permission_name, NamespaceAccess_Permission_value) + proto.RegisterEnum("temporal.api.cloud.identity.v1.ApiKey_OwnerServiceAccountScope", ApiKey_OwnerServiceAccountScope_name, ApiKey_OwnerServiceAccountScope_value) + proto.RegisterType((*AccountAccess)(nil), "temporal.api.cloud.identity.v1.AccountAccess") + proto.RegisterType((*ProjectAccess)(nil), "temporal.api.cloud.identity.v1.ProjectAccess") + proto.RegisterType((*NamespaceAccess)(nil), "temporal.api.cloud.identity.v1.NamespaceAccess") + proto.RegisterType((*Access)(nil), "temporal.api.cloud.identity.v1.Access") + proto.RegisterMapType((map[string]*NamespaceAccess)(nil), "temporal.api.cloud.identity.v1.Access.NamespaceAccessesEntry") + proto.RegisterMapType((map[string]*ProjectAccess)(nil), "temporal.api.cloud.identity.v1.Access.ProjectAccessesEntry") + proto.RegisterType((*NamespaceScopedAccess)(nil), "temporal.api.cloud.identity.v1.NamespaceScopedAccess") + proto.RegisterType((*ProjectScopedAccess)(nil), "temporal.api.cloud.identity.v1.ProjectScopedAccess") + proto.RegisterMapType((map[string]*NamespaceAccess)(nil), "temporal.api.cloud.identity.v1.ProjectScopedAccess.NamespaceAccessesEntry") + proto.RegisterType((*UserSpec)(nil), "temporal.api.cloud.identity.v1.UserSpec") + proto.RegisterType((*Invitation)(nil), "temporal.api.cloud.identity.v1.Invitation") + proto.RegisterType((*APIKeyCount)(nil), "temporal.api.cloud.identity.v1.APIKeyCount") + proto.RegisterType((*User)(nil), "temporal.api.cloud.identity.v1.User") + proto.RegisterType((*GoogleGroupSpec)(nil), "temporal.api.cloud.identity.v1.GoogleGroupSpec") + proto.RegisterType((*SCIMGroupSpec)(nil), "temporal.api.cloud.identity.v1.SCIMGroupSpec") + proto.RegisterType((*CloudGroupSpec)(nil), "temporal.api.cloud.identity.v1.CloudGroupSpec") + proto.RegisterType((*UserGroupSpec)(nil), "temporal.api.cloud.identity.v1.UserGroupSpec") + proto.RegisterType((*UserGroup)(nil), "temporal.api.cloud.identity.v1.UserGroup") + proto.RegisterType((*UserGroupMemberId)(nil), "temporal.api.cloud.identity.v1.UserGroupMemberId") + proto.RegisterType((*UserGroupMember)(nil), "temporal.api.cloud.identity.v1.UserGroupMember") + proto.RegisterType((*ServiceAccount)(nil), "temporal.api.cloud.identity.v1.ServiceAccount") + proto.RegisterType((*ServiceAccountSpec)(nil), "temporal.api.cloud.identity.v1.ServiceAccountSpec") + proto.RegisterType((*ApiKey)(nil), "temporal.api.cloud.identity.v1.ApiKey") + proto.RegisterType((*ApiKeySpec)(nil), "temporal.api.cloud.identity.v1.ApiKeySpec") + proto.RegisterType((*CustomRoleSpec)(nil), "temporal.api.cloud.identity.v1.CustomRoleSpec") + proto.RegisterType((*CustomRoleSpec_Resources)(nil), "temporal.api.cloud.identity.v1.CustomRoleSpec.Resources") + proto.RegisterType((*CustomRoleSpec_Permission)(nil), "temporal.api.cloud.identity.v1.CustomRoleSpec.Permission") + proto.RegisterType((*CustomRole)(nil), "temporal.api.cloud.identity.v1.CustomRole") +} + +func init() { + proto.RegisterFile("temporal/api/cloud/identity/v1/message.proto", fileDescriptor_0ccf9360c6d9abd3) +} + +var fileDescriptor_0ccf9360c6d9abd3 = []byte{ + // 2037 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0x4d, 0x6c, 0x1b, 0xc7, + 0x15, 0xe6, 0x2e, 0x7f, 0x24, 0x3e, 0x4a, 0xd4, 0x7a, 0x64, 0xc9, 0x34, 0xe3, 0xb2, 0xf2, 0xa6, + 0x4d, 0xec, 0xd8, 0xa6, 0x20, 0x05, 0x4d, 0x53, 0xba, 0x4e, 0x41, 0x51, 0x6b, 0x6b, 0x5d, 0xf3, + 0xa7, 0x43, 0x5a, 0x41, 0xd3, 0x02, 0xdb, 0x35, 0x77, 0x2c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2a, 0xe2, 0x3a, 0xac, 0xc5, 0xe7, 0xba, 0xf4, 0x7f, + 0x53, 0x05, 0xca, 0x31, 0x70, 0xa2, 0xae, 0x49, 0xe2, 0xde, 0xe7, 0xc2, 0x93, 0xa7, 0x95, 0xd4, + 0x67, 0x4f, 0x2b, 0xa9, 0x2f, 0x9e, 0x56, 0x84, 0x8f, 0x4e, 0x2b, 0xc2, 0x1f, 0x4e, 0x2b, 0xc2, + 0xdf, 0x4e, 0x2b, 0xc2, 0x93, 0xd3, 0x8a, 0xf0, 0xf9, 0x69, 0x45, 0xf8, 0xfb, 0x69, 0x25, 0xf5, + 0xc5, 0x69, 0x45, 0xf8, 0xcd, 0xb3, 0x4a, 0xea, 0xc9, 0xb3, 0x4a, 0xea, 0xb3, 0x67, 0x95, 0x14, + 0x5c, 0x35, 0xad, 0x39, 0x1b, 0xb9, 0xb7, 0xd2, 0x64, 0xff, 0xf3, 0x3a, 0xfe, 0x22, 0x3b, 0xc2, + 0x7b, 0xb7, 0x8e, 0x62, 0x2c, 0xa6, 0x35, 0xfb, 0x97, 0xe2, 0x6d, 0xfe, 0xfd, 0x47, 0x71, 0xab, + 0x17, 0x10, 0x9b, 0x96, 0x7f, 0xe2, 0xb0, 0x7b, 0x6d, 0x55, 0xe5, 0x1a, 0x0e, 0x77, 0xfe, 0x21, + 0x7e, 0x23, 0x22, 0xa9, 0xd5, 0xea, 0xb6, 0x59, 0xab, 0x51, 0xa2, 0x5a, 0x8d, 0x53, 0xd5, 0x6a, + 0x87, 0x3b, 0x8f, 0x72, 0xd4, 0xcd, 0x6f, 0xfe, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xc2, 0xa0, 0x89, + 0x59, 0xce, 0x1c, 0x00, 0x00, +} + +func (x OwnerType) String() string { + s, ok := OwnerType_name[int32(x)] + if ok { + return s + } + return strconv.Itoa(int(x)) +} +func (x AccountAccess_Role) String() string { + s, ok := AccountAccess_Role_name[int32(x)] + if ok { + return s + } + return strconv.Itoa(int(x)) +} +func (x ProjectAccess_ProjectRole) String() string { + s, ok := ProjectAccess_ProjectRole_name[int32(x)] + if ok { + return s + } + return strconv.Itoa(int(x)) +} +func (x NamespaceAccess_Permission) String() string { + s, ok := NamespaceAccess_Permission_name[int32(x)] + if ok { + return s + } + return strconv.Itoa(int(x)) +} +func (x ApiKey_OwnerServiceAccountScope) String() string { + s, ok := ApiKey_OwnerServiceAccountScope_name[int32(x)] + if ok { + return s + } + return strconv.Itoa(int(x)) +} +func (this *AccountAccess) Equal(that interface{}) bool { + if that == nil { + return this == nil + } that1, ok := that.(*AccountAccess) if !ok { @@ -1649,6 +2309,30 @@ func (this *AccountAccess) Equal(that interface{}) bool { } return true } +func (this *ProjectAccess) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*ProjectAccess) + if !ok { + that2, ok := that.(ProjectAccess) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.Role != that1.Role { + return false + } + return true +} func (this *NamespaceAccess) Equal(that interface{}) bool { if that == nil { return this == nil @@ -1706,6 +2390,22 @@ func (this *Access) Equal(that interface{}) bool { return false } } + if len(this.ProjectAccesses) != len(that1.ProjectAccesses) { + return false + } + for i := range this.ProjectAccesses { + if !this.ProjectAccesses[i].Equal(that1.ProjectAccesses[i]) { + return false + } + } + if len(this.CustomRoles) != len(that1.CustomRoles) { + return false + } + for i := range this.CustomRoles { + if this.CustomRoles[i] != that1.CustomRoles[i] { + return false + } + } return true } func (this *NamespaceScopedAccess) Equal(that interface{}) bool { @@ -1735,7 +2435,42 @@ func (this *NamespaceScopedAccess) Equal(that interface{}) bool { } return true } -func (this *UserSpec) Equal(that interface{}) bool { +func (this *ProjectScopedAccess) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*ProjectScopedAccess) + if !ok { + that2, ok := that.(ProjectScopedAccess) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.ProjectId != that1.ProjectId { + return false + } + if !this.Access.Equal(that1.Access) { + return false + } + if len(this.NamespaceAccesses) != len(that1.NamespaceAccesses) { + return false + } + for i := range this.NamespaceAccesses { + if !this.NamespaceAccesses[i].Equal(that1.NamespaceAccesses[i]) { + return false + } + } + return true +} +func (this *UserSpec) Equal(that interface{}) bool { if that == nil { return this == nil } @@ -1789,6 +2524,42 @@ func (this *Invitation) Equal(that interface{}) bool { } return true } +func (this *APIKeyCount) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*APIKeyCount) + if !ok { + that2, ok := that.(APIKeyCount) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.Active != that1.Active { + return false + } + if this.Disabled != that1.Disabled { + return false + } + if this.ExpiringSoon != that1.ExpiringSoon { + return false + } + if this.Expired != that1.Expired { + return false + } + if this.Total != that1.Total { + return false + } + return true +} func (this *User) Equal(that interface{}) bool { if that == nil { return this == nil @@ -1835,6 +2606,9 @@ func (this *User) Equal(that interface{}) bool { if !this.LastModifiedTime.Equal(that1.LastModifiedTime) { return false } + if !this.ApiKeyCount.Equal(that1.ApiKeyCount) { + return false + } return true } func (this *GoogleGroupSpec) Equal(that interface{}) bool { @@ -2183,6 +2957,9 @@ func (this *ServiceAccount) Equal(that interface{}) bool { if !this.LastModifiedTime.Equal(that1.LastModifiedTime) { return false } + if !this.ApiKeyCount.Equal(that1.ApiKeyCount) { + return false + } return true } func (this *ServiceAccountSpec) Equal(that interface{}) bool { @@ -2216,6 +2993,9 @@ func (this *ServiceAccountSpec) Equal(that interface{}) bool { if this.Description != that1.Description { return false } + if !this.ProjectScopedAccess.Equal(that1.ProjectScopedAccess) { + return false + } return true } func (this *ApiKey) Equal(that interface{}) bool { @@ -2261,6 +3041,12 @@ func (this *ApiKey) Equal(that interface{}) bool { if !this.LastModifiedTime.Equal(that1.LastModifiedTime) { return false } + if this.OwnerDisplayName != that1.OwnerDisplayName { + return false + } + if this.OwnerServiceAccountScoped != that1.OwnerServiceAccountScoped { + return false + } return true } func (this *ApiKeySpec) Equal(that interface{}) bool { @@ -2305,6 +3091,150 @@ func (this *ApiKeySpec) Equal(that interface{}) bool { } return true } +func (this *CustomRoleSpec) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*CustomRoleSpec) + if !ok { + that2, ok := that.(CustomRoleSpec) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.Name != that1.Name { + return false + } + if this.Description != that1.Description { + return false + } + if len(this.Permissions) != len(that1.Permissions) { + return false + } + for i := range this.Permissions { + if !this.Permissions[i].Equal(that1.Permissions[i]) { + return false + } + } + return true +} +func (this *CustomRoleSpec_Resources) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*CustomRoleSpec_Resources) + if !ok { + that2, ok := that.(CustomRoleSpec_Resources) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.ResourceType != that1.ResourceType { + return false + } + if len(this.ResourceIds) != len(that1.ResourceIds) { + return false + } + for i := range this.ResourceIds { + if this.ResourceIds[i] != that1.ResourceIds[i] { + return false + } + } + if this.AllowAll != that1.AllowAll { + return false + } + return true +} +func (this *CustomRoleSpec_Permission) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*CustomRoleSpec_Permission) + if !ok { + that2, ok := that.(CustomRoleSpec_Permission) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if !this.Resources.Equal(that1.Resources) { + return false + } + if len(this.Actions) != len(that1.Actions) { + return false + } + for i := range this.Actions { + if this.Actions[i] != that1.Actions[i] { + return false + } + } + return true +} +func (this *CustomRole) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*CustomRole) + if !ok { + that2, ok := that.(CustomRole) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.Id != that1.Id { + return false + } + if this.ResourceVersion != that1.ResourceVersion { + return false + } + if !this.Spec.Equal(that1.Spec) { + return false + } + if this.State != that1.State { + return false + } + if this.AsyncOperationId != that1.AsyncOperationId { + return false + } + if !this.CreatedTime.Equal(that1.CreatedTime) { + return false + } + if !this.LastModifiedTime.Equal(that1.LastModifiedTime) { + return false + } + return true +} func (this *AccountAccess) GoString() string { if this == nil { return "nil" @@ -2316,6 +3246,16 @@ func (this *AccountAccess) GoString() string { s = append(s, "}") return strings.Join(s, "") } +func (this *ProjectAccess) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&identity.ProjectAccess{") + s = append(s, "Role: "+fmt.Sprintf("%#v", this.Role)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} func (this *NamespaceAccess) GoString() string { if this == nil { return "nil" @@ -2331,7 +3271,7 @@ func (this *Access) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 6) + s := make([]string, 0, 8) s = append(s, "&identity.Access{") if this.AccountAccess != nil { s = append(s, "AccountAccess: "+fmt.Sprintf("%#v", this.AccountAccess)+",\n") @@ -2349,6 +3289,20 @@ func (this *Access) GoString() string { if this.NamespaceAccesses != nil { s = append(s, "NamespaceAccesses: "+mapStringForNamespaceAccesses+",\n") } + keysForProjectAccesses := make([]string, 0, len(this.ProjectAccesses)) + for k, _ := range this.ProjectAccesses { + keysForProjectAccesses = append(keysForProjectAccesses, k) + } + github_com_gogo_protobuf_sortkeys.Strings(keysForProjectAccesses) + mapStringForProjectAccesses := "map[string]*ProjectAccess{" + for _, k := range keysForProjectAccesses { + mapStringForProjectAccesses += fmt.Sprintf("%#v: %#v,", k, this.ProjectAccesses[k]) + } + mapStringForProjectAccesses += "}" + if this.ProjectAccesses != nil { + s = append(s, "ProjectAccesses: "+mapStringForProjectAccesses+",\n") + } + s = append(s, "CustomRoles: "+fmt.Sprintf("%#v", this.CustomRoles)+",\n") s = append(s, "}") return strings.Join(s, "") } @@ -2365,6 +3319,32 @@ func (this *NamespaceScopedAccess) GoString() string { s = append(s, "}") return strings.Join(s, "") } +func (this *ProjectScopedAccess) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 7) + s = append(s, "&identity.ProjectScopedAccess{") + s = append(s, "ProjectId: "+fmt.Sprintf("%#v", this.ProjectId)+",\n") + if this.Access != nil { + s = append(s, "Access: "+fmt.Sprintf("%#v", this.Access)+",\n") + } + keysForNamespaceAccesses := make([]string, 0, len(this.NamespaceAccesses)) + for k, _ := range this.NamespaceAccesses { + keysForNamespaceAccesses = append(keysForNamespaceAccesses, k) + } + github_com_gogo_protobuf_sortkeys.Strings(keysForNamespaceAccesses) + mapStringForNamespaceAccesses := "map[string]*NamespaceAccess{" + for _, k := range keysForNamespaceAccesses { + mapStringForNamespaceAccesses += fmt.Sprintf("%#v: %#v,", k, this.NamespaceAccesses[k]) + } + mapStringForNamespaceAccesses += "}" + if this.NamespaceAccesses != nil { + s = append(s, "NamespaceAccesses: "+mapStringForNamespaceAccesses+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} func (this *UserSpec) GoString() string { if this == nil { return "nil" @@ -2393,11 +3373,25 @@ func (this *Invitation) GoString() string { s = append(s, "}") return strings.Join(s, "") } +func (this *APIKeyCount) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 9) + s = append(s, "&identity.APIKeyCount{") + s = append(s, "Active: "+fmt.Sprintf("%#v", this.Active)+",\n") + s = append(s, "Disabled: "+fmt.Sprintf("%#v", this.Disabled)+",\n") + s = append(s, "ExpiringSoon: "+fmt.Sprintf("%#v", this.ExpiringSoon)+",\n") + s = append(s, "Expired: "+fmt.Sprintf("%#v", this.Expired)+",\n") + s = append(s, "Total: "+fmt.Sprintf("%#v", this.Total)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} func (this *User) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 13) + s := make([]string, 0, 14) s = append(s, "&identity.User{") s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") @@ -2416,6 +3410,9 @@ func (this *User) GoString() string { if this.LastModifiedTime != nil { s = append(s, "LastModifiedTime: "+fmt.Sprintf("%#v", this.LastModifiedTime)+",\n") } + if this.ApiKeyCount != nil { + s = append(s, "ApiKeyCount: "+fmt.Sprintf("%#v", this.ApiKeyCount)+",\n") + } s = append(s, "}") return strings.Join(s, "") } @@ -2550,7 +3547,7 @@ func (this *ServiceAccount) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 12) + s := make([]string, 0, 13) s = append(s, "&identity.ServiceAccount{") s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") @@ -2566,6 +3563,9 @@ func (this *ServiceAccount) GoString() string { if this.LastModifiedTime != nil { s = append(s, "LastModifiedTime: "+fmt.Sprintf("%#v", this.LastModifiedTime)+",\n") } + if this.ApiKeyCount != nil { + s = append(s, "ApiKeyCount: "+fmt.Sprintf("%#v", this.ApiKeyCount)+",\n") + } s = append(s, "}") return strings.Join(s, "") } @@ -2573,7 +3573,7 @@ func (this *ServiceAccountSpec) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 8) + s := make([]string, 0, 9) s = append(s, "&identity.ServiceAccountSpec{") s = append(s, "Name: "+fmt.Sprintf("%#v", this.Name)+",\n") if this.Access != nil { @@ -2583,6 +3583,9 @@ func (this *ServiceAccountSpec) GoString() string { s = append(s, "NamespaceScopedAccess: "+fmt.Sprintf("%#v", this.NamespaceScopedAccess)+",\n") } s = append(s, "Description: "+fmt.Sprintf("%#v", this.Description)+",\n") + if this.ProjectScopedAccess != nil { + s = append(s, "ProjectScopedAccess: "+fmt.Sprintf("%#v", this.ProjectScopedAccess)+",\n") + } s = append(s, "}") return strings.Join(s, "") } @@ -2590,7 +3593,7 @@ func (this *ApiKey) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 12) + s := make([]string, 0, 14) s = append(s, "&identity.ApiKey{") s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") @@ -2606,6 +3609,8 @@ func (this *ApiKey) GoString() string { if this.LastModifiedTime != nil { s = append(s, "LastModifiedTime: "+fmt.Sprintf("%#v", this.LastModifiedTime)+",\n") } + s = append(s, "OwnerDisplayName: "+fmt.Sprintf("%#v", this.OwnerDisplayName)+",\n") + s = append(s, "OwnerServiceAccountScoped: "+fmt.Sprintf("%#v", this.OwnerServiceAccountScoped)+",\n") s = append(s, "}") return strings.Join(s, "") } @@ -2627,16 +3632,77 @@ func (this *ApiKeySpec) GoString() string { s = append(s, "}") return strings.Join(s, "") } -func valueToGoStringMessage(v interface{}, typ string) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { +func (this *CustomRoleSpec) GoString() string { + if this == nil { return "nil" } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) + s := make([]string, 0, 7) + s = append(s, "&identity.CustomRoleSpec{") + s = append(s, "Name: "+fmt.Sprintf("%#v", this.Name)+",\n") + s = append(s, "Description: "+fmt.Sprintf("%#v", this.Description)+",\n") + if this.Permissions != nil { + s = append(s, "Permissions: "+fmt.Sprintf("%#v", this.Permissions)+",\n") + } + s = append(s, "}") + return strings.Join(s, "") } -func (m *AccountAccess) Marshal() (dAtA []byte, err error) { - size := m.Size() +func (this *CustomRoleSpec_Resources) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 7) + s = append(s, "&identity.CustomRoleSpec_Resources{") + s = append(s, "ResourceType: "+fmt.Sprintf("%#v", this.ResourceType)+",\n") + s = append(s, "ResourceIds: "+fmt.Sprintf("%#v", this.ResourceIds)+",\n") + s = append(s, "AllowAll: "+fmt.Sprintf("%#v", this.AllowAll)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *CustomRoleSpec_Permission) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 6) + s = append(s, "&identity.CustomRoleSpec_Permission{") + if this.Resources != nil { + s = append(s, "Resources: "+fmt.Sprintf("%#v", this.Resources)+",\n") + } + s = append(s, "Actions: "+fmt.Sprintf("%#v", this.Actions)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *CustomRole) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 11) + s = append(s, "&identity.CustomRole{") + s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") + s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") + if this.Spec != nil { + s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") + } + s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") + s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") + if this.CreatedTime != nil { + s = append(s, "CreatedTime: "+fmt.Sprintf("%#v", this.CreatedTime)+",\n") + } + if this.LastModifiedTime != nil { + s = append(s, "LastModifiedTime: "+fmt.Sprintf("%#v", this.LastModifiedTime)+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} +func valueToGoStringMessage(v interface{}, typ string) string { + rv := reflect.ValueOf(v) + if rv.IsNil() { + return "nil" + } + pv := reflect.Indirect(rv).Interface() + return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) +} +func (m *AccountAccess) Marshal() (dAtA []byte, err error) { + size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { @@ -2670,6 +3736,34 @@ func (m *AccountAccess) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *ProjectAccess) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ProjectAccess) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ProjectAccess) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Role != 0 { + i = encodeVarintMessage(dAtA, i, uint64(m.Role)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + func (m *NamespaceAccess) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -2725,6 +3819,41 @@ func (m *Access) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if len(m.CustomRoles) > 0 { + for iNdEx := len(m.CustomRoles) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.CustomRoles[iNdEx]) + copy(dAtA[i:], m.CustomRoles[iNdEx]) + i = encodeVarintMessage(dAtA, i, uint64(len(m.CustomRoles[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } + if len(m.ProjectAccesses) > 0 { + for k := range m.ProjectAccesses { + v := m.ProjectAccesses[k] + baseI := i + if v != nil { + { + size, err := v.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMessage(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintMessage(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintMessage(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x1a + } + } if len(m.NamespaceAccesses) > 0 { for k := range m.NamespaceAccesses { v := m.NamespaceAccesses[k] @@ -2808,6 +3937,74 @@ func (m *NamespaceScopedAccess) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *ProjectScopedAccess) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ProjectScopedAccess) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ProjectScopedAccess) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.NamespaceAccesses) > 0 { + for k := range m.NamespaceAccesses { + v := m.NamespaceAccesses[k] + baseI := i + if v != nil { + { + size, err := v.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMessage(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintMessage(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintMessage(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x1a + } + } + if m.Access != nil { + { + size, err := m.Access.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMessage(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.ProjectId) > 0 { + i -= len(m.ProjectId) + copy(dAtA[i:], m.ProjectId) + i = encodeVarintMessage(dAtA, i, uint64(len(m.ProjectId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *UserSpec) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -2897,6 +4094,54 @@ func (m *Invitation) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *APIKeyCount) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *APIKeyCount) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *APIKeyCount) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Total != 0 { + i = encodeVarintMessage(dAtA, i, uint64(m.Total)) + i-- + dAtA[i] = 0x28 + } + if m.Expired != 0 { + i = encodeVarintMessage(dAtA, i, uint64(m.Expired)) + i-- + dAtA[i] = 0x20 + } + if m.ExpiringSoon != 0 { + i = encodeVarintMessage(dAtA, i, uint64(m.ExpiringSoon)) + i-- + dAtA[i] = 0x18 + } + if m.Disabled != 0 { + i = encodeVarintMessage(dAtA, i, uint64(m.Disabled)) + i-- + dAtA[i] = 0x10 + } + if m.Active != 0 { + i = encodeVarintMessage(dAtA, i, uint64(m.Active)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + func (m *User) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -2917,6 +4162,20 @@ func (m *User) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.ApiKeyCount != nil { + { + size, err := m.ApiKeyCount.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMessage(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x6 + i-- + dAtA[i] = 0xa2 + } if m.State != 0 { i = encodeVarintMessage(dAtA, i, uint64(m.State)) i-- @@ -3403,6 +4662,20 @@ func (m *ServiceAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.ApiKeyCount != nil { + { + size, err := m.ApiKeyCount.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMessage(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x6 + i-- + dAtA[i] = 0xa2 + } if m.State != 0 { i = encodeVarintMessage(dAtA, i, uint64(m.State)) i-- @@ -3495,6 +4768,18 @@ func (m *ServiceAccountSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.ProjectScopedAccess != nil { + { + size, err := m.ProjectScopedAccess.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMessage(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } if m.NamespaceScopedAccess != nil { { size, err := m.NamespaceScopedAccess.MarshalToSizedBuffer(dAtA[:i]) @@ -3556,6 +4841,22 @@ func (m *ApiKey) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.OwnerServiceAccountScoped != 0 { + i = encodeVarintMessage(dAtA, i, uint64(m.OwnerServiceAccountScoped)) + i-- + dAtA[i] = 0x6 + i-- + dAtA[i] = 0xa8 + } + if len(m.OwnerDisplayName) > 0 { + i -= len(m.OwnerDisplayName) + copy(dAtA[i:], m.OwnerDisplayName) + i = encodeVarintMessage(dAtA, i, uint64(len(m.OwnerDisplayName))) + i-- + dAtA[i] = 0x6 + i-- + dAtA[i] = 0xa2 + } if m.State != 0 { i = encodeVarintMessage(dAtA, i, uint64(m.State)) i-- @@ -3706,29 +5007,270 @@ func (m *ApiKeySpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func encodeVarintMessage(dAtA []byte, offset int, v uint64) int { - offset -= sovMessage(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ +func (m *CustomRoleSpec) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - dAtA[offset] = uint8(v) - return base + return dAtA[:n], nil } -func (m *AccountAccess) Size() (n int) { - if m == nil { - return 0 - } + +func (m *CustomRoleSpec) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CustomRoleSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.RoleDeprecated) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Role != 0 { - n += 1 + sovMessage(uint64(m.Role)) + if len(m.Permissions) > 0 { + for iNdEx := len(m.Permissions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Permissions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMessage(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + } + if len(m.Description) > 0 { + i -= len(m.Description) + copy(dAtA[i:], m.Description) + i = encodeVarintMessage(dAtA, i, uint64(len(m.Description))) + i-- + dAtA[i] = 0x12 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintMessage(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CustomRoleSpec_Resources) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CustomRoleSpec_Resources) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CustomRoleSpec_Resources) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.AllowAll { + i-- + if m.AllowAll { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if len(m.ResourceIds) > 0 { + for iNdEx := len(m.ResourceIds) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ResourceIds[iNdEx]) + copy(dAtA[i:], m.ResourceIds[iNdEx]) + i = encodeVarintMessage(dAtA, i, uint64(len(m.ResourceIds[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.ResourceType) > 0 { + i -= len(m.ResourceType) + copy(dAtA[i:], m.ResourceType) + i = encodeVarintMessage(dAtA, i, uint64(len(m.ResourceType))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CustomRoleSpec_Permission) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CustomRoleSpec_Permission) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CustomRoleSpec_Permission) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Actions) > 0 { + for iNdEx := len(m.Actions) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Actions[iNdEx]) + copy(dAtA[i:], m.Actions[iNdEx]) + i = encodeVarintMessage(dAtA, i, uint64(len(m.Actions[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if m.Resources != nil { + { + size, err := m.Resources.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMessage(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CustomRole) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CustomRole) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CustomRole) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.LastModifiedTime != nil { + { + size, err := m.LastModifiedTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMessage(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + if m.CreatedTime != nil { + { + size, err := m.CreatedTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMessage(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + if len(m.AsyncOperationId) > 0 { + i -= len(m.AsyncOperationId) + copy(dAtA[i:], m.AsyncOperationId) + i = encodeVarintMessage(dAtA, i, uint64(len(m.AsyncOperationId))) + i-- + dAtA[i] = 0x2a + } + if m.State != 0 { + i = encodeVarintMessage(dAtA, i, uint64(m.State)) + i-- + dAtA[i] = 0x20 + } + if m.Spec != nil { + { + size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMessage(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if len(m.ResourceVersion) > 0 { + i -= len(m.ResourceVersion) + copy(dAtA[i:], m.ResourceVersion) + i = encodeVarintMessage(dAtA, i, uint64(len(m.ResourceVersion))) + i-- + dAtA[i] = 0x12 + } + if len(m.Id) > 0 { + i -= len(m.Id) + copy(dAtA[i:], m.Id) + i = encodeVarintMessage(dAtA, i, uint64(len(m.Id))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintMessage(dAtA []byte, offset int, v uint64) int { + offset -= sovMessage(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *AccountAccess) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.RoleDeprecated) + if l > 0 { + n += 1 + l + sovMessage(uint64(l)) + } + if m.Role != 0 { + n += 1 + sovMessage(uint64(m.Role)) + } + return n +} + +func (m *ProjectAccess) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Role != 0 { + n += 1 + sovMessage(uint64(m.Role)) } return n } @@ -3772,6 +5314,25 @@ func (m *Access) Size() (n int) { n += mapEntrySize + 1 + sovMessage(uint64(mapEntrySize)) } } + if len(m.ProjectAccesses) > 0 { + for k, v := range m.ProjectAccesses { + _ = k + _ = v + l = 0 + if v != nil { + l = v.Size() + l += 1 + sovMessage(uint64(l)) + } + mapEntrySize := 1 + len(k) + sovMessage(uint64(len(k))) + l + n += mapEntrySize + 1 + sovMessage(uint64(mapEntrySize)) + } + } + if len(m.CustomRoles) > 0 { + for _, s := range m.CustomRoles { + l = len(s) + n += 1 + l + sovMessage(uint64(l)) + } + } return n } @@ -3792,6 +5353,36 @@ func (m *NamespaceScopedAccess) Size() (n int) { return n } +func (m *ProjectScopedAccess) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ProjectId) + if l > 0 { + n += 1 + l + sovMessage(uint64(l)) + } + if m.Access != nil { + l = m.Access.Size() + n += 1 + l + sovMessage(uint64(l)) + } + if len(m.NamespaceAccesses) > 0 { + for k, v := range m.NamespaceAccesses { + _ = k + _ = v + l = 0 + if v != nil { + l = v.Size() + l += 1 + sovMessage(uint64(l)) + } + mapEntrySize := 1 + len(k) + sovMessage(uint64(len(k))) + l + n += mapEntrySize + 1 + sovMessage(uint64(mapEntrySize)) + } + } + return n +} + func (m *UserSpec) Size() (n int) { if m == nil { return 0 @@ -3826,6 +5417,30 @@ func (m *Invitation) Size() (n int) { return n } +func (m *APIKeyCount) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Active != 0 { + n += 1 + sovMessage(uint64(m.Active)) + } + if m.Disabled != 0 { + n += 1 + sovMessage(uint64(m.Disabled)) + } + if m.ExpiringSoon != 0 { + n += 1 + sovMessage(uint64(m.ExpiringSoon)) + } + if m.Expired != 0 { + n += 1 + sovMessage(uint64(m.Expired)) + } + if m.Total != 0 { + n += 1 + sovMessage(uint64(m.Total)) + } + return n +} + func (m *User) Size() (n int) { if m == nil { return 0 @@ -3867,6 +5482,10 @@ func (m *User) Size() (n int) { if m.State != 0 { n += 1 + sovMessage(uint64(m.State)) } + if m.ApiKeyCount != nil { + l = m.ApiKeyCount.Size() + n += 2 + l + sovMessage(uint64(l)) + } return n } @@ -4077,6 +5696,10 @@ func (m *ServiceAccount) Size() (n int) { if m.State != 0 { n += 1 + sovMessage(uint64(m.State)) } + if m.ApiKeyCount != nil { + l = m.ApiKeyCount.Size() + n += 2 + l + sovMessage(uint64(l)) + } return n } @@ -4102,6 +5725,10 @@ func (m *ServiceAccountSpec) Size() (n int) { l = m.NamespaceScopedAccess.Size() n += 1 + l + sovMessage(uint64(l)) } + if m.ProjectScopedAccess != nil { + l = m.ProjectScopedAccess.Size() + n += 1 + l + sovMessage(uint64(l)) + } return n } @@ -4142,6 +5769,13 @@ func (m *ApiKey) Size() (n int) { if m.State != 0 { n += 1 + sovMessage(uint64(m.State)) } + l = len(m.OwnerDisplayName) + if l > 0 { + n += 2 + l + sovMessage(uint64(l)) + } + if m.OwnerServiceAccountScoped != 0 { + n += 2 + sovMessage(uint64(m.OwnerServiceAccountScoped)) + } return n } @@ -4180,6 +5814,106 @@ func (m *ApiKeySpec) Size() (n int) { return n } +func (m *CustomRoleSpec) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sovMessage(uint64(l)) + } + l = len(m.Description) + if l > 0 { + n += 1 + l + sovMessage(uint64(l)) + } + if len(m.Permissions) > 0 { + for _, e := range m.Permissions { + l = e.Size() + n += 1 + l + sovMessage(uint64(l)) + } + } + return n +} + +func (m *CustomRoleSpec_Resources) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ResourceType) + if l > 0 { + n += 1 + l + sovMessage(uint64(l)) + } + if len(m.ResourceIds) > 0 { + for _, s := range m.ResourceIds { + l = len(s) + n += 1 + l + sovMessage(uint64(l)) + } + } + if m.AllowAll { + n += 2 + } + return n +} + +func (m *CustomRoleSpec_Permission) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Resources != nil { + l = m.Resources.Size() + n += 1 + l + sovMessage(uint64(l)) + } + if len(m.Actions) > 0 { + for _, s := range m.Actions { + l = len(s) + n += 1 + l + sovMessage(uint64(l)) + } + } + return n +} + +func (m *CustomRole) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Id) + if l > 0 { + n += 1 + l + sovMessage(uint64(l)) + } + l = len(m.ResourceVersion) + if l > 0 { + n += 1 + l + sovMessage(uint64(l)) + } + if m.Spec != nil { + l = m.Spec.Size() + n += 1 + l + sovMessage(uint64(l)) + } + if m.State != 0 { + n += 1 + sovMessage(uint64(m.State)) + } + l = len(m.AsyncOperationId) + if l > 0 { + n += 1 + l + sovMessage(uint64(l)) + } + if m.CreatedTime != nil { + l = m.CreatedTime.Size() + n += 1 + l + sovMessage(uint64(l)) + } + if m.LastModifiedTime != nil { + l = m.LastModifiedTime.Size() + n += 1 + l + sovMessage(uint64(l)) + } + return n +} + func sovMessage(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -4197,6 +5931,16 @@ func (this *AccountAccess) String() string { }, "") return s } +func (this *ProjectAccess) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&ProjectAccess{`, + `Role:` + fmt.Sprintf("%v", this.Role) + `,`, + `}`, + }, "") + return s +} func (this *NamespaceAccess) String() string { if this == nil { return "nil" @@ -4222,9 +5966,21 @@ func (this *Access) String() string { mapStringForNamespaceAccesses += fmt.Sprintf("%v: %v,", k, this.NamespaceAccesses[k]) } mapStringForNamespaceAccesses += "}" + keysForProjectAccesses := make([]string, 0, len(this.ProjectAccesses)) + for k, _ := range this.ProjectAccesses { + keysForProjectAccesses = append(keysForProjectAccesses, k) + } + github_com_gogo_protobuf_sortkeys.Strings(keysForProjectAccesses) + mapStringForProjectAccesses := "map[string]*ProjectAccess{" + for _, k := range keysForProjectAccesses { + mapStringForProjectAccesses += fmt.Sprintf("%v: %v,", k, this.ProjectAccesses[k]) + } + mapStringForProjectAccesses += "}" s := strings.Join([]string{`&Access{`, `AccountAccess:` + strings.Replace(this.AccountAccess.String(), "AccountAccess", "AccountAccess", 1) + `,`, `NamespaceAccesses:` + mapStringForNamespaceAccesses + `,`, + `ProjectAccesses:` + mapStringForProjectAccesses + `,`, + `CustomRoles:` + fmt.Sprintf("%v", this.CustomRoles) + `,`, `}`, }, "") return s @@ -4240,6 +5996,28 @@ func (this *NamespaceScopedAccess) String() string { }, "") return s } +func (this *ProjectScopedAccess) String() string { + if this == nil { + return "nil" + } + keysForNamespaceAccesses := make([]string, 0, len(this.NamespaceAccesses)) + for k, _ := range this.NamespaceAccesses { + keysForNamespaceAccesses = append(keysForNamespaceAccesses, k) + } + github_com_gogo_protobuf_sortkeys.Strings(keysForNamespaceAccesses) + mapStringForNamespaceAccesses := "map[string]*NamespaceAccess{" + for _, k := range keysForNamespaceAccesses { + mapStringForNamespaceAccesses += fmt.Sprintf("%v: %v,", k, this.NamespaceAccesses[k]) + } + mapStringForNamespaceAccesses += "}" + s := strings.Join([]string{`&ProjectScopedAccess{`, + `ProjectId:` + fmt.Sprintf("%v", this.ProjectId) + `,`, + `Access:` + strings.Replace(this.Access.String(), "ProjectAccess", "ProjectAccess", 1) + `,`, + `NamespaceAccesses:` + mapStringForNamespaceAccesses + `,`, + `}`, + }, "") + return s +} func (this *UserSpec) String() string { if this == nil { return "nil" @@ -4262,6 +6040,20 @@ func (this *Invitation) String() string { }, "") return s } +func (this *APIKeyCount) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&APIKeyCount{`, + `Active:` + fmt.Sprintf("%v", this.Active) + `,`, + `Disabled:` + fmt.Sprintf("%v", this.Disabled) + `,`, + `ExpiringSoon:` + fmt.Sprintf("%v", this.ExpiringSoon) + `,`, + `Expired:` + fmt.Sprintf("%v", this.Expired) + `,`, + `Total:` + fmt.Sprintf("%v", this.Total) + `,`, + `}`, + }, "") + return s +} func (this *User) String() string { if this == nil { return "nil" @@ -4276,6 +6068,7 @@ func (this *User) String() string { `CreatedTime:` + strings.Replace(fmt.Sprintf("%v", this.CreatedTime), "Timestamp", "types.Timestamp", 1) + `,`, `LastModifiedTime:` + strings.Replace(fmt.Sprintf("%v", this.LastModifiedTime), "Timestamp", "types.Timestamp", 1) + `,`, `State:` + fmt.Sprintf("%v", this.State) + `,`, + `ApiKeyCount:` + strings.Replace(this.ApiKeyCount.String(), "APIKeyCount", "APIKeyCount", 1) + `,`, `}`, }, "") return s @@ -4412,6 +6205,7 @@ func (this *ServiceAccount) String() string { `CreatedTime:` + strings.Replace(fmt.Sprintf("%v", this.CreatedTime), "Timestamp", "types.Timestamp", 1) + `,`, `LastModifiedTime:` + strings.Replace(fmt.Sprintf("%v", this.LastModifiedTime), "Timestamp", "types.Timestamp", 1) + `,`, `State:` + fmt.Sprintf("%v", this.State) + `,`, + `ApiKeyCount:` + strings.Replace(this.ApiKeyCount.String(), "APIKeyCount", "APIKeyCount", 1) + `,`, `}`, }, "") return s @@ -4425,6 +6219,7 @@ func (this *ServiceAccountSpec) String() string { `Access:` + strings.Replace(this.Access.String(), "Access", "Access", 1) + `,`, `Description:` + fmt.Sprintf("%v", this.Description) + `,`, `NamespaceScopedAccess:` + strings.Replace(this.NamespaceScopedAccess.String(), "NamespaceScopedAccess", "NamespaceScopedAccess", 1) + `,`, + `ProjectScopedAccess:` + strings.Replace(this.ProjectScopedAccess.String(), "ProjectScopedAccess", "ProjectScopedAccess", 1) + `,`, `}`, }, "") return s @@ -4442,6 +6237,8 @@ func (this *ApiKey) String() string { `CreatedTime:` + strings.Replace(fmt.Sprintf("%v", this.CreatedTime), "Timestamp", "types.Timestamp", 1) + `,`, `LastModifiedTime:` + strings.Replace(fmt.Sprintf("%v", this.LastModifiedTime), "Timestamp", "types.Timestamp", 1) + `,`, `State:` + fmt.Sprintf("%v", this.State) + `,`, + `OwnerDisplayName:` + fmt.Sprintf("%v", this.OwnerDisplayName) + `,`, + `OwnerServiceAccountScoped:` + fmt.Sprintf("%v", this.OwnerServiceAccountScoped) + `,`, `}`, }, "") return s @@ -4450,27 +6247,1359 @@ func (this *ApiKeySpec) String() string { if this == nil { return "nil" } - s := strings.Join([]string{`&ApiKeySpec{`, - `OwnerId:` + fmt.Sprintf("%v", this.OwnerId) + `,`, - `OwnerTypeDeprecated:` + fmt.Sprintf("%v", this.OwnerTypeDeprecated) + `,`, - `DisplayName:` + fmt.Sprintf("%v", this.DisplayName) + `,`, - `Description:` + fmt.Sprintf("%v", this.Description) + `,`, - `ExpiryTime:` + strings.Replace(fmt.Sprintf("%v", this.ExpiryTime), "Timestamp", "types.Timestamp", 1) + `,`, - `Disabled:` + fmt.Sprintf("%v", this.Disabled) + `,`, - `OwnerType:` + fmt.Sprintf("%v", this.OwnerType) + `,`, - `}`, - }, "") - return s -} -func valueToStringMessage(v interface{}) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" + s := strings.Join([]string{`&ApiKeySpec{`, + `OwnerId:` + fmt.Sprintf("%v", this.OwnerId) + `,`, + `OwnerTypeDeprecated:` + fmt.Sprintf("%v", this.OwnerTypeDeprecated) + `,`, + `DisplayName:` + fmt.Sprintf("%v", this.DisplayName) + `,`, + `Description:` + fmt.Sprintf("%v", this.Description) + `,`, + `ExpiryTime:` + strings.Replace(fmt.Sprintf("%v", this.ExpiryTime), "Timestamp", "types.Timestamp", 1) + `,`, + `Disabled:` + fmt.Sprintf("%v", this.Disabled) + `,`, + `OwnerType:` + fmt.Sprintf("%v", this.OwnerType) + `,`, + `}`, + }, "") + return s +} +func (this *CustomRoleSpec) String() string { + if this == nil { + return "nil" + } + repeatedStringForPermissions := "[]*CustomRoleSpec_Permission{" + for _, f := range this.Permissions { + repeatedStringForPermissions += strings.Replace(fmt.Sprintf("%v", f), "CustomRoleSpec_Permission", "CustomRoleSpec_Permission", 1) + "," + } + repeatedStringForPermissions += "}" + s := strings.Join([]string{`&CustomRoleSpec{`, + `Name:` + fmt.Sprintf("%v", this.Name) + `,`, + `Description:` + fmt.Sprintf("%v", this.Description) + `,`, + `Permissions:` + repeatedStringForPermissions + `,`, + `}`, + }, "") + return s +} +func (this *CustomRoleSpec_Resources) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&CustomRoleSpec_Resources{`, + `ResourceType:` + fmt.Sprintf("%v", this.ResourceType) + `,`, + `ResourceIds:` + fmt.Sprintf("%v", this.ResourceIds) + `,`, + `AllowAll:` + fmt.Sprintf("%v", this.AllowAll) + `,`, + `}`, + }, "") + return s +} +func (this *CustomRoleSpec_Permission) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&CustomRoleSpec_Permission{`, + `Resources:` + strings.Replace(fmt.Sprintf("%v", this.Resources), "CustomRoleSpec_Resources", "CustomRoleSpec_Resources", 1) + `,`, + `Actions:` + fmt.Sprintf("%v", this.Actions) + `,`, + `}`, + }, "") + return s +} +func (this *CustomRole) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&CustomRole{`, + `Id:` + fmt.Sprintf("%v", this.Id) + `,`, + `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, + `Spec:` + strings.Replace(this.Spec.String(), "CustomRoleSpec", "CustomRoleSpec", 1) + `,`, + `State:` + fmt.Sprintf("%v", this.State) + `,`, + `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, + `CreatedTime:` + strings.Replace(fmt.Sprintf("%v", this.CreatedTime), "Timestamp", "types.Timestamp", 1) + `,`, + `LastModifiedTime:` + strings.Replace(fmt.Sprintf("%v", this.LastModifiedTime), "Timestamp", "types.Timestamp", 1) + `,`, + `}`, + }, "") + return s +} +func valueToStringMessage(v interface{}) string { + rv := reflect.ValueOf(v) + if rv.IsNil() { + return "nil" + } + pv := reflect.Indirect(rv).Interface() + return fmt.Sprintf("*%v", pv) +} +func (m *AccountAccess) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: AccountAccess: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AccountAccess: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RoleDeprecated", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RoleDeprecated = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Role", wireType) + } + m.Role = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Role |= AccountAccess_Role(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ProjectAccess) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ProjectAccess: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ProjectAccess: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Role", wireType) + } + m.Role = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Role |= ProjectAccess_ProjectRole(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *NamespaceAccess) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: NamespaceAccess: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: NamespaceAccess: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PermissionDeprecated", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PermissionDeprecated = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Permission", wireType) + } + m.Permission = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Permission |= NamespaceAccess_Permission(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Access) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Access: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Access: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AccountAccess", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AccountAccess == nil { + m.AccountAccess = &AccountAccess{} + } + if err := m.AccountAccess.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NamespaceAccesses", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.NamespaceAccesses == nil { + m.NamespaceAccesses = make(map[string]*NamespaceAccess) + } + var mapkey string + var mapvalue *NamespaceAccess + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthMessage + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthMessage + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLengthMessage + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLengthMessage + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &NamespaceAccess{} + if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.NamespaceAccesses[mapkey] = mapvalue + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ProjectAccesses", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ProjectAccesses == nil { + m.ProjectAccesses = make(map[string]*ProjectAccess) + } + var mapkey string + var mapvalue *ProjectAccess + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthMessage + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthMessage + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLengthMessage + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLengthMessage + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &ProjectAccess{} + if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.ProjectAccesses[mapkey] = mapvalue + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CustomRoles", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CustomRoles = append(m.CustomRoles, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *NamespaceScopedAccess) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: NamespaceScopedAccess: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: NamespaceScopedAccess: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Namespace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Access", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Access == nil { + m.Access = &NamespaceAccess{} + } + if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ProjectScopedAccess) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ProjectScopedAccess: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ProjectScopedAccess: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ProjectId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Access", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Access == nil { + m.Access = &ProjectAccess{} + } + if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NamespaceAccesses", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.NamespaceAccesses == nil { + m.NamespaceAccesses = make(map[string]*NamespaceAccess) + } + var mapkey string + var mapvalue *NamespaceAccess + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthMessage + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthMessage + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLengthMessage + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLengthMessage + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &NamespaceAccess{} + if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.NamespaceAccesses[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UserSpec) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UserSpec: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UserSpec: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Email", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Email = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Access", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Access == nil { + m.Access = &Access{} + } + if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Invitation) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Invitation: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Invitation: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CreatedTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.CreatedTime == nil { + m.CreatedTime = &types.Timestamp{} + } + if err := m.CreatedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExpiredTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ExpiredTime == nil { + m.ExpiredTime = &types.Timestamp{} + } + if err := m.ExpiredTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("*%v", pv) + return nil } -func (m *AccountAccess) Unmarshal(dAtA []byte) error { +func (m *APIKeyCount) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -4493,17 +7622,17 @@ func (m *AccountAccess) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: AccountAccess: wiretype end group for non-group") + return fmt.Errorf("proto: APIKeyCount: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: AccountAccess: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: APIKeyCount: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RoleDeprecated", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Active", wireType) } - var stringLen uint64 + m.Active = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMessage @@ -4513,29 +7642,54 @@ func (m *AccountAccess) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.Active |= int32(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Disabled", wireType) } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage + m.Disabled = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Disabled |= int32(b&0x7F) << shift + if b < 0x80 { + break + } } - if postIndex > l { - return io.ErrUnexpectedEOF + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ExpiringSoon", wireType) } - m.RoleDeprecated = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: + m.ExpiringSoon = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ExpiringSoon |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Role", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Expired", wireType) } - m.Role = 0 + m.Expired = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMessage @@ -4545,7 +7699,26 @@ func (m *AccountAccess) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Role |= AccountAccess_Role(b&0x7F) << shift + m.Expired |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Total", wireType) + } + m.Total = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Total |= int32(b&0x7F) << shift if b < 0x80 { break } @@ -4574,7 +7747,7 @@ func (m *AccountAccess) Unmarshal(dAtA []byte) error { } return nil } -func (m *NamespaceAccess) Unmarshal(dAtA []byte) error { +func (m *User) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -4597,15 +7770,15 @@ func (m *NamespaceAccess) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: NamespaceAccess: wiretype end group for non-group") + return fmt.Errorf("proto: User: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: NamespaceAccess: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: User: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PermissionDeprecated", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4633,13 +7806,13 @@ func (m *NamespaceAccess) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PermissionDeprecated = string(dAtA[iNdEx:postIndex]) + m.Id = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Permission", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } - m.Permission = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMessage @@ -4649,67 +7822,127 @@ func (m *NamespaceAccess) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Permission |= NamespaceAccess_Permission(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMessage } - if skippy < 0 { + postIndex := iNdEx + intStringLen + if postIndex < 0 { return ErrInvalidLengthMessage } - if (iNdEx + skippy) < 0 { + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { return ErrInvalidLengthMessage } - if (iNdEx + skippy) > l { + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { return io.ErrUnexpectedEOF } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Access) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage + if m.Spec == nil { + m.Spec = &UserSpec{} } - if iNdEx >= l { + if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StateDeprecated", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + m.StateDeprecated = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Access: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Access: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AccountAccess", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Invitation", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -4736,16 +7969,16 @@ func (m *Access) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.AccountAccess == nil { - m.AccountAccess = &AccountAccess{} + if m.Invitation == nil { + m.Invitation = &Invitation{} } - if err := m.AccountAccess.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Invitation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 2: + case 7: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NamespaceAccesses", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CreatedTime", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -4772,164 +8005,18 @@ func (m *Access) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.NamespaceAccesses == nil { - m.NamespaceAccesses = make(map[string]*NamespaceAccess) - } - var mapkey string - var mapvalue *NamespaceAccess - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthMessage - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthMessage - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var mapmsglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLengthMessage - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLengthMessage - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &NamespaceAccess{} - if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } + if m.CreatedTime == nil { + m.CreatedTime = &types.Timestamp{} } - m.NamespaceAccesses[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { + if err := m.CreatedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NamespaceScopedAccess) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: NamespaceScopedAccess: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NamespaceScopedAccess: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + iNdEx = postIndex + case 8: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field LastModifiedTime", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMessage @@ -4939,27 +8026,50 @@ func (m *NamespaceScopedAccess) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthMessage } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthMessage } if postIndex > l { return io.ErrUnexpectedEOF } - m.Namespace = string(dAtA[iNdEx:postIndex]) + if m.LastModifiedTime == nil { + m.LastModifiedTime = &types.Timestamp{} + } + if err := m.LastModifiedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 2: + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) + } + m.State = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.State |= v1.ResourceState(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 100: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Access", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ApiKeyCount", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -4986,10 +8096,10 @@ func (m *NamespaceScopedAccess) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Access == nil { - m.Access = &NamespaceAccess{} + if m.ApiKeyCount == nil { + m.ApiKeyCount = &APIKeyCount{} } - if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.ApiKeyCount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -5017,7 +8127,7 @@ func (m *NamespaceScopedAccess) Unmarshal(dAtA []byte) error { } return nil } -func (m *UserSpec) Unmarshal(dAtA []byte) error { +func (m *GoogleGroupSpec) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5040,49 +8150,17 @@ func (m *UserSpec) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UserSpec: wiretype end group for non-group") + return fmt.Errorf("proto: GoogleGroupSpec: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UserSpec: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GoogleGroupSpec: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Email", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Email = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Access", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EmailAddress", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMessage @@ -5092,27 +8170,23 @@ func (m *UserSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthMessage } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthMessage } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Access == nil { - m.Access = &Access{} - } - if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.EmailAddress = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -5138,7 +8212,7 @@ func (m *UserSpec) Unmarshal(dAtA []byte) error { } return nil } -func (m *Invitation) Unmarshal(dAtA []byte) error { +func (m *SCIMGroupSpec) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5161,17 +8235,17 @@ func (m *Invitation) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Invitation: wiretype end group for non-group") + return fmt.Errorf("proto: SCIMGroupSpec: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Invitation: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SCIMGroupSpec: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CreatedTime", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IdpId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMessage @@ -5181,64 +8255,77 @@ func (m *Invitation) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthMessage } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthMessage } if postIndex > l { return io.ErrUnexpectedEOF } - if m.CreatedTime == nil { - m.CreatedTime = &types.Timestamp{} - } - if err := m.CreatedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.IdpId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExpiredTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } + default: + iNdEx = preIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { + return err } - if msglen < 0 { + if skippy < 0 { return ErrInvalidLengthMessage } - postIndex := iNdEx + msglen - if postIndex < 0 { + if (iNdEx + skippy) < 0 { return ErrInvalidLengthMessage } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - if m.ExpiredTime == nil { - m.ExpiredTime = &types.Timestamp{} + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CloudGroupSpec) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage } - if err := m.ExpiredTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + if iNdEx >= l { + return io.ErrUnexpectedEOF } - iNdEx = postIndex + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CloudGroupSpec: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CloudGroupSpec: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { default: iNdEx = preIndex skippy, err := skipMessage(dAtA[iNdEx:]) @@ -5263,7 +8350,7 @@ func (m *Invitation) Unmarshal(dAtA []byte) error { } return nil } -func (m *User) Unmarshal(dAtA []byte) error { +func (m *UserGroupSpec) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5286,15 +8373,15 @@ func (m *User) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: User: wiretype end group for non-group") + return fmt.Errorf("proto: UserGroupSpec: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: User: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UserGroupSpec: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DisplayName", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -5322,13 +8409,13 @@ func (m *User) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Id = string(dAtA[iNdEx:postIndex]) + m.DisplayName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Access", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMessage @@ -5338,27 +8425,31 @@ func (m *User) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthMessage } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthMessage } if postIndex > l { return io.ErrUnexpectedEOF } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) + if m.Access == nil { + m.Access = &Access{} + } + if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GoogleGroup", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -5385,18 +8476,17 @@ func (m *User) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Spec == nil { - m.Spec = &UserSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + v := &GoogleGroupSpec{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } + m.GroupType = &UserGroupSpec_GoogleGroup{v} iNdEx = postIndex case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StateDeprecated", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ScimGroup", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMessage @@ -5406,29 +8496,32 @@ func (m *User) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthMessage } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthMessage } if postIndex > l { return io.ErrUnexpectedEOF } - m.StateDeprecated = string(dAtA[iNdEx:postIndex]) + v := &SCIMGroupSpec{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.GroupType = &UserGroupSpec_ScimGroup{v} iNdEx = postIndex case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CloudGroup", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMessage @@ -5438,29 +8531,85 @@ func (m *User) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthMessage } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthMessage } if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + v := &CloudGroupSpec{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.GroupType = &UserGroupSpec_CloudGroup{v} iNdEx = postIndex - case 6: + default: + iNdEx = preIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UserGroup) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UserGroup: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UserGroup: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Invitation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMessage @@ -5470,33 +8619,29 @@ func (m *User) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthMessage } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthMessage } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Invitation == nil { - m.Invitation = &Invitation{} - } - if err := m.Invitation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + if postIndex > l { + return io.ErrUnexpectedEOF } + m.Id = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 7: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CreatedTime", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMessage @@ -5506,31 +8651,27 @@ func (m *User) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthMessage } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthMessage } if postIndex > l { return io.ErrUnexpectedEOF } - if m.CreatedTime == nil { - m.CreatedTime = &types.Timestamp{} - } - if err := m.CreatedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 8: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LastModifiedTime", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -5557,18 +8698,18 @@ func (m *User) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.LastModifiedTime == nil { - m.LastModifiedTime = &types.Timestamp{} + if m.Spec == nil { + m.Spec = &UserGroupSpec{} } - if err := m.LastModifiedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 9: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StateDeprecated", wireType) } - m.State = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMessage @@ -5578,67 +8719,27 @@ func (m *User) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.State |= v1.ResourceState(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthMessage } - if (iNdEx + skippy) < 0 { + postIndex := iNdEx + intStringLen + if postIndex < 0 { return ErrInvalidLengthMessage } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GoogleGroupSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GoogleGroupSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GoogleGroupSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + m.StateDeprecated = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EmailAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -5666,66 +8767,49 @@ func (m *GoogleGroupSpec) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.EmailAddress = string(dAtA[iNdEx:postIndex]) + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CreatedTime", wireType) } - if skippy < 0 { + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { return ErrInvalidLengthMessage } - if (iNdEx + skippy) < 0 { + postIndex := iNdEx + msglen + if postIndex < 0 { return ErrInvalidLengthMessage } - if (iNdEx + skippy) > l { + if postIndex > l { return io.ErrUnexpectedEOF } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SCIMGroupSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF + if m.CreatedTime == nil { + m.CreatedTime = &types.Timestamp{} } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if err := m.CreatedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SCIMGroupSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SCIMGroupSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + iNdEx = postIndex + case 7: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IdpId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field LastModifiedTime", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMessage @@ -5735,77 +8819,47 @@ func (m *SCIMGroupSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthMessage } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthMessage } if postIndex > l { return io.ErrUnexpectedEOF } - m.IdpId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CloudGroupSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage + if m.LastModifiedTime == nil { + m.LastModifiedTime = &types.Timestamp{} } - if iNdEx >= l { - return io.ErrUnexpectedEOF + if err := m.LastModifiedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + iNdEx = postIndex + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) + } + m.State = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.State |= v1.ResourceState(b&0x7F) << shift + if b < 0x80 { + break + } } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CloudGroupSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CloudGroupSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { default: iNdEx = preIndex skippy, err := skipMessage(dAtA[iNdEx:]) @@ -5830,7 +8884,7 @@ func (m *CloudGroupSpec) Unmarshal(dAtA []byte) error { } return nil } -func (m *UserGroupSpec) Unmarshal(dAtA []byte) error { +func (m *UserGroupMemberId) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5853,15 +8907,15 @@ func (m *UserGroupSpec) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UserGroupSpec: wiretype end group for non-group") + return fmt.Errorf("proto: UserGroupMemberId: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UserGroupSpec: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UserGroupMemberId: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DisplayName", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -5889,82 +8943,64 @@ func (m *UserGroupSpec) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.DisplayName = string(dAtA[iNdEx:postIndex]) + m.MemberType = &UserGroupMemberId_UserId{string(dAtA[iNdEx:postIndex])} iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Access", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } + default: + iNdEx = preIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { + return err } - if msglen < 0 { + if skippy < 0 { return ErrInvalidLengthMessage } - postIndex := iNdEx + msglen - if postIndex < 0 { + if (iNdEx + skippy) < 0 { return ErrInvalidLengthMessage } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - if m.Access == nil { - m.Access = &Access{} - } - if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GoogleGroup", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UserGroupMember) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage } - if postIndex > l { + if iNdEx >= l { return io.ErrUnexpectedEOF } - v := &GoogleGroupSpec{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break } - m.GroupType = &UserGroupSpec_GoogleGroup{v} - iNdEx = postIndex - case 4: + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UserGroupMember: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UserGroupMember: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ScimGroup", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field MemberId", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -5991,15 +9027,16 @@ func (m *UserGroupSpec) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &SCIMGroupSpec{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.MemberId == nil { + m.MemberId = &UserGroupMemberId{} + } + if err := m.MemberId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.GroupType = &UserGroupSpec_ScimGroup{v} iNdEx = postIndex - case 5: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CloudGroup", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CreatedTime", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6026,11 +9063,12 @@ func (m *UserGroupSpec) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &CloudGroupSpec{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.CreatedTime == nil { + m.CreatedTime = &types.Timestamp{} + } + if err := m.CreatedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.GroupType = &UserGroupSpec_CloudGroup{v} iNdEx = postIndex default: iNdEx = preIndex @@ -6056,7 +9094,7 @@ func (m *UserGroupSpec) Unmarshal(dAtA []byte) error { } return nil } -func (m *UserGroup) Unmarshal(dAtA []byte) error { +func (m *ServiceAccount) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -6079,10 +9117,10 @@ func (m *UserGroup) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UserGroup: wiretype end group for non-group") + return fmt.Errorf("proto: ServiceAccount: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UserGroup: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ServiceAccount: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -6179,7 +9217,7 @@ func (m *UserGroup) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Spec == nil { - m.Spec = &UserGroupSpec{} + m.Spec = &ServiceAccountSpec{} } if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -6340,6 +9378,42 @@ func (m *UserGroup) Unmarshal(dAtA []byte) error { break } } + case 100: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ApiKeyCount", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ApiKeyCount == nil { + m.ApiKeyCount = &APIKeyCount{} + } + if err := m.ApiKeyCount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipMessage(dAtA[iNdEx:]) @@ -6364,7 +9438,7 @@ func (m *UserGroup) Unmarshal(dAtA []byte) error { } return nil } -func (m *UserGroupMemberId) Unmarshal(dAtA []byte) error { +func (m *ServiceAccountSpec) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -6383,19 +9457,87 @@ func (m *UserGroupMemberId) Unmarshal(dAtA []byte) error { if b < 0x80 { break } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UserGroupMemberId: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UserGroupMemberId: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ServiceAccountSpec: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ServiceAccountSpec: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Access", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Access == nil { + m.Access = &Access{} + } + if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -6423,64 +9565,11 @@ func (m *UserGroupMemberId) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.MemberType = &UserGroupMemberId_UserId{string(dAtA[iNdEx:postIndex])} + m.Description = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UserGroupMember) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UserGroupMember: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UserGroupMember: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MemberId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field NamespaceScopedAccess", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6507,16 +9596,16 @@ func (m *UserGroupMember) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.MemberId == nil { - m.MemberId = &UserGroupMemberId{} + if m.NamespaceScopedAccess == nil { + m.NamespaceScopedAccess = &NamespaceScopedAccess{} } - if err := m.MemberId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.NamespaceScopedAccess.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 2: + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CreatedTime", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProjectScopedAccess", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6543,10 +9632,10 @@ func (m *UserGroupMember) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.CreatedTime == nil { - m.CreatedTime = &types.Timestamp{} + if m.ProjectScopedAccess == nil { + m.ProjectScopedAccess = &ProjectScopedAccess{} } - if err := m.CreatedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.ProjectScopedAccess.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -6574,7 +9663,7 @@ func (m *UserGroupMember) Unmarshal(dAtA []byte) error { } return nil } -func (m *ServiceAccount) Unmarshal(dAtA []byte) error { +func (m *ApiKey) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -6597,10 +9686,10 @@ func (m *ServiceAccount) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ServiceAccount: wiretype end group for non-group") + return fmt.Errorf("proto: ApiKey: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ServiceAccount: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ApiKey: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -6697,7 +9786,7 @@ func (m *ServiceAccount) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Spec == nil { - m.Spec = &ServiceAccountSpec{} + m.Spec = &ApiKeySpec{} } if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -6858,6 +9947,57 @@ func (m *ServiceAccount) Unmarshal(dAtA []byte) error { break } } + case 100: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OwnerDisplayName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.OwnerDisplayName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 101: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field OwnerServiceAccountScoped", wireType) + } + m.OwnerServiceAccountScoped = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.OwnerServiceAccountScoped |= ApiKey_OwnerServiceAccountScope(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipMessage(dAtA[iNdEx:]) @@ -6882,7 +10022,7 @@ func (m *ServiceAccount) Unmarshal(dAtA []byte) error { } return nil } -func (m *ServiceAccountSpec) Unmarshal(dAtA []byte) error { +func (m *ApiKeySpec) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -6905,15 +10045,15 @@ func (m *ServiceAccountSpec) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ServiceAccountSpec: wiretype end group for non-group") + return fmt.Errorf("proto: ApiKeySpec: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ServiceAccountSpec: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ApiKeySpec: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field OwnerId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -6941,13 +10081,13 @@ func (m *ServiceAccountSpec) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) + m.OwnerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Access", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field OwnerTypeDeprecated", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMessage @@ -6957,29 +10097,57 @@ func (m *ServiceAccountSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthMessage } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthMessage } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Access == nil { - m.Access = &Access{} + m.OwnerTypeDeprecated = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DisplayName", wireType) } - if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMessage } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DisplayName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) } @@ -7011,9 +10179,9 @@ func (m *ServiceAccountSpec) Unmarshal(dAtA []byte) error { } m.Description = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NamespaceScopedAccess", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ExpiryTime", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -7040,13 +10208,52 @@ func (m *ServiceAccountSpec) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.NamespaceScopedAccess == nil { - m.NamespaceScopedAccess = &NamespaceScopedAccess{} + if m.ExpiryTime == nil { + m.ExpiryTime = &types.Timestamp{} } - if err := m.NamespaceScopedAccess.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.ExpiryTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Disabled", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Disabled = bool(v != 0) + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field OwnerType", wireType) + } + m.OwnerType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.OwnerType |= OwnerType(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipMessage(dAtA[iNdEx:]) @@ -7071,7 +10278,7 @@ func (m *ServiceAccountSpec) Unmarshal(dAtA []byte) error { } return nil } -func (m *ApiKey) Unmarshal(dAtA []byte) error { +func (m *CustomRoleSpec) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -7094,15 +10301,15 @@ func (m *ApiKey) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ApiKey: wiretype end group for non-group") + return fmt.Errorf("proto: CustomRoleSpec: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ApiKey: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CustomRoleSpec: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -7130,11 +10337,11 @@ func (m *ApiKey) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Id = string(dAtA[iNdEx:postIndex]) + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -7162,11 +10369,11 @@ func (m *ApiKey) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) + m.Description = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -7193,16 +10400,67 @@ func (m *ApiKey) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Spec == nil { - m.Spec = &ApiKeySpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Permissions = append(m.Permissions, &CustomRoleSpec_Permission{}) + if err := m.Permissions[len(m.Permissions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 4: + default: + iNdEx = preIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CustomRoleSpec_Resources) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Resources: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Resources: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StateDeprecated", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ResourceType", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -7230,11 +10488,11 @@ func (m *ApiKey) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.StateDeprecated = string(dAtA[iNdEx:postIndex]) + m.ResourceType = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 5: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ResourceIds", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -7262,13 +10520,13 @@ func (m *ApiKey) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.ResourceIds = append(m.ResourceIds, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CreatedTime", wireType) + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AllowAll", wireType) } - var msglen int + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMessage @@ -7278,31 +10536,68 @@ func (m *ApiKey) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + m.AllowAll = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { return ErrInvalidLengthMessage } - postIndex := iNdEx + msglen - if postIndex < 0 { + if (iNdEx + skippy) < 0 { return ErrInvalidLengthMessage } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - if m.CreatedTime == nil { - m.CreatedTime = &types.Timestamp{} + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CustomRoleSpec_Permission) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage } - if err := m.CreatedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + if iNdEx >= l { + return io.ErrUnexpectedEOF } - iNdEx = postIndex - case 7: + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Permission: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Permission: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LastModifiedTime", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -7329,18 +10624,18 @@ func (m *ApiKey) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.LastModifiedTime == nil { - m.LastModifiedTime = &types.Timestamp{} + if m.Resources == nil { + m.Resources = &CustomRoleSpec_Resources{} } - if err := m.LastModifiedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Resources.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Actions", wireType) } - m.State = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMessage @@ -7350,11 +10645,24 @@ func (m *ApiKey) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.State |= v1.ResourceState(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Actions = append(m.Actions, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipMessage(dAtA[iNdEx:]) @@ -7379,7 +10687,7 @@ func (m *ApiKey) Unmarshal(dAtA []byte) error { } return nil } -func (m *ApiKeySpec) Unmarshal(dAtA []byte) error { +func (m *CustomRole) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -7402,15 +10710,15 @@ func (m *ApiKeySpec) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ApiKeySpec: wiretype end group for non-group") + return fmt.Errorf("proto: CustomRole: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ApiKeySpec: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CustomRole: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OwnerId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -7438,11 +10746,11 @@ func (m *ApiKeySpec) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.OwnerId = string(dAtA[iNdEx:postIndex]) + m.Id = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OwnerTypeDeprecated", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -7470,13 +10778,13 @@ func (m *ApiKeySpec) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.OwnerTypeDeprecated = string(dAtA[iNdEx:postIndex]) + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DisplayName", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMessage @@ -7486,27 +10794,50 @@ func (m *ApiKeySpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthMessage } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthMessage } if postIndex > l { return io.ErrUnexpectedEOF } - m.DisplayName = string(dAtA[iNdEx:postIndex]) + if m.Spec == nil { + m.Spec = &CustomRoleSpec{} + } + if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) + } + m.State = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.State |= v1.ResourceState(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -7534,11 +10865,11 @@ func (m *ApiKeySpec) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Description = string(dAtA[iNdEx:postIndex]) + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 5: + case 6: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExpiryTime", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CreatedTime", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -7565,18 +10896,18 @@ func (m *ApiKeySpec) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ExpiryTime == nil { - m.ExpiryTime = &types.Timestamp{} + if m.CreatedTime == nil { + m.CreatedTime = &types.Timestamp{} } - if err := m.ExpiryTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.CreatedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Disabled", wireType) + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LastModifiedTime", wireType) } - var v int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMessage @@ -7586,31 +10917,28 @@ func (m *ApiKeySpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - m.Disabled = bool(v != 0) - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field OwnerType", wireType) + if msglen < 0 { + return ErrInvalidLengthMessage } - m.OwnerType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.OwnerType |= OwnerType(b&0x7F) << shift - if b < 0x80 { - break - } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.LastModifiedTime == nil { + m.LastModifiedTime = &types.Timestamp{} } + if err := m.LastModifiedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipMessage(dAtA[iNdEx:]) diff --git a/protogen/api/cloud/namespace/v1/message.pb.go b/protogen/api/cloud/namespace/v1/message.pb.go index 38dd86c2..30a44a5a 100644 --- a/protogen/api/cloud/namespace/v1/message.pb.go +++ b/protogen/api/cloud/namespace/v1/message.pb.go @@ -32,7 +32,36 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -// temporal:dev +type Replica_ReplicaState int32 + +const ( + REPLICA_STATE_UNSPECIFIED Replica_ReplicaState = 0 + REPLICA_STATE_ADDING Replica_ReplicaState = 1 + REPLICA_STATE_ACTIVE Replica_ReplicaState = 2 + REPLICA_STATE_REMOVING Replica_ReplicaState = 3 + REPLICA_STATE_FAILED Replica_ReplicaState = 5 +) + +var Replica_ReplicaState_name = map[int32]string{ + 0: "ReplicaStateUnspecified", + 1: "ReplicaStateAdding", + 2: "ReplicaStateActive", + 3: "ReplicaStateRemoving", + 5: "ReplicaStateFailed", +} + +var Replica_ReplicaState_value = map[string]int32{ + "ReplicaStateUnspecified": 0, + "ReplicaStateAdding": 1, + "ReplicaStateActive": 2, + "ReplicaStateRemoving": 3, + "ReplicaStateFailed": 5, +} + +func (Replica_ReplicaState) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_4ea8dce281a9b52e, []int{7, 0} +} + type Capacity_Request_State int32 const ( @@ -57,7 +86,7 @@ var Capacity_Request_State_value = map[string]int32{ } func (Capacity_Request_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{7, 2, 0} + return fileDescriptor_4ea8dce281a9b52e, []int{9, 2, 0} } type NamespaceSpec_SearchAttributeType int32 @@ -96,7 +125,7 @@ var NamespaceSpec_SearchAttributeType_value = map[string]int32{ } func (NamespaceSpec_SearchAttributeType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{8, 0} + return fileDescriptor_4ea8dce281a9b52e, []int{10, 0} } type NamespaceRegionStatus_State int32 @@ -129,7 +158,7 @@ var NamespaceRegionStatus_State_value = map[string]int32{ } func (NamespaceRegionStatus_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{14, 0} + return fileDescriptor_4ea8dce281a9b52e, []int{16, 0} } type ExportSink_Health int32 @@ -156,7 +185,7 @@ var ExportSink_Health_value = map[string]int32{ } func (ExportSink_Health) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{16, 0} + return fileDescriptor_4ea8dce281a9b52e, []int{18, 0} } type Migration_State int32 @@ -204,7 +233,7 @@ var Migration_State_value = map[string]int32{ } func (Migration_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{21, 0} + return fileDescriptor_4ea8dce281a9b52e, []int{23, 0} } type MigrationReplica_State int32 @@ -235,7 +264,7 @@ var MigrationReplica_State_value = map[string]int32{ } func (MigrationReplica_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{22, 0} + return fileDescriptor_4ea8dce281a9b52e, []int{24, 0} } type CertificateFilterSpec struct { @@ -320,7 +349,7 @@ type MtlsAuthSpec struct { // (-- api-linter: core::0140::base64=disabled --) // Deprecated: Use accepted_client_ca instead. Will be ignored when accepted_client_ca is set. // temporal:versioning:max_version=v0.2.0 - AcceptedClientCaDeprecated string `protobuf:"bytes,1,opt,name=accepted_client_ca_deprecated,json=acceptedClientCaDeprecated,proto3" json:"accepted_client_ca_deprecated,omitempty"` + AcceptedClientCaDeprecated string `protobuf:"bytes,1,opt,name=accepted_client_ca_deprecated,json=acceptedClientCaDeprecated,proto3" json:"accepted_client_ca_deprecated,omitempty"` // Deprecated: Do not use. // The ca cert(s) in PEM format that the clients can use for authentication and authorization. // This must only be one value, but the CA can have a chain. // temporal:versioning:min_version=v0.2.0 @@ -368,6 +397,7 @@ func (m *MtlsAuthSpec) XXX_DiscardUnknown() { var xxx_messageInfo_MtlsAuthSpec proto.InternalMessageInfo +// Deprecated: Do not use. func (m *MtlsAuthSpec) GetAcceptedClientCaDeprecated() string { if m != nil { return m.AcceptedClientCaDeprecated @@ -659,6 +689,14 @@ func (m *CodecServerSpec_CustomErrorMessage_ErrorMessage) GetLink() string { type HighAvailabilitySpec struct { // Flag to disable managed failover for the namespace. DisableManagedFailover bool `protobuf:"varint,1,opt,name=disable_managed_failover,json=disableManagedFailover,proto3" json:"disable_managed_failover,omitempty"` + // The desired replica to be primary. + // The actual primary replica may differ from the preferred primary when a managed failover happens. + // Optional. + // When this field is not specified, the first replica in the replicas list will be the preferred replica. + // Only specify this field after replicas are created and replica IDs are generated. + // temporal:versioning:min_version=development + // temporal:dev + PreferredPrimaryReplicaId string `protobuf:"bytes,2,opt,name=preferred_primary_replica_id,json=preferredPrimaryReplicaId,proto3" json:"preferred_primary_replica_id,omitempty"` } func (m *HighAvailabilitySpec) Reset() { *m = HighAvailabilitySpec{} } @@ -700,7 +738,134 @@ func (m *HighAvailabilitySpec) GetDisableManagedFailover() bool { return false } +func (m *HighAvailabilitySpec) GetPreferredPrimaryReplicaId() string { + if m != nil { + return m.PreferredPrimaryReplicaId + } + return "" +} + +// temporal:dev +type ReplicaSpec struct { + // The id of the region where the replica should be placed. + // The GetRegions API can be used to get the list of valid region ids. + // All the replicas must adhere to the region's max_in_region_replicas limit and connectable_region_ids. + // Required. Immutable. + // Example: "aws-us-west-2". + Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` +} + +func (m *ReplicaSpec) Reset() { *m = ReplicaSpec{} } +func (*ReplicaSpec) ProtoMessage() {} +func (*ReplicaSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_4ea8dce281a9b52e, []int{6} +} +func (m *ReplicaSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ReplicaSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ReplicaSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ReplicaSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_ReplicaSpec.Merge(m, src) +} +func (m *ReplicaSpec) XXX_Size() int { + return m.Size() +} +func (m *ReplicaSpec) XXX_DiscardUnknown() { + xxx_messageInfo_ReplicaSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_ReplicaSpec proto.InternalMessageInfo + +func (m *ReplicaSpec) GetRegion() string { + if m != nil { + return m.Region + } + return "" +} + // temporal:dev +type Replica struct { + // The id of the replica. This is generated by Temporal after a replica is created. + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // Whether this replica is currently the primary one. + IsPrimary bool `protobuf:"varint,2,opt,name=is_primary,json=isPrimary,proto3" json:"is_primary,omitempty"` + // The current state of this replica. + State Replica_ReplicaState `protobuf:"varint,3,opt,name=state,proto3,enum=temporal.api.cloud.namespace.v1.Replica_ReplicaState" json:"state,omitempty"` + // The cloud provider and region of this replica. + Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` +} + +func (m *Replica) Reset() { *m = Replica{} } +func (*Replica) ProtoMessage() {} +func (*Replica) Descriptor() ([]byte, []int) { + return fileDescriptor_4ea8dce281a9b52e, []int{7} +} +func (m *Replica) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Replica) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Replica.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Replica) XXX_Merge(src proto.Message) { + xxx_messageInfo_Replica.Merge(m, src) +} +func (m *Replica) XXX_Size() int { + return m.Size() +} +func (m *Replica) XXX_DiscardUnknown() { + xxx_messageInfo_Replica.DiscardUnknown(m) +} + +var xxx_messageInfo_Replica proto.InternalMessageInfo + +func (m *Replica) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *Replica) GetIsPrimary() bool { + if m != nil { + return m.IsPrimary + } + return false +} + +func (m *Replica) GetState() Replica_ReplicaState { + if m != nil { + return m.State + } + return REPLICA_STATE_UNSPECIFIED +} + +func (m *Replica) GetRegion() string { + if m != nil { + return m.Region + } + return "" +} + type CapacitySpec struct { // Types that are valid to be assigned to Spec: // @@ -712,7 +877,7 @@ type CapacitySpec struct { func (m *CapacitySpec) Reset() { *m = CapacitySpec{} } func (*CapacitySpec) ProtoMessage() {} func (*CapacitySpec) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{6} + return fileDescriptor_4ea8dce281a9b52e, []int{8} } func (m *CapacitySpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -793,7 +958,7 @@ type CapacitySpec_OnDemand struct { func (m *CapacitySpec_OnDemand) Reset() { *m = CapacitySpec_OnDemand{} } func (*CapacitySpec_OnDemand) ProtoMessage() {} func (*CapacitySpec_OnDemand) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{6, 0} + return fileDescriptor_4ea8dce281a9b52e, []int{8, 0} } func (m *CapacitySpec_OnDemand) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -830,7 +995,7 @@ type CapacitySpec_Provisioned struct { func (m *CapacitySpec_Provisioned) Reset() { *m = CapacitySpec_Provisioned{} } func (*CapacitySpec_Provisioned) ProtoMessage() {} func (*CapacitySpec_Provisioned) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{6, 1} + return fileDescriptor_4ea8dce281a9b52e, []int{8, 1} } func (m *CapacitySpec_Provisioned) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -866,16 +1031,12 @@ func (m *CapacitySpec_Provisioned) GetValue() float64 { return 0 } -// temporal:dev type Capacity struct { - // temporal:dev - // // Types that are valid to be assigned to CurrentMode: // // *Capacity_OnDemand_ // *Capacity_Provisioned_ CurrentMode isCapacity_CurrentMode `protobuf_oneof:"current_mode"` - // temporal:dev // The latest capacity request, if any. LatestRequest *Capacity_Request `protobuf:"bytes,3,opt,name=latest_request,json=latestRequest,proto3" json:"latest_request,omitempty"` } @@ -883,7 +1044,7 @@ type Capacity struct { func (m *Capacity) Reset() { *m = Capacity{} } func (*Capacity) ProtoMessage() {} func (*Capacity) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{7} + return fileDescriptor_4ea8dce281a9b52e, []int{9} } func (m *Capacity) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -965,14 +1126,13 @@ func (*Capacity) XXX_OneofWrappers() []interface{} { } } -// temporal:dev type Capacity_OnDemand struct { } func (m *Capacity_OnDemand) Reset() { *m = Capacity_OnDemand{} } func (*Capacity_OnDemand) ProtoMessage() {} func (*Capacity_OnDemand) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{7, 0} + return fileDescriptor_4ea8dce281a9b52e, []int{9, 0} } func (m *Capacity_OnDemand) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1001,7 +1161,6 @@ func (m *Capacity_OnDemand) XXX_DiscardUnknown() { var xxx_messageInfo_Capacity_OnDemand proto.InternalMessageInfo -// temporal:dev type Capacity_Provisioned struct { // the current unit of the provisioned capacity (Temporal Resource Units) CurrentValue float64 `protobuf:"fixed64,1,opt,name=current_value,json=currentValue,proto3" json:"current_value,omitempty"` @@ -1010,7 +1169,7 @@ type Capacity_Provisioned struct { func (m *Capacity_Provisioned) Reset() { *m = Capacity_Provisioned{} } func (*Capacity_Provisioned) ProtoMessage() {} func (*Capacity_Provisioned) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{7, 1} + return fileDescriptor_4ea8dce281a9b52e, []int{9, 1} } func (m *Capacity_Provisioned) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1046,7 +1205,6 @@ func (m *Capacity_Provisioned) GetCurrentValue() float64 { return 0 } -// temporal:dev type Capacity_Request struct { // the current state of the capacity request (e.g. in-progress, completed, failed) State Capacity_Request_State `protobuf:"varint,1,opt,name=state,proto3,enum=temporal.api.cloud.namespace.v1.Capacity_Request_State" json:"state,omitempty"` @@ -1063,7 +1221,7 @@ type Capacity_Request struct { func (m *Capacity_Request) Reset() { *m = Capacity_Request{} } func (*Capacity_Request) ProtoMessage() {} func (*Capacity_Request) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{7, 2} + return fileDescriptor_4ea8dce281a9b52e, []int{9, 2} } func (m *Capacity_Request) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1129,7 +1287,7 @@ func (m *Capacity_Request) GetSpec() *CapacitySpec { type NamespaceSpec struct { // The name to use for the namespace. - // This will create a namespace that's available at '..github.com/temporalio/tcld/protogen:7233'. + // This will create a namespace that's available at '..tmprl.cloud:7233'. // The name is immutable. Once set, it cannot be changed. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The ids of the regions where the namespace should be available. @@ -1140,7 +1298,9 @@ type NamespaceSpec struct { // Number of supported regions is 2. // The regions is immutable. Once set, it cannot be changed. // Example: ["aws-us-west-2"]. - Regions []string `protobuf:"bytes,2,rep,name=regions,proto3" json:"regions,omitempty"` + // Deprecated: Use replicas field instead. + // temporal:versioning:max_version=development + Regions []string `protobuf:"bytes,2,rep,name=regions,proto3" json:"regions,omitempty"` // Deprecated: Do not use. // The number of days the workflows data will be retained for. // Changes to the retention period may impact your storage costs. // Any changes to the retention period will be applied to all new running workflows. @@ -1180,15 +1340,23 @@ type NamespaceSpec struct { // temporal:versioning:min_version=v0.6.0 ConnectivityRuleIds []string `protobuf:"bytes,11,rep,name=connectivity_rule_ids,json=connectivityRuleIds,proto3" json:"connectivity_rule_ids,omitempty"` // The capacity configuration for the namespace. + // temporal:versioning:min_version=v0.10.0 + CapacitySpec *CapacitySpec `protobuf:"bytes,12,opt,name=capacity_spec,json=capacitySpec,proto3" json:"capacity_spec,omitempty"` + // The replication configuration for the namespace. + // At least one replica must be specified. + // Only one replica can be marked to be the desired active one. + // The status of each replica is available in the Namespace.replicas field. + // Use HighAvailabilitySpec to set the preferred primary replica ID. + // If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary. // temporal:versioning:min_version=development // temporal:dev - CapacitySpec *CapacitySpec `protobuf:"bytes,12,opt,name=capacity_spec,json=capacitySpec,proto3" json:"capacity_spec,omitempty"` + Replicas []*ReplicaSpec `protobuf:"bytes,13,rep,name=replicas,proto3" json:"replicas,omitempty"` } func (m *NamespaceSpec) Reset() { *m = NamespaceSpec{} } func (*NamespaceSpec) ProtoMessage() {} func (*NamespaceSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{8} + return fileDescriptor_4ea8dce281a9b52e, []int{10} } func (m *NamespaceSpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1224,6 +1392,7 @@ func (m *NamespaceSpec) GetName() string { return "" } +// Deprecated: Do not use. func (m *NamespaceSpec) GetRegions() []string { if m != nil { return m.Regions @@ -1302,6 +1471,13 @@ func (m *NamespaceSpec) GetCapacitySpec() *CapacitySpec { return nil } +func (m *NamespaceSpec) GetReplicas() []*ReplicaSpec { + if m != nil { + return m.Replicas + } + return nil +} + type Endpoints struct { // The web UI address. WebAddress string `protobuf:"bytes,1,opt,name=web_address,json=webAddress,proto3" json:"web_address,omitempty"` @@ -1314,7 +1490,7 @@ type Endpoints struct { func (m *Endpoints) Reset() { *m = Endpoints{} } func (*Endpoints) ProtoMessage() {} func (*Endpoints) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{9} + return fileDescriptor_4ea8dce281a9b52e, []int{11} } func (m *Endpoints) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1364,22 +1540,17 @@ func (m *Endpoints) GetGrpcAddress() string { return "" } +// Note: Consider adding new limit to external metrics instead of adding to the following Limits objects type Limits struct { // The number of actions per second (APS) that is currently allowed for the namespace. // The namespace may be throttled if its APS exceeds the limit. ActionsPerSecondLimit int32 `protobuf:"varint,1,opt,name=actions_per_second_limit,json=actionsPerSecondLimit,proto3" json:"actions_per_second_limit,omitempty"` - // The number of requests per second (RPS) that is currently allowed for the namespace. - // temporal:dev - RequestsPerSecondLimit int32 `protobuf:"varint,2,opt,name=requests_per_second_limit,json=requestsPerSecondLimit,proto3" json:"requests_per_second_limit,omitempty"` - // The number of concurrent task pollers allowed for the namespace. - // temporal:dev - ConcurrentTaskPollerLimit int32 `protobuf:"varint,3,opt,name=concurrent_task_poller_limit,json=concurrentTaskPollerLimit,proto3" json:"concurrent_task_poller_limit,omitempty"` } func (m *Limits) Reset() { *m = Limits{} } func (*Limits) ProtoMessage() {} func (*Limits) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{10} + return fileDescriptor_4ea8dce281a9b52e, []int{12} } func (m *Limits) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1415,20 +1586,6 @@ func (m *Limits) GetActionsPerSecondLimit() int32 { return 0 } -func (m *Limits) GetRequestsPerSecondLimit() int32 { - if m != nil { - return m.RequestsPerSecondLimit - } - return 0 -} - -func (m *Limits) GetConcurrentTaskPollerLimit() int32 { - if m != nil { - return m.ConcurrentTaskPollerLimit - } - return 0 -} - type AWSPrivateLinkInfo struct { // The list of principal arns that are allowed to access the namespace on the private link. AllowedPrincipalArns []string `protobuf:"bytes,1,rep,name=allowed_principal_arns,json=allowedPrincipalArns,proto3" json:"allowed_principal_arns,omitempty"` @@ -1439,7 +1596,7 @@ type AWSPrivateLinkInfo struct { func (m *AWSPrivateLinkInfo) Reset() { *m = AWSPrivateLinkInfo{} } func (*AWSPrivateLinkInfo) ProtoMessage() {} func (*AWSPrivateLinkInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{11} + return fileDescriptor_4ea8dce281a9b52e, []int{13} } func (m *AWSPrivateLinkInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1493,7 +1650,7 @@ type PrivateConnectivity struct { func (m *PrivateConnectivity) Reset() { *m = PrivateConnectivity{} } func (*PrivateConnectivity) ProtoMessage() {} func (*PrivateConnectivity) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{12} + return fileDescriptor_4ea8dce281a9b52e, []int{14} } func (m *PrivateConnectivity) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1570,20 +1727,25 @@ type Namespace struct { LastModifiedTime *types.Timestamp `protobuf:"bytes,11,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` // The status of each region where the namespace is available. // The id of the region is the key and the status is the value of the map. - RegionStatus map[string]*NamespaceRegionStatus `protobuf:"bytes,12,rep,name=region_status,json=regionStatus,proto3" json:"region_status,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // deprecated: Use replicas field instead. + RegionStatus map[string]*NamespaceRegionStatus `protobuf:"bytes,12,rep,name=region_status,json=regionStatus,proto3" json:"region_status,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Deprecated: Do not use. // connectivity_rules that set on this namespace ConnectivityRules []*v11.ConnectivityRule `protobuf:"bytes,14,rep,name=connectivity_rules,json=connectivityRules,proto3" json:"connectivity_rules,omitempty"` // The tags for the namespace. Tags map[string]string `protobuf:"bytes,15,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // The capacity of the namespace. - // temporal:dev Capacity *Capacity `protobuf:"bytes,16,opt,name=capacity,proto3" json:"capacity,omitempty"` + // temporal:dev + ProjectId string `protobuf:"bytes,17,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + // The status of each replica where the namespace is available. + // temporal:dev + Replicas []*Replica `protobuf:"bytes,18,rep,name=replicas,proto3" json:"replicas,omitempty"` } func (m *Namespace) Reset() { *m = Namespace{} } func (*Namespace) ProtoMessage() {} func (*Namespace) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{13} + return fileDescriptor_4ea8dce281a9b52e, []int{15} } func (m *Namespace) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1697,6 +1859,7 @@ func (m *Namespace) GetLastModifiedTime() *types.Timestamp { return nil } +// Deprecated: Do not use. func (m *Namespace) GetRegionStatus() map[string]*NamespaceRegionStatus { if m != nil { return m.RegionStatus @@ -1725,6 +1888,20 @@ func (m *Namespace) GetCapacity() *Capacity { return nil } +func (m *Namespace) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + +func (m *Namespace) GetReplicas() []*Replica { + if m != nil { + return m.Replicas + } + return nil +} + type NamespaceRegionStatus struct { // The current state of the namespace region. // Possible values: adding, active, passive, removing, failed. @@ -1743,7 +1920,7 @@ type NamespaceRegionStatus struct { func (m *NamespaceRegionStatus) Reset() { *m = NamespaceRegionStatus{} } func (*NamespaceRegionStatus) ProtoMessage() {} func (*NamespaceRegionStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{14} + return fileDescriptor_4ea8dce281a9b52e, []int{16} } func (m *NamespaceRegionStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1809,7 +1986,7 @@ type ExportSinkSpec struct { func (m *ExportSinkSpec) Reset() { *m = ExportSinkSpec{} } func (*ExportSinkSpec) ProtoMessage() {} func (*ExportSinkSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{15} + return fileDescriptor_4ea8dce281a9b52e, []int{17} } func (m *ExportSinkSpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1888,7 +2065,7 @@ type ExportSink struct { func (m *ExportSink) Reset() { *m = ExportSink{} } func (*ExportSink) ProtoMessage() {} func (*ExportSink) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{16} + return fileDescriptor_4ea8dce281a9b52e, []int{18} } func (m *ExportSink) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1988,7 +2165,7 @@ type MigrationSpec struct { func (m *MigrationSpec) Reset() { *m = MigrationSpec{} } func (*MigrationSpec) ProtoMessage() {} func (*MigrationSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{17} + return fileDescriptor_4ea8dce281a9b52e, []int{19} } func (m *MigrationSpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2081,7 +2258,7 @@ type MigrationToCloudSpec struct { func (m *MigrationToCloudSpec) Reset() { *m = MigrationToCloudSpec{} } func (*MigrationToCloudSpec) ProtoMessage() {} func (*MigrationToCloudSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{18} + return fileDescriptor_4ea8dce281a9b52e, []int{20} } func (m *MigrationToCloudSpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2135,7 +2312,7 @@ type MigrationToSelfHostedSpec struct { func (m *MigrationToSelfHostedSpec) Reset() { *m = MigrationToSelfHostedSpec{} } func (*MigrationToSelfHostedSpec) ProtoMessage() {} func (*MigrationToSelfHostedSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{19} + return fileDescriptor_4ea8dce281a9b52e, []int{21} } func (m *MigrationToSelfHostedSpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2193,7 +2370,7 @@ type ReplicationEstimate struct { func (m *ReplicationEstimate) Reset() { *m = ReplicationEstimate{} } func (*ReplicationEstimate) ProtoMessage() {} func (*ReplicationEstimate) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{20} + return fileDescriptor_4ea8dce281a9b52e, []int{22} } func (m *ReplicationEstimate) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2275,7 +2452,7 @@ type Migration struct { func (m *Migration) Reset() { *m = Migration{} } func (*Migration) ProtoMessage() {} func (*Migration) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{21} + return fileDescriptor_4ea8dce281a9b52e, []int{23} } func (m *Migration) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2374,7 +2551,7 @@ type MigrationReplica struct { func (m *MigrationReplica) Reset() { *m = MigrationReplica{} } func (*MigrationReplica) ProtoMessage() {} func (*MigrationReplica) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{22} + return fileDescriptor_4ea8dce281a9b52e, []int{24} } func (m *MigrationReplica) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2417,269 +2594,660 @@ func (m *MigrationReplica) GetState() MigrationReplica_State { return STATE_REPLICA_UNSPECIFIED } -func init() { - proto.RegisterEnum("temporal.api.cloud.namespace.v1.Capacity_Request_State", Capacity_Request_State_name, Capacity_Request_State_value) - proto.RegisterEnum("temporal.api.cloud.namespace.v1.NamespaceSpec_SearchAttributeType", NamespaceSpec_SearchAttributeType_name, NamespaceSpec_SearchAttributeType_value) - proto.RegisterEnum("temporal.api.cloud.namespace.v1.NamespaceRegionStatus_State", NamespaceRegionStatus_State_name, NamespaceRegionStatus_State_value) - proto.RegisterEnum("temporal.api.cloud.namespace.v1.ExportSink_Health", ExportSink_Health_name, ExportSink_Health_value) - proto.RegisterEnum("temporal.api.cloud.namespace.v1.Migration_State", Migration_State_name, Migration_State_value) - proto.RegisterEnum("temporal.api.cloud.namespace.v1.MigrationReplica_State", MigrationReplica_State_name, MigrationReplica_State_value) - proto.RegisterType((*CertificateFilterSpec)(nil), "temporal.api.cloud.namespace.v1.CertificateFilterSpec") - proto.RegisterType((*MtlsAuthSpec)(nil), "temporal.api.cloud.namespace.v1.MtlsAuthSpec") - proto.RegisterType((*ApiKeyAuthSpec)(nil), "temporal.api.cloud.namespace.v1.ApiKeyAuthSpec") - proto.RegisterType((*LifecycleSpec)(nil), "temporal.api.cloud.namespace.v1.LifecycleSpec") - proto.RegisterType((*CodecServerSpec)(nil), "temporal.api.cloud.namespace.v1.CodecServerSpec") - proto.RegisterType((*CodecServerSpec_CustomErrorMessage)(nil), "temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage") - proto.RegisterType((*CodecServerSpec_CustomErrorMessage_ErrorMessage)(nil), "temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage.ErrorMessage") - proto.RegisterType((*HighAvailabilitySpec)(nil), "temporal.api.cloud.namespace.v1.HighAvailabilitySpec") - proto.RegisterType((*CapacitySpec)(nil), "temporal.api.cloud.namespace.v1.CapacitySpec") - proto.RegisterType((*CapacitySpec_OnDemand)(nil), "temporal.api.cloud.namespace.v1.CapacitySpec.OnDemand") - proto.RegisterType((*CapacitySpec_Provisioned)(nil), "temporal.api.cloud.namespace.v1.CapacitySpec.Provisioned") - proto.RegisterType((*Capacity)(nil), "temporal.api.cloud.namespace.v1.Capacity") - proto.RegisterType((*Capacity_OnDemand)(nil), "temporal.api.cloud.namespace.v1.Capacity.OnDemand") - proto.RegisterType((*Capacity_Provisioned)(nil), "temporal.api.cloud.namespace.v1.Capacity.Provisioned") - proto.RegisterType((*Capacity_Request)(nil), "temporal.api.cloud.namespace.v1.Capacity.Request") - proto.RegisterType((*NamespaceSpec)(nil), "temporal.api.cloud.namespace.v1.NamespaceSpec") - proto.RegisterMapType((map[string]string)(nil), "temporal.api.cloud.namespace.v1.NamespaceSpec.CustomSearchAttributesEntry") - proto.RegisterMapType((map[string]NamespaceSpec_SearchAttributeType)(nil), "temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributesEntry") - proto.RegisterType((*Endpoints)(nil), "temporal.api.cloud.namespace.v1.Endpoints") - proto.RegisterType((*Limits)(nil), "temporal.api.cloud.namespace.v1.Limits") - proto.RegisterType((*AWSPrivateLinkInfo)(nil), "temporal.api.cloud.namespace.v1.AWSPrivateLinkInfo") - proto.RegisterType((*PrivateConnectivity)(nil), "temporal.api.cloud.namespace.v1.PrivateConnectivity") - proto.RegisterType((*Namespace)(nil), "temporal.api.cloud.namespace.v1.Namespace") - proto.RegisterMapType((map[string]*NamespaceRegionStatus)(nil), "temporal.api.cloud.namespace.v1.Namespace.RegionStatusEntry") - proto.RegisterMapType((map[string]string)(nil), "temporal.api.cloud.namespace.v1.Namespace.TagsEntry") - proto.RegisterType((*NamespaceRegionStatus)(nil), "temporal.api.cloud.namespace.v1.NamespaceRegionStatus") - proto.RegisterType((*ExportSinkSpec)(nil), "temporal.api.cloud.namespace.v1.ExportSinkSpec") - proto.RegisterType((*ExportSink)(nil), "temporal.api.cloud.namespace.v1.ExportSink") - proto.RegisterType((*MigrationSpec)(nil), "temporal.api.cloud.namespace.v1.MigrationSpec") - proto.RegisterType((*MigrationToCloudSpec)(nil), "temporal.api.cloud.namespace.v1.MigrationToCloudSpec") - proto.RegisterType((*MigrationToSelfHostedSpec)(nil), "temporal.api.cloud.namespace.v1.MigrationToSelfHostedSpec") - proto.RegisterType((*ReplicationEstimate)(nil), "temporal.api.cloud.namespace.v1.ReplicationEstimate") - proto.RegisterType((*Migration)(nil), "temporal.api.cloud.namespace.v1.Migration") - proto.RegisterType((*MigrationReplica)(nil), "temporal.api.cloud.namespace.v1.MigrationReplica") +// NamespaceCapacityInfo contains detailed capacity information for a namespace. +// This message uses nested types following the pattern established by Capacity and CapacitySpec. +// temporal:dev +type NamespaceCapacityInfo struct { + // The namespace identifier. + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + // Whether the namespace's APS limit was set by Temporal Support. + // When true, adjusting the namespace's capacity will reset this limit. + HasLegacyLimits bool `protobuf:"varint,2,opt,name=has_legacy_limits,json=hasLegacyLimits,proto3" json:"has_legacy_limits,omitempty"` + // The current capacity of the namespace. + // Includes the current mode (on-demand or provisioned) and latest request status. + CurrentCapacity *Capacity `protobuf:"bytes,3,opt,name=current_capacity,json=currentCapacity,proto3" json:"current_capacity,omitempty"` + // Available capacity mode options for this namespace. + // Contains configuration limits for both provisioned and on-demand modes. + ModeOptions *NamespaceCapacityInfo_CapacityModeOptions `protobuf:"bytes,4,opt,name=mode_options,json=modeOptions,proto3" json:"mode_options,omitempty"` + // Usage statistics for the namespace over the last 7 days. + // Used to calculate On-Demand capacity limits, also useful for capacity planning. + Stats *NamespaceCapacityInfo_Stats `protobuf:"bytes,5,opt,name=stats,proto3" json:"stats,omitempty"` +} + +func (m *NamespaceCapacityInfo) Reset() { *m = NamespaceCapacityInfo{} } +func (*NamespaceCapacityInfo) ProtoMessage() {} +func (*NamespaceCapacityInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_4ea8dce281a9b52e, []int{25} +} +func (m *NamespaceCapacityInfo) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -func init() { - proto.RegisterFile("temporal/api/cloud/namespace/v1/message.proto", fileDescriptor_4ea8dce281a9b52e) +func (m *NamespaceCapacityInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NamespaceCapacityInfo.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } } - -var fileDescriptor_4ea8dce281a9b52e = []byte{ - // 3141 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x5a, 0xcd, 0x73, 0x1b, 0x47, - 0x76, 0xe7, 0x00, 0xfc, 0xc2, 0x03, 0x48, 0x8e, 0x9a, 0x1f, 0x86, 0x60, 0x09, 0x92, 0x20, 0xcb, - 0x92, 0x15, 0x1b, 0xb4, 0x28, 0x29, 0x96, 0x69, 0xa7, 0x5c, 0x20, 0x30, 0x24, 0x61, 0x93, 0x04, - 0x34, 0x00, 0x25, 0x2b, 0x29, 0xd7, 0xd4, 0x70, 0xd0, 0x04, 0xdb, 0x1c, 0xcc, 0xc0, 0xd3, 0x03, - 0x32, 0x8c, 0x2f, 0xa9, 0x5c, 0x9c, 0x43, 0x0e, 0x39, 0x24, 0xa7, 0x5c, 0x52, 0x95, 0x43, 0x3e, - 0x2a, 0xb7, 0x9c, 0x93, 0x43, 0xb6, 0xb6, 0x76, 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 0x95, 0x9b, 0xca, 0xbd, 0x94, - 0x0e, 0x82, 0xb4, 0x67, 0x76, 0x30, 0x2a, 0x40, 0xc6, 0xf5, 0xda, 0xa6, 0x43, 0xfe, 0xc6, 0xf4, - 0x89, 0xeb, 0x64, 0x13, 0x5c, 0x62, 0x80, 0x86, 0x56, 0x61, 0x31, 0x3a, 0x36, 0x6d, 0xa3, 0xe7, - 0x10, 0x3f, 0x9b, 0xe4, 0xa2, 0x68, 0x90, 0xb5, 0xef, 0x10, 0x1f, 0x3d, 0x81, 0x2c, 0xed, 0x1d, - 0x7c, 0x8e, 0x2d, 0xdf, 0x30, 0x99, 0x29, 0x8e, 0xe9, 0x93, 0x13, 0x2c, 0x4c, 0x98, 0xe4, 0x5a, - 0x2b, 0x92, 0x5f, 0xea, 0xb3, 0x99, 0x39, 0x85, 0xbf, 0x4b, 0x40, 0x66, 0xd7, 0xb7, 0x69, 0xa9, - 0xe7, 0x1f, 0xf1, 0x05, 0x94, 0xe0, 0xba, 0x69, 0x59, 0xb8, 0xeb, 0xe3, 0x96, 0x61, 0xd9, 0x04, - 0x3b, 0xbe, 0x61, 0x99, 0x46, 0x0b, 0x77, 0x3d, 0xcc, 0x96, 0xda, 0x92, 0x4b, 0xca, 0x05, 0x42, - 0x65, 0x2e, 0x53, 0x36, 0x2b, 0xa1, 0x04, 0x7a, 0x1b, 0xd0, 0x79, 0x08, 0x6e, 0x47, 0x46, 0x57, - 0x87, 0xf5, 0x50, 0x1b, 0x16, 0xad, 0xbe, 0x2b, 0x8d, 0x43, 0xee, 0x4b, 0x9a, 0x4d, 0xdc, 0x4c, - 0xde, 0x4b, 0xaf, 0xfd, 0x79, 0x71, 0x44, 0xe4, 0x14, 0x63, 0xb7, 0x41, 0x47, 0xd6, 0x30, 0x99, - 0xa2, 0x2c, 0xcc, 0x60, 0xc7, 0x3c, 0xb0, 0x71, 0x8b, 0x7b, 0x72, 0x56, 0x0f, 0x86, 0x85, 0xfb, - 0x30, 0x5f, 0xea,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x73, 0x98, 0x69, 0xe1, 0x43, 0xb3, 0x67, 0x0b, - 0xef, 0xa4, 0xd7, 0xea, 0x7f, 0x04, 0x03, 0x8a, 0x03, 0xd6, 0x04, 0x13, 0xe4, 0x3e, 0x84, 0xcc, - 0xc0, 0xdc, 0x59, 0x98, 0x09, 0x16, 0x2f, 0x76, 0x26, 0x18, 0x22, 0x04, 0x93, 0x36, 0x71, 0x8e, - 0xe5, 0x59, 0xe6, 0xdf, 0x85, 0x3a, 0x2c, 0x6d, 0x93, 0xf6, 0x51, 0xe9, 0xc4, 0x24, 0xb6, 0x79, - 0x40, 0x6c, 0xe2, 0x9f, 0x05, 0xe1, 0xd2, 0x22, 0x94, 0xc7, 0x4b, 0xc7, 0x74, 0xcc, 0x36, 0x6e, - 0x19, 0x87, 0x26, 0xb1, 0xdd, 0x13, 0xec, 0x05, 0xe1, 0x22, 0xf9, 0xbb, 0x82, 0xbd, 0x29, 0xb9, - 0x85, 0xdf, 0x29, 0x90, 0x29, 0x9b, 0x5d, 0xd3, 0x0a, 0xa0, 0xf6, 0x21, 0xe5, 0x3a, 0x46, 0x0b, - 0x77, 0x4c, 0xa7, 0x25, 0xdd, 0x31, 0xc6, 0x79, 0x89, 0x20, 0x14, 0x6b, 0x4e, 0x85, 0x6b, 0x6f, - 0x4f, 0xe8, 0xb3, 0xae, 0xfc, 0x46, 0x9f, 0x41, 0xba, 0xeb, 0xb9, 0x27, 0x84, 0x12, 0xd7, 0xc1, - 0x2d, 0xbe, 0xa8, 0xf4, 0xda, 0xfb, 0x97, 0x03, 0xae, 0xf7, 0x01, 0xb6, 0x27, 0xf4, 0x28, 0x5e, - 0x0e, 0x60, 0x36, 0x98, 0x36, 0x77, 0x1b, 0xd2, 0x11, 0x49, 0xb4, 0x04, 0x53, 0x27, 0xa6, 0xdd, - 0x13, 0xfe, 0x55, 0x74, 0x31, 0xd8, 0x98, 0x86, 0x49, 0xda, 0xc5, 0x56, 0xe1, 0x47, 0xd3, 0x30, - 0x1b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e5, 0xeb, 0x6f, 0xf3, 0x13, 0xdf, 0x7c, 0x9b, 0x9f, 0xf8, - 0xfe, 0xdb, 0xbc, 0xf2, 0xb7, 0x2f, 0xf3, 0xca, 0x7f, 0xbc, 0xcc, 0x2b, 0x3f, 0x7d, 0x99, 0x57, - 0xbe, 0x7e, 0x99, 0x57, 0x7e, 0xf9, 0x32, 0xaf, 0xfc, 0xfa, 0x65, 0x7e, 0xe2, 0xfb, 0x97, 0x79, - 0xe5, 0x1f, 0xbf, 0xcb, 0x4f, 0x7c, 0xfd, 0x5d, 0x7e, 0xe2, 0x9b, 0xef, 0xf2, 0x13, 0x50, 0x20, - 0xee, 0x28, 0x17, 0x6d, 0x64, 0xe4, 0x81, 0xac, 0xb3, 0x6e, 0xa4, 0xae, 0xfc, 0xe5, 0x6a, 0x3b, - 0xa2, 0x43, 0xdc, 0x0b, 0xfe, 0xed, 0xf2, 0x41, 0x38, 0xf8, 0xaf, 0xc4, 0xad, 0xa6, 0x14, 0x27, - 0x6e, 0xb1, 0xd4, 0x25, 0x45, 0x5e, 0x18, 0x23, 0x37, 0xb5, 0x67, 0x0f, 0x7e, 0x93, 0xb8, 0xd3, - 0x97, 0x59, 0x5f, 0x2f, 0x75, 0xc9, 0xfa, 0x3a, 0x97, 0x5a, 0x5f, 0x0f, 0xc5, 0xd6, 0xd7, 0x9f, - 0x3d, 0x38, 0x98, 0xe6, 0x3d, 0xd1, 0xc3, 0xdf, 0x07, 0x00, 0x00, 0xff, 0xff, 0x00, 0xa9, 0x86, - 0x67, 0x6d, 0x23, 0x00, 0x00, +func (m *NamespaceCapacityInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_NamespaceCapacityInfo.Merge(m, src) +} +func (m *NamespaceCapacityInfo) XXX_Size() int { + return m.Size() +} +func (m *NamespaceCapacityInfo) XXX_DiscardUnknown() { + xxx_messageInfo_NamespaceCapacityInfo.DiscardUnknown(m) } -func (x Capacity_Request_State) String() string { - s, ok := Capacity_Request_State_name[int32(x)] - if ok { - return s +var xxx_messageInfo_NamespaceCapacityInfo proto.InternalMessageInfo + +func (m *NamespaceCapacityInfo) GetNamespace() string { + if m != nil { + return m.Namespace } - return strconv.Itoa(int(x)) + return "" } -func (x NamespaceSpec_SearchAttributeType) String() string { - s, ok := NamespaceSpec_SearchAttributeType_name[int32(x)] - if ok { - return s + +func (m *NamespaceCapacityInfo) GetHasLegacyLimits() bool { + if m != nil { + return m.HasLegacyLimits } - return strconv.Itoa(int(x)) + return false } -func (x NamespaceRegionStatus_State) String() string { + +func (m *NamespaceCapacityInfo) GetCurrentCapacity() *Capacity { + if m != nil { + return m.CurrentCapacity + } + return nil +} + +func (m *NamespaceCapacityInfo) GetModeOptions() *NamespaceCapacityInfo_CapacityModeOptions { + if m != nil { + return m.ModeOptions + } + return nil +} + +func (m *NamespaceCapacityInfo) GetStats() *NamespaceCapacityInfo_Stats { + if m != nil { + return m.Stats + } + return nil +} + +type NamespaceCapacityInfo_CapacityModeOptions struct { + // Provisioned capacity options and entitlements. + Provisioned *NamespaceCapacityInfo_CapacityModeOptions_Provisioned `protobuf:"bytes,1,opt,name=provisioned,proto3" json:"provisioned,omitempty"` + // On-Demand capacity information. + OnDemand *NamespaceCapacityInfo_CapacityModeOptions_OnDemand `protobuf:"bytes,2,opt,name=on_demand,json=onDemand,proto3" json:"on_demand,omitempty"` +} + +func (m *NamespaceCapacityInfo_CapacityModeOptions) Reset() { + *m = NamespaceCapacityInfo_CapacityModeOptions{} +} +func (*NamespaceCapacityInfo_CapacityModeOptions) ProtoMessage() {} +func (*NamespaceCapacityInfo_CapacityModeOptions) Descriptor() ([]byte, []int) { + return fileDescriptor_4ea8dce281a9b52e, []int{25, 0} +} +func (m *NamespaceCapacityInfo_CapacityModeOptions) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NamespaceCapacityInfo_CapacityModeOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NamespaceCapacityInfo_CapacityModeOptions.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *NamespaceCapacityInfo_CapacityModeOptions) XXX_Merge(src proto.Message) { + xxx_messageInfo_NamespaceCapacityInfo_CapacityModeOptions.Merge(m, src) +} +func (m *NamespaceCapacityInfo_CapacityModeOptions) XXX_Size() int { + return m.Size() +} +func (m *NamespaceCapacityInfo_CapacityModeOptions) XXX_DiscardUnknown() { + xxx_messageInfo_NamespaceCapacityInfo_CapacityModeOptions.DiscardUnknown(m) +} + +var xxx_messageInfo_NamespaceCapacityInfo_CapacityModeOptions proto.InternalMessageInfo + +func (m *NamespaceCapacityInfo_CapacityModeOptions) GetProvisioned() *NamespaceCapacityInfo_CapacityModeOptions_Provisioned { + if m != nil { + return m.Provisioned + } + return nil +} + +func (m *NamespaceCapacityInfo_CapacityModeOptions) GetOnDemand() *NamespaceCapacityInfo_CapacityModeOptions_OnDemand { + if m != nil { + return m.OnDemand + } + return nil +} + +type NamespaceCapacityInfo_CapacityModeOptions_Provisioned struct { + // The valid TRU (Temporal Resource Unit) values that can be set. + // These are the discrete capacity tiers available for selection. + ValidTruValues []float64 `protobuf:"fixed64,1,rep,packed,name=valid_tru_values,json=validTruValues,proto3" json:"valid_tru_values,omitempty"` + // The maximum TRU value that can currently be set for this namespace. + // This may be lower than the highest value in valid_tru_values due to + // inventory constraints. + MaxAvailableTruValue float64 `protobuf:"fixed64,2,opt,name=max_available_tru_value,json=maxAvailableTruValue,proto3" json:"max_available_tru_value,omitempty"` +} + +func (m *NamespaceCapacityInfo_CapacityModeOptions_Provisioned) Reset() { + *m = NamespaceCapacityInfo_CapacityModeOptions_Provisioned{} +} +func (*NamespaceCapacityInfo_CapacityModeOptions_Provisioned) ProtoMessage() {} +func (*NamespaceCapacityInfo_CapacityModeOptions_Provisioned) Descriptor() ([]byte, []int) { + return fileDescriptor_4ea8dce281a9b52e, []int{25, 0, 0} +} +func (m *NamespaceCapacityInfo_CapacityModeOptions_Provisioned) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NamespaceCapacityInfo_CapacityModeOptions_Provisioned) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NamespaceCapacityInfo_CapacityModeOptions_Provisioned.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *NamespaceCapacityInfo_CapacityModeOptions_Provisioned) XXX_Merge(src proto.Message) { + xxx_messageInfo_NamespaceCapacityInfo_CapacityModeOptions_Provisioned.Merge(m, src) +} +func (m *NamespaceCapacityInfo_CapacityModeOptions_Provisioned) XXX_Size() int { + return m.Size() +} +func (m *NamespaceCapacityInfo_CapacityModeOptions_Provisioned) XXX_DiscardUnknown() { + xxx_messageInfo_NamespaceCapacityInfo_CapacityModeOptions_Provisioned.DiscardUnknown(m) +} + +var xxx_messageInfo_NamespaceCapacityInfo_CapacityModeOptions_Provisioned proto.InternalMessageInfo + +func (m *NamespaceCapacityInfo_CapacityModeOptions_Provisioned) GetValidTruValues() []float64 { + if m != nil { + return m.ValidTruValues + } + return nil +} + +func (m *NamespaceCapacityInfo_CapacityModeOptions_Provisioned) GetMaxAvailableTruValue() float64 { + if m != nil { + return m.MaxAvailableTruValue + } + return 0 +} + +type NamespaceCapacityInfo_CapacityModeOptions_OnDemand struct { + // The APS limit that would apply to this namespace in on-demand mode. + // See: https://docs.temporal.io/cloud/limits#actions-per-second + ApsLimit float64 `protobuf:"fixed64,1,opt,name=aps_limit,json=apsLimit,proto3" json:"aps_limit,omitempty"` +} + +func (m *NamespaceCapacityInfo_CapacityModeOptions_OnDemand) Reset() { + *m = NamespaceCapacityInfo_CapacityModeOptions_OnDemand{} +} +func (*NamespaceCapacityInfo_CapacityModeOptions_OnDemand) ProtoMessage() {} +func (*NamespaceCapacityInfo_CapacityModeOptions_OnDemand) Descriptor() ([]byte, []int) { + return fileDescriptor_4ea8dce281a9b52e, []int{25, 0, 1} +} +func (m *NamespaceCapacityInfo_CapacityModeOptions_OnDemand) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NamespaceCapacityInfo_CapacityModeOptions_OnDemand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NamespaceCapacityInfo_CapacityModeOptions_OnDemand.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *NamespaceCapacityInfo_CapacityModeOptions_OnDemand) XXX_Merge(src proto.Message) { + xxx_messageInfo_NamespaceCapacityInfo_CapacityModeOptions_OnDemand.Merge(m, src) +} +func (m *NamespaceCapacityInfo_CapacityModeOptions_OnDemand) XXX_Size() int { + return m.Size() +} +func (m *NamespaceCapacityInfo_CapacityModeOptions_OnDemand) XXX_DiscardUnknown() { + xxx_messageInfo_NamespaceCapacityInfo_CapacityModeOptions_OnDemand.DiscardUnknown(m) +} + +var xxx_messageInfo_NamespaceCapacityInfo_CapacityModeOptions_OnDemand proto.InternalMessageInfo + +func (m *NamespaceCapacityInfo_CapacityModeOptions_OnDemand) GetApsLimit() float64 { + if m != nil { + return m.ApsLimit + } + return 0 +} + +type NamespaceCapacityInfo_Stats struct { + // Actions-per-second measurements summarized over the last 7 days. + Aps *NamespaceCapacityInfo_Stats_Summary `protobuf:"bytes,1,opt,name=aps,proto3" json:"aps,omitempty"` +} + +func (m *NamespaceCapacityInfo_Stats) Reset() { *m = NamespaceCapacityInfo_Stats{} } +func (*NamespaceCapacityInfo_Stats) ProtoMessage() {} +func (*NamespaceCapacityInfo_Stats) Descriptor() ([]byte, []int) { + return fileDescriptor_4ea8dce281a9b52e, []int{25, 1} +} +func (m *NamespaceCapacityInfo_Stats) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NamespaceCapacityInfo_Stats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NamespaceCapacityInfo_Stats.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *NamespaceCapacityInfo_Stats) XXX_Merge(src proto.Message) { + xxx_messageInfo_NamespaceCapacityInfo_Stats.Merge(m, src) +} +func (m *NamespaceCapacityInfo_Stats) XXX_Size() int { + return m.Size() +} +func (m *NamespaceCapacityInfo_Stats) XXX_DiscardUnknown() { + xxx_messageInfo_NamespaceCapacityInfo_Stats.DiscardUnknown(m) +} + +var xxx_messageInfo_NamespaceCapacityInfo_Stats proto.InternalMessageInfo + +func (m *NamespaceCapacityInfo_Stats) GetAps() *NamespaceCapacityInfo_Stats_Summary { + if m != nil { + return m.Aps + } + return nil +} + +type NamespaceCapacityInfo_Stats_Summary struct { + Mean float64 `protobuf:"fixed64,1,opt,name=mean,proto3" json:"mean,omitempty"` + P90 float64 `protobuf:"fixed64,2,opt,name=p90,proto3" json:"p90,omitempty"` + P99 float64 `protobuf:"fixed64,3,opt,name=p99,proto3" json:"p99,omitempty"` +} + +func (m *NamespaceCapacityInfo_Stats_Summary) Reset() { *m = NamespaceCapacityInfo_Stats_Summary{} } +func (*NamespaceCapacityInfo_Stats_Summary) ProtoMessage() {} +func (*NamespaceCapacityInfo_Stats_Summary) Descriptor() ([]byte, []int) { + return fileDescriptor_4ea8dce281a9b52e, []int{25, 1, 0} +} +func (m *NamespaceCapacityInfo_Stats_Summary) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NamespaceCapacityInfo_Stats_Summary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NamespaceCapacityInfo_Stats_Summary.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *NamespaceCapacityInfo_Stats_Summary) XXX_Merge(src proto.Message) { + xxx_messageInfo_NamespaceCapacityInfo_Stats_Summary.Merge(m, src) +} +func (m *NamespaceCapacityInfo_Stats_Summary) XXX_Size() int { + return m.Size() +} +func (m *NamespaceCapacityInfo_Stats_Summary) XXX_DiscardUnknown() { + xxx_messageInfo_NamespaceCapacityInfo_Stats_Summary.DiscardUnknown(m) +} + +var xxx_messageInfo_NamespaceCapacityInfo_Stats_Summary proto.InternalMessageInfo + +func (m *NamespaceCapacityInfo_Stats_Summary) GetMean() float64 { + if m != nil { + return m.Mean + } + return 0 +} + +func (m *NamespaceCapacityInfo_Stats_Summary) GetP90() float64 { + if m != nil { + return m.P90 + } + return 0 +} + +func (m *NamespaceCapacityInfo_Stats_Summary) GetP99() float64 { + if m != nil { + return m.P99 + } + return 0 +} + +func init() { + proto.RegisterEnum("temporal.api.cloud.namespace.v1.Replica_ReplicaState", Replica_ReplicaState_name, Replica_ReplicaState_value) + proto.RegisterEnum("temporal.api.cloud.namespace.v1.Capacity_Request_State", Capacity_Request_State_name, Capacity_Request_State_value) + proto.RegisterEnum("temporal.api.cloud.namespace.v1.NamespaceSpec_SearchAttributeType", NamespaceSpec_SearchAttributeType_name, NamespaceSpec_SearchAttributeType_value) + proto.RegisterEnum("temporal.api.cloud.namespace.v1.NamespaceRegionStatus_State", NamespaceRegionStatus_State_name, NamespaceRegionStatus_State_value) + proto.RegisterEnum("temporal.api.cloud.namespace.v1.ExportSink_Health", ExportSink_Health_name, ExportSink_Health_value) + proto.RegisterEnum("temporal.api.cloud.namespace.v1.Migration_State", Migration_State_name, Migration_State_value) + proto.RegisterEnum("temporal.api.cloud.namespace.v1.MigrationReplica_State", MigrationReplica_State_name, MigrationReplica_State_value) + proto.RegisterType((*CertificateFilterSpec)(nil), "temporal.api.cloud.namespace.v1.CertificateFilterSpec") + proto.RegisterType((*MtlsAuthSpec)(nil), "temporal.api.cloud.namespace.v1.MtlsAuthSpec") + proto.RegisterType((*ApiKeyAuthSpec)(nil), "temporal.api.cloud.namespace.v1.ApiKeyAuthSpec") + proto.RegisterType((*LifecycleSpec)(nil), "temporal.api.cloud.namespace.v1.LifecycleSpec") + proto.RegisterType((*CodecServerSpec)(nil), "temporal.api.cloud.namespace.v1.CodecServerSpec") + proto.RegisterType((*CodecServerSpec_CustomErrorMessage)(nil), "temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage") + proto.RegisterType((*CodecServerSpec_CustomErrorMessage_ErrorMessage)(nil), "temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage.ErrorMessage") + proto.RegisterType((*HighAvailabilitySpec)(nil), "temporal.api.cloud.namespace.v1.HighAvailabilitySpec") + proto.RegisterType((*ReplicaSpec)(nil), "temporal.api.cloud.namespace.v1.ReplicaSpec") + proto.RegisterType((*Replica)(nil), "temporal.api.cloud.namespace.v1.Replica") + proto.RegisterType((*CapacitySpec)(nil), "temporal.api.cloud.namespace.v1.CapacitySpec") + proto.RegisterType((*CapacitySpec_OnDemand)(nil), "temporal.api.cloud.namespace.v1.CapacitySpec.OnDemand") + proto.RegisterType((*CapacitySpec_Provisioned)(nil), "temporal.api.cloud.namespace.v1.CapacitySpec.Provisioned") + proto.RegisterType((*Capacity)(nil), "temporal.api.cloud.namespace.v1.Capacity") + proto.RegisterType((*Capacity_OnDemand)(nil), "temporal.api.cloud.namespace.v1.Capacity.OnDemand") + proto.RegisterType((*Capacity_Provisioned)(nil), "temporal.api.cloud.namespace.v1.Capacity.Provisioned") + proto.RegisterType((*Capacity_Request)(nil), "temporal.api.cloud.namespace.v1.Capacity.Request") + proto.RegisterType((*NamespaceSpec)(nil), "temporal.api.cloud.namespace.v1.NamespaceSpec") + proto.RegisterMapType((map[string]string)(nil), "temporal.api.cloud.namespace.v1.NamespaceSpec.CustomSearchAttributesEntry") + proto.RegisterMapType((map[string]NamespaceSpec_SearchAttributeType)(nil), "temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributesEntry") + proto.RegisterType((*Endpoints)(nil), "temporal.api.cloud.namespace.v1.Endpoints") + proto.RegisterType((*Limits)(nil), "temporal.api.cloud.namespace.v1.Limits") + proto.RegisterType((*AWSPrivateLinkInfo)(nil), "temporal.api.cloud.namespace.v1.AWSPrivateLinkInfo") + proto.RegisterType((*PrivateConnectivity)(nil), "temporal.api.cloud.namespace.v1.PrivateConnectivity") + proto.RegisterType((*Namespace)(nil), "temporal.api.cloud.namespace.v1.Namespace") + proto.RegisterMapType((map[string]*NamespaceRegionStatus)(nil), "temporal.api.cloud.namespace.v1.Namespace.RegionStatusEntry") + proto.RegisterMapType((map[string]string)(nil), "temporal.api.cloud.namespace.v1.Namespace.TagsEntry") + proto.RegisterType((*NamespaceRegionStatus)(nil), "temporal.api.cloud.namespace.v1.NamespaceRegionStatus") + proto.RegisterType((*ExportSinkSpec)(nil), "temporal.api.cloud.namespace.v1.ExportSinkSpec") + proto.RegisterType((*ExportSink)(nil), "temporal.api.cloud.namespace.v1.ExportSink") + proto.RegisterType((*MigrationSpec)(nil), "temporal.api.cloud.namespace.v1.MigrationSpec") + proto.RegisterType((*MigrationToCloudSpec)(nil), "temporal.api.cloud.namespace.v1.MigrationToCloudSpec") + proto.RegisterType((*MigrationToSelfHostedSpec)(nil), "temporal.api.cloud.namespace.v1.MigrationToSelfHostedSpec") + proto.RegisterType((*ReplicationEstimate)(nil), "temporal.api.cloud.namespace.v1.ReplicationEstimate") + proto.RegisterType((*Migration)(nil), "temporal.api.cloud.namespace.v1.Migration") + proto.RegisterType((*MigrationReplica)(nil), "temporal.api.cloud.namespace.v1.MigrationReplica") + proto.RegisterType((*NamespaceCapacityInfo)(nil), "temporal.api.cloud.namespace.v1.NamespaceCapacityInfo") + proto.RegisterType((*NamespaceCapacityInfo_CapacityModeOptions)(nil), "temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions") + proto.RegisterType((*NamespaceCapacityInfo_CapacityModeOptions_Provisioned)(nil), "temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions.Provisioned") + proto.RegisterType((*NamespaceCapacityInfo_CapacityModeOptions_OnDemand)(nil), "temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions.OnDemand") + proto.RegisterType((*NamespaceCapacityInfo_Stats)(nil), "temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats") + proto.RegisterType((*NamespaceCapacityInfo_Stats_Summary)(nil), "temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats.Summary") +} + +func init() { + proto.RegisterFile("temporal/api/cloud/namespace/v1/message.proto", fileDescriptor_4ea8dce281a9b52e) +} + +var fileDescriptor_4ea8dce281a9b52e = []byte{ + // 3546 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x5a, 0xcd, 0x6f, 0x23, 0x47, + 0x76, 0x57, 0x93, 0xfa, 0xe2, 0x23, 0x25, 0xb5, 0x4a, 0x1f, 0xe6, 0xd0, 0x33, 0x9a, 0x19, 0xce, + 0xce, 0xce, 0xec, 0xc4, 0xa6, 0x3c, 0x9a, 0x99, 0xd8, 0xa3, 0x75, 0xb0, 0xa0, 0x48, 0xce, 0x88, + 0xb6, 0x24, 0xca, 0x4d, 0x4a, 0xf6, 0x24, 0x58, 0x34, 0x4a, 0xdd, 0x25, 0xaa, 0x57, 0xcd, 0xee, + 0x76, 0x57, 0x53, 0xb2, 0xb2, 0x97, 0x9c, 0xb2, 0x39, 0xe4, 0x90, 0x1c, 0x82, 0x00, 0xc9, 0x25, + 0x48, 0x0e, 0xf9, 0x40, 0x6e, 0x39, 0xe4, 0x12, 0xe4, 0x90, 0x20, 0x48, 0x8e, 0x3e, 0x1a, 0x09, + 0x10, 0xc4, 0x63, 0x04, 0x08, 0x72, 0xda, 0x7f, 0x20, 0x40, 0x50, 0x1f, 0xdd, 0xec, 0x26, 0x5b, + 0x23, 0xca, 0xf6, 0x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, 0xa1, + 0x85, 0x90, 0x7e, 0x28, 0xc8, 0x68, 0x4b, 0x42, 0xa1, 0xec, 0x98, 0x21, 0x3b, 0x71, 0x76, 0x05, + 0x16, 0x42, 0xef, 0x82, 0xca, 0x71, 0x5f, 0xbc, 0xa4, 0x33, 0x19, 0x95, 0x74, 0x16, 0x38, 0x2f, + 0x56, 0xc7, 0xa9, 0x85, 0x60, 0x73, 0x8e, 0xc7, 0x8b, 0xd4, 0xe0, 0x19, 0x9a, 0x29, 0x82, 0x9d, + 0xf8, 0x4e, 0x40, 0xcc, 0x74, 0xc0, 0x37, 0x75, 0x09, 0xe0, 0xdb, 0x86, 0x5c, 0xe8, 0x04, 0x54, + 0xe6, 0xbb, 0x47, 0x57, 0x4e, 0x35, 0x3a, 0x47, 0xda, 0xa0, 0x33, 0x83, 0xd6, 0xcc, 0x71, 0xcf, + 0x88, 0x2e, 0x9d, 0x60, 0x46, 0x14, 0xdb, 0x04, 0x51, 0x13, 0xae, 0xf0, 0x13, 0x98, 0xe6, 0xae, + 0xce, 0x32, 0x39, 0x1b, 0xeb, 0xc1, 0x18, 0x99, 0x90, 0x89, 0x6b, 0xb2, 0x1b, 0x3a, 0x85, 0xd5, + 0xd0, 0x8f, 0x62, 0x69, 0xc8, 0x22, 0xb4, 0x98, 0xe3, 0x19, 0xe2, 0xe9, 0x95, 0x0a, 0x53, 0x3c, + 0x57, 0x5b, 0xf1, 0x46, 0x88, 0x16, 0xa1, 0xe8, 0x37, 0xa0, 0x60, 0xf8, 0x84, 0x6d, 0x8d, 0x80, + 0xdd, 0x70, 0x25, 0xec, 0xce, 0x4b, 0x79, 0x0e, 0xbd, 0xb7, 0x01, 0xd9, 0x98, 0x72, 0x8c, 0x69, + 0x1d, 0x5b, 0xa1, 0x92, 0xfc, 0x95, 0x4a, 0x54, 0xd6, 0x6b, 0x57, 0x76, 0xe2, 0x9a, 0x08, 0xcc, + 0x89, 0x45, 0xd5, 0xd9, 0x1e, 0xf7, 0x69, 0xb1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bb, 0x20, 0xe8, + 0x7b, 0x71, 0x6c, 0x1b, 0x60, 0xbf, 0x4b, 0x82, 0x98, 0xa8, 0x3c, 0x95, 0x82, 0x1e, 0x89, 0x96, + 0x3f, 0x87, 0x1b, 0x97, 0x9a, 0xf9, 0x2b, 0x1a, 0xf2, 0xef, 0x14, 0x58, 0x92, 0x29, 0x91, 0x6f, + 0x26, 0x0d, 0xac, 0x1e, 0x3b, 0xdb, 0x4f, 0x61, 0x95, 0x39, 0xb0, 0xee, 0x93, 0x1e, 0xb6, 0x1c, + 0xcb, 0xe9, 0xca, 0x2b, 0x91, 0xb8, 0x94, 0x65, 0xb5, 0x65, 0xc6, 0xd5, 0x42, 0xa6, 0xb8, 0x10, + 0x51, 0x11, 0x81, 0x84, 0x32, 0x62, 0xea, 0x86, 0xdb, 0x77, 0x02, 0x3e, 0x70, 0x96, 0x45, 0xa0, + 0x90, 0x5e, 0x63, 0x64, 0xf4, 0x00, 0x16, 0x06, 0xba, 0x85, 0x64, 0x96, 0x4b, 0xce, 0x47, 0x64, + 0x21, 0x88, 0x60, 0xd2, 0x67, 0x91, 0x6a, 0x92, 0x97, 0x84, 0xf9, 0x77, 0xf9, 0x9f, 0x66, 0x20, + 0x17, 0xad, 0x14, 0xbb, 0xe8, 0x0d, 0x5c, 0x35, 0xf2, 0xd0, 0x7c, 0x44, 0x6b, 0x9a, 0xd1, 0xad, + 0x21, 0x33, 0xe6, 0xad, 0x21, 0x71, 0x16, 0x64, 0xa4, 0x7a, 0x91, 0x8c, 0x99, 0xef, 0x8d, 0xaf, + 0x24, 0x99, 0x20, 0x77, 0x63, 0xa8, 0x65, 0x92, 0xa3, 0x96, 0xc7, 0xe3, 0xab, 0x1a, 0x81, 0x2f, + 0xe8, 0x19, 0x2c, 0xc7, 0xd6, 0xfc, 0xdc, 0xf5, 0x4f, 0x8f, 0x6d, 0xf7, 0x9c, 0xf2, 0x70, 0x9a, + 0xe5, 0x69, 0x7f, 0x69, 0xc0, 0xff, 0x34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0xdf, 0xca, 0x97, 0x5f, 0xaf, 0x4d, 0x7c, 0xf5, 0xf5, 0xda, + 0xc4, 0x2f, 0xbf, 0x5e, 0x53, 0x7e, 0xe7, 0xf5, 0x9a, 0xf2, 0x57, 0xaf, 0xd7, 0x94, 0x7f, 0x7b, + 0xbd, 0xa6, 0x7c, 0xf9, 0x7a, 0x4d, 0xf9, 0xaf, 0xd7, 0x6b, 0xca, 0xff, 0xbc, 0x5e, 0x9b, 0xf8, + 0xe5, 0xeb, 0x35, 0xe5, 0x0f, 0xbe, 0x59, 0x9b, 0xf8, 0xf2, 0x9b, 0xb5, 0x89, 0xaf, 0xbe, 0x59, + 0x9b, 0x80, 0xb2, 0xe5, 0x5e, 0x35, 0x8d, 0xad, 0x82, 0xcc, 0xa7, 0xfb, 0xec, 0x32, 0xb1, 0xaf, + 0xfc, 0xe6, 0x7a, 0x37, 0xd6, 0xc7, 0x72, 0x2f, 0xf9, 0xb7, 0xe2, 0x8f, 0xa3, 0xc6, 0xdf, 0x64, + 0xee, 0x76, 0xa4, 0xb8, 0xe5, 0x56, 0xaa, 0x9e, 0x55, 0xe1, 0xb8, 0x36, 0x56, 0xcd, 0x39, 0x7c, + 0xfc, 0xbf, 0x99, 0xfb, 0x03, 0x99, 0xcd, 0xcd, 0xaa, 0x67, 0x6d, 0x6e, 0x72, 0xa9, 0xcd, 0xcd, + 0x48, 0x6c, 0x73, 0xf3, 0xf0, 0xf1, 0xd1, 0x34, 0xbf, 0xd2, 0x3c, 0xf9, 0xff, 0x00, 0x00, 0x00, + 0xff, 0xff, 0x41, 0x03, 0xc3, 0x3f, 0x2d, 0x29, 0x00, 0x00, +} + +func (x Replica_ReplicaState) String() string { + s, ok := Replica_ReplicaState_name[int32(x)] + if ok { + return s + } + return strconv.Itoa(int(x)) +} +func (x Capacity_Request_State) String() string { + s, ok := Capacity_Request_State_name[int32(x)] + if ok { + return s + } + return strconv.Itoa(int(x)) +} +func (x NamespaceSpec_SearchAttributeType) String() string { + s, ok := NamespaceSpec_SearchAttributeType_name[int32(x)] + if ok { + return s + } + return strconv.Itoa(int(x)) +} +func (x NamespaceRegionStatus_State) String() string { s, ok := NamespaceRegionStatus_State_name[int32(x)] if ok { return s @@ -2932,16 +3500,19 @@ func (this *HighAvailabilitySpec) Equal(that interface{}) bool { if this.DisableManagedFailover != that1.DisableManagedFailover { return false } + if this.PreferredPrimaryReplicaId != that1.PreferredPrimaryReplicaId { + return false + } return true } -func (this *CapacitySpec) Equal(that interface{}) bool { +func (this *ReplicaSpec) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*CapacitySpec) + that1, ok := that.(*ReplicaSpec) if !ok { - that2, ok := that.(CapacitySpec) + that2, ok := that.(ReplicaSpec) if ok { that1 = &that2 } else { @@ -2953,25 +3524,19 @@ func (this *CapacitySpec) Equal(that interface{}) bool { } else if this == nil { return false } - if that1.Spec == nil { - if this.Spec != nil { - return false - } - } else if this.Spec == nil { - return false - } else if !this.Spec.Equal(that1.Spec) { + if this.Region != that1.Region { return false } return true } -func (this *CapacitySpec_OnDemand_) Equal(that interface{}) bool { +func (this *Replica) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*CapacitySpec_OnDemand_) + that1, ok := that.(*Replica) if !ok { - that2, ok := that.(CapacitySpec_OnDemand_) + that2, ok := that.(Replica) if ok { that1 = &that2 } else { @@ -2983,10 +3548,73 @@ func (this *CapacitySpec_OnDemand_) Equal(that interface{}) bool { } else if this == nil { return false } - if !this.OnDemand.Equal(that1.OnDemand) { + if this.Id != that1.Id { return false } - return true + if this.IsPrimary != that1.IsPrimary { + return false + } + if this.State != that1.State { + return false + } + if this.Region != that1.Region { + return false + } + return true +} +func (this *CapacitySpec) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*CapacitySpec) + if !ok { + that2, ok := that.(CapacitySpec) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if that1.Spec == nil { + if this.Spec != nil { + return false + } + } else if this.Spec == nil { + return false + } else if !this.Spec.Equal(that1.Spec) { + return false + } + return true +} +func (this *CapacitySpec_OnDemand_) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*CapacitySpec_OnDemand_) + if !ok { + that2, ok := that.(CapacitySpec_OnDemand_) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if !this.OnDemand.Equal(that1.OnDemand) { + return false + } + return true } func (this *CapacitySpec_Provisioned_) Equal(that interface{}) bool { if that == nil { @@ -3294,6 +3922,14 @@ func (this *NamespaceSpec) Equal(that interface{}) bool { if !this.CapacitySpec.Equal(that1.CapacitySpec) { return false } + if len(this.Replicas) != len(that1.Replicas) { + return false + } + for i := range this.Replicas { + if !this.Replicas[i].Equal(that1.Replicas[i]) { + return false + } + } return true } func (this *Endpoints) Equal(that interface{}) bool { @@ -3348,12 +3984,6 @@ func (this *Limits) Equal(that interface{}) bool { if this.ActionsPerSecondLimit != that1.ActionsPerSecondLimit { return false } - if this.RequestsPerSecondLimit != that1.RequestsPerSecondLimit { - return false - } - if this.ConcurrentTaskPollerLimit != that1.ConcurrentTaskPollerLimit { - return false - } return true } func (this *AWSPrivateLinkInfo) Equal(that interface{}) bool { @@ -3507,6 +4137,17 @@ func (this *Namespace) Equal(that interface{}) bool { if !this.Capacity.Equal(that1.Capacity) { return false } + if this.ProjectId != that1.ProjectId { + return false + } + if len(this.Replicas) != len(that1.Replicas) { + return false + } + for i := range this.Replicas { + if !this.Replicas[i].Equal(that1.Replicas[i]) { + return false + } + } return true } func (this *NamespaceRegionStatus) Equal(that interface{}) bool { @@ -3862,6 +4503,179 @@ func (this *MigrationReplica) Equal(that interface{}) bool { } return true } +func (this *NamespaceCapacityInfo) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*NamespaceCapacityInfo) + if !ok { + that2, ok := that.(NamespaceCapacityInfo) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.Namespace != that1.Namespace { + return false + } + if this.HasLegacyLimits != that1.HasLegacyLimits { + return false + } + if !this.CurrentCapacity.Equal(that1.CurrentCapacity) { + return false + } + if !this.ModeOptions.Equal(that1.ModeOptions) { + return false + } + if !this.Stats.Equal(that1.Stats) { + return false + } + return true +} +func (this *NamespaceCapacityInfo_CapacityModeOptions) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*NamespaceCapacityInfo_CapacityModeOptions) + if !ok { + that2, ok := that.(NamespaceCapacityInfo_CapacityModeOptions) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if !this.Provisioned.Equal(that1.Provisioned) { + return false + } + if !this.OnDemand.Equal(that1.OnDemand) { + return false + } + return true +} +func (this *NamespaceCapacityInfo_CapacityModeOptions_Provisioned) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*NamespaceCapacityInfo_CapacityModeOptions_Provisioned) + if !ok { + that2, ok := that.(NamespaceCapacityInfo_CapacityModeOptions_Provisioned) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if len(this.ValidTruValues) != len(that1.ValidTruValues) { + return false + } + for i := range this.ValidTruValues { + if this.ValidTruValues[i] != that1.ValidTruValues[i] { + return false + } + } + if this.MaxAvailableTruValue != that1.MaxAvailableTruValue { + return false + } + return true +} +func (this *NamespaceCapacityInfo_CapacityModeOptions_OnDemand) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*NamespaceCapacityInfo_CapacityModeOptions_OnDemand) + if !ok { + that2, ok := that.(NamespaceCapacityInfo_CapacityModeOptions_OnDemand) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.ApsLimit != that1.ApsLimit { + return false + } + return true +} +func (this *NamespaceCapacityInfo_Stats) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*NamespaceCapacityInfo_Stats) + if !ok { + that2, ok := that.(NamespaceCapacityInfo_Stats) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if !this.Aps.Equal(that1.Aps) { + return false + } + return true +} +func (this *NamespaceCapacityInfo_Stats_Summary) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*NamespaceCapacityInfo_Stats_Summary) + if !ok { + that2, ok := that.(NamespaceCapacityInfo_Stats_Summary) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.Mean != that1.Mean { + return false + } + if this.P90 != that1.P90 { + return false + } + if this.P99 != that1.P99 { + return false + } + return true +} func (this *CertificateFilterSpec) GoString() string { if this == nil { return "nil" @@ -3952,9 +4766,33 @@ func (this *HighAvailabilitySpec) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 5) + s := make([]string, 0, 6) s = append(s, "&namespace.HighAvailabilitySpec{") s = append(s, "DisableManagedFailover: "+fmt.Sprintf("%#v", this.DisableManagedFailover)+",\n") + s = append(s, "PreferredPrimaryReplicaId: "+fmt.Sprintf("%#v", this.PreferredPrimaryReplicaId)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *ReplicaSpec) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&namespace.ReplicaSpec{") + s = append(s, "Region: "+fmt.Sprintf("%#v", this.Region)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *Replica) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 8) + s = append(s, "&namespace.Replica{") + s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") + s = append(s, "IsPrimary: "+fmt.Sprintf("%#v", this.IsPrimary)+",\n") + s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") + s = append(s, "Region: "+fmt.Sprintf("%#v", this.Region)+",\n") s = append(s, "}") return strings.Join(s, "") } @@ -4079,7 +4917,7 @@ func (this *NamespaceSpec) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 16) + s := make([]string, 0, 17) s = append(s, "&namespace.NamespaceSpec{") s = append(s, "Name: "+fmt.Sprintf("%#v", this.Name)+",\n") s = append(s, "Regions: "+fmt.Sprintf("%#v", this.Regions)+",\n") @@ -4129,6 +4967,9 @@ func (this *NamespaceSpec) GoString() string { if this.CapacitySpec != nil { s = append(s, "CapacitySpec: "+fmt.Sprintf("%#v", this.CapacitySpec)+",\n") } + if this.Replicas != nil { + s = append(s, "Replicas: "+fmt.Sprintf("%#v", this.Replicas)+",\n") + } s = append(s, "}") return strings.Join(s, "") } @@ -4148,11 +4989,9 @@ func (this *Limits) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 7) + s := make([]string, 0, 5) s = append(s, "&namespace.Limits{") s = append(s, "ActionsPerSecondLimit: "+fmt.Sprintf("%#v", this.ActionsPerSecondLimit)+",\n") - s = append(s, "RequestsPerSecondLimit: "+fmt.Sprintf("%#v", this.RequestsPerSecondLimit)+",\n") - s = append(s, "ConcurrentTaskPollerLimit: "+fmt.Sprintf("%#v", this.ConcurrentTaskPollerLimit)+",\n") s = append(s, "}") return strings.Join(s, "") } @@ -4184,7 +5023,7 @@ func (this *Namespace) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 20) + s := make([]string, 0, 22) s = append(s, "&namespace.Namespace{") s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") @@ -4242,6 +5081,10 @@ func (this *Namespace) GoString() string { if this.Capacity != nil { s = append(s, "Capacity: "+fmt.Sprintf("%#v", this.Capacity)+",\n") } + s = append(s, "ProjectId: "+fmt.Sprintf("%#v", this.ProjectId)+",\n") + if this.Replicas != nil { + s = append(s, "Replicas: "+fmt.Sprintf("%#v", this.Replicas)+",\n") + } s = append(s, "}") return strings.Join(s, "") } @@ -4395,7 +5238,87 @@ func (this *MigrationReplica) GoString() string { s = append(s, "}") return strings.Join(s, "") } -func valueToGoStringMessage(v interface{}, typ string) string { +func (this *NamespaceCapacityInfo) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 9) + s = append(s, "&namespace.NamespaceCapacityInfo{") + s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") + s = append(s, "HasLegacyLimits: "+fmt.Sprintf("%#v", this.HasLegacyLimits)+",\n") + if this.CurrentCapacity != nil { + s = append(s, "CurrentCapacity: "+fmt.Sprintf("%#v", this.CurrentCapacity)+",\n") + } + if this.ModeOptions != nil { + s = append(s, "ModeOptions: "+fmt.Sprintf("%#v", this.ModeOptions)+",\n") + } + if this.Stats != nil { + s = append(s, "Stats: "+fmt.Sprintf("%#v", this.Stats)+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} +func (this *NamespaceCapacityInfo_CapacityModeOptions) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 6) + s = append(s, "&namespace.NamespaceCapacityInfo_CapacityModeOptions{") + if this.Provisioned != nil { + s = append(s, "Provisioned: "+fmt.Sprintf("%#v", this.Provisioned)+",\n") + } + if this.OnDemand != nil { + s = append(s, "OnDemand: "+fmt.Sprintf("%#v", this.OnDemand)+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} +func (this *NamespaceCapacityInfo_CapacityModeOptions_Provisioned) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 6) + s = append(s, "&namespace.NamespaceCapacityInfo_CapacityModeOptions_Provisioned{") + s = append(s, "ValidTruValues: "+fmt.Sprintf("%#v", this.ValidTruValues)+",\n") + s = append(s, "MaxAvailableTruValue: "+fmt.Sprintf("%#v", this.MaxAvailableTruValue)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *NamespaceCapacityInfo_CapacityModeOptions_OnDemand) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&namespace.NamespaceCapacityInfo_CapacityModeOptions_OnDemand{") + s = append(s, "ApsLimit: "+fmt.Sprintf("%#v", this.ApsLimit)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *NamespaceCapacityInfo_Stats) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&namespace.NamespaceCapacityInfo_Stats{") + if this.Aps != nil { + s = append(s, "Aps: "+fmt.Sprintf("%#v", this.Aps)+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} +func (this *NamespaceCapacityInfo_Stats_Summary) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 7) + s = append(s, "&namespace.NamespaceCapacityInfo_Stats_Summary{") + s = append(s, "Mean: "+fmt.Sprintf("%#v", this.Mean)+",\n") + s = append(s, "P90: "+fmt.Sprintf("%#v", this.P90)+",\n") + s = append(s, "P99: "+fmt.Sprintf("%#v", this.P99)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func valueToGoStringMessage(v interface{}, typ string) string { rv := reflect.ValueOf(v) if rv.IsNil() { return "nil" @@ -4735,6 +5658,13 @@ func (m *HighAvailabilitySpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if len(m.PreferredPrimaryReplicaId) > 0 { + i -= len(m.PreferredPrimaryReplicaId) + copy(dAtA[i:], m.PreferredPrimaryReplicaId) + i = encodeVarintMessage(dAtA, i, uint64(len(m.PreferredPrimaryReplicaId))) + i-- + dAtA[i] = 0x12 + } if m.DisableManagedFailover { i-- if m.DisableManagedFailover { @@ -4748,6 +5678,88 @@ func (m *HighAvailabilitySpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *ReplicaSpec) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReplicaSpec) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ReplicaSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Region) > 0 { + i -= len(m.Region) + copy(dAtA[i:], m.Region) + i = encodeVarintMessage(dAtA, i, uint64(len(m.Region))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Replica) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Replica) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Replica) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Region) > 0 { + i -= len(m.Region) + copy(dAtA[i:], m.Region) + i = encodeVarintMessage(dAtA, i, uint64(len(m.Region))) + i-- + dAtA[i] = 0x22 + } + if m.State != 0 { + i = encodeVarintMessage(dAtA, i, uint64(m.State)) + i-- + dAtA[i] = 0x18 + } + if m.IsPrimary { + i-- + if m.IsPrimary { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if len(m.Id) > 0 { + i -= len(m.Id) + copy(dAtA[i:], m.Id) + i = encodeVarintMessage(dAtA, i, uint64(len(m.Id))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *CapacitySpec) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -5103,6 +6115,20 @@ func (m *NamespaceSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if len(m.Replicas) > 0 { + for iNdEx := len(m.Replicas) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Replicas[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMessage(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x6a + } + } if m.CapacitySpec != nil { { size, err := m.CapacitySpec.MarshalToSizedBuffer(dAtA[:i]) @@ -5308,16 +6334,6 @@ func (m *Limits) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if m.ConcurrentTaskPollerLimit != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.ConcurrentTaskPollerLimit)) - i-- - dAtA[i] = 0x18 - } - if m.RequestsPerSecondLimit != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.RequestsPerSecondLimit)) - i-- - dAtA[i] = 0x10 - } if m.ActionsPerSecondLimit != 0 { i = encodeVarintMessage(dAtA, i, uint64(m.ActionsPerSecondLimit)) i-- @@ -5429,6 +6445,31 @@ func (m *Namespace) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if len(m.Replicas) > 0 { + for iNdEx := len(m.Replicas) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Replicas[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMessage(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x92 + } + } + if len(m.ProjectId) > 0 { + i -= len(m.ProjectId) + copy(dAtA[i:], m.ProjectId) + i = encodeVarintMessage(dAtA, i, uint64(len(m.ProjectId))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a + } if m.Capacity != nil { { size, err := m.Capacity.MarshalToSizedBuffer(dAtA[:i]) @@ -6139,64 +7180,331 @@ func (m *MigrationReplica) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func encodeVarintMessage(dAtA []byte, offset int, v uint64) int { - offset -= sovMessage(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ +func (m *NamespaceCapacityInfo) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - dAtA[offset] = uint8(v) - return base + return dAtA[:n], nil } -func (m *CertificateFilterSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.CommonName) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.Organization) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.OrganizationalUnit) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.SubjectAlternativeName) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n + +func (m *NamespaceCapacityInfo) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MtlsAuthSpec) Size() (n int) { - if m == nil { - return 0 - } +func (m *NamespaceCapacityInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.AcceptedClientCaDeprecated) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) + if m.Stats != nil { + { + size, err := m.Stats.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMessage(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a } - if len(m.CertificateFilters) > 0 { - for _, e := range m.CertificateFilters { - l = e.Size() - n += 1 + l + sovMessage(uint64(l)) + if m.ModeOptions != nil { + { + size, err := m.ModeOptions.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMessage(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x22 } - if m.Enabled { - n += 2 + if m.CurrentCapacity != nil { + { + size, err := m.CurrentCapacity.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMessage(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a } - l = len(m.AcceptedClientCa) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) + if m.HasLegacyLimits { + i-- + if m.HasLegacyLimits { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if len(m.Namespace) > 0 { + i -= len(m.Namespace) + copy(dAtA[i:], m.Namespace) + i = encodeVarintMessage(dAtA, i, uint64(len(m.Namespace))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *NamespaceCapacityInfo_CapacityModeOptions) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *NamespaceCapacityInfo_CapacityModeOptions) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *NamespaceCapacityInfo_CapacityModeOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.OnDemand != nil { + { + size, err := m.OnDemand.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMessage(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.Provisioned != nil { + { + size, err := m.Provisioned.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMessage(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *NamespaceCapacityInfo_CapacityModeOptions_Provisioned) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *NamespaceCapacityInfo_CapacityModeOptions_Provisioned) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *NamespaceCapacityInfo_CapacityModeOptions_Provisioned) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.MaxAvailableTruValue != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.MaxAvailableTruValue)))) + i-- + dAtA[i] = 0x11 + } + if len(m.ValidTruValues) > 0 { + for iNdEx := len(m.ValidTruValues) - 1; iNdEx >= 0; iNdEx-- { + f39 := math.Float64bits(float64(m.ValidTruValues[iNdEx])) + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(f39)) + } + i = encodeVarintMessage(dAtA, i, uint64(len(m.ValidTruValues)*8)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *NamespaceCapacityInfo_CapacityModeOptions_OnDemand) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *NamespaceCapacityInfo_CapacityModeOptions_OnDemand) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *NamespaceCapacityInfo_CapacityModeOptions_OnDemand) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.ApsLimit != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.ApsLimit)))) + i-- + dAtA[i] = 0x9 + } + return len(dAtA) - i, nil +} + +func (m *NamespaceCapacityInfo_Stats) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *NamespaceCapacityInfo_Stats) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *NamespaceCapacityInfo_Stats) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Aps != nil { + { + size, err := m.Aps.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMessage(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *NamespaceCapacityInfo_Stats_Summary) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *NamespaceCapacityInfo_Stats_Summary) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *NamespaceCapacityInfo_Stats_Summary) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.P99 != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.P99)))) + i-- + dAtA[i] = 0x19 + } + if m.P90 != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.P90)))) + i-- + dAtA[i] = 0x11 + } + if m.Mean != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Mean)))) + i-- + dAtA[i] = 0x9 + } + return len(dAtA) - i, nil +} + +func encodeVarintMessage(dAtA []byte, offset int, v uint64) int { + offset -= sovMessage(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *CertificateFilterSpec) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.CommonName) + if l > 0 { + n += 1 + l + sovMessage(uint64(l)) + } + l = len(m.Organization) + if l > 0 { + n += 1 + l + sovMessage(uint64(l)) + } + l = len(m.OrganizationalUnit) + if l > 0 { + n += 1 + l + sovMessage(uint64(l)) + } + l = len(m.SubjectAlternativeName) + if l > 0 { + n += 1 + l + sovMessage(uint64(l)) + } + return n +} + +func (m *MtlsAuthSpec) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.AcceptedClientCaDeprecated) + if l > 0 { + n += 1 + l + sovMessage(uint64(l)) + } + if len(m.CertificateFilters) > 0 { + for _, e := range m.CertificateFilters { + l = e.Size() + n += 1 + l + sovMessage(uint64(l)) + } + } + if m.Enabled { + n += 2 + } + l = len(m.AcceptedClientCa) + if l > 0 { + n += 1 + l + sovMessage(uint64(l)) } return n } @@ -6287,46 +7595,86 @@ func (m *HighAvailabilitySpec) Size() (n int) { if m.DisableManagedFailover { n += 2 } + l = len(m.PreferredPrimaryReplicaId) + if l > 0 { + n += 1 + l + sovMessage(uint64(l)) + } return n } -func (m *CapacitySpec) Size() (n int) { +func (m *ReplicaSpec) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Spec != nil { - n += m.Spec.Size() + l = len(m.Region) + if l > 0 { + n += 1 + l + sovMessage(uint64(l)) } return n } -func (m *CapacitySpec_OnDemand_) Size() (n int) { +func (m *Replica) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.OnDemand != nil { - l = m.OnDemand.Size() + l = len(m.Id) + if l > 0 { n += 1 + l + sovMessage(uint64(l)) } - return n -} -func (m *CapacitySpec_Provisioned_) Size() (n int) { - if m == nil { - return 0 + if m.IsPrimary { + n += 2 } - var l int - _ = l - if m.Provisioned != nil { - l = m.Provisioned.Size() + if m.State != 0 { + n += 1 + sovMessage(uint64(m.State)) + } + l = len(m.Region) + if l > 0 { n += 1 + l + sovMessage(uint64(l)) } return n } -func (m *CapacitySpec_OnDemand) Size() (n int) { + +func (m *CapacitySpec) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Spec != nil { + n += m.Spec.Size() + } + return n +} + +func (m *CapacitySpec_OnDemand_) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.OnDemand != nil { + l = m.OnDemand.Size() + n += 1 + l + sovMessage(uint64(l)) + } + return n +} +func (m *CapacitySpec_Provisioned_) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Provisioned != nil { + l = m.Provisioned.Size() + n += 1 + l + sovMessage(uint64(l)) + } + return n +} +func (m *CapacitySpec_OnDemand) Size() (n int) { if m == nil { return 0 } @@ -6501,6 +7849,12 @@ func (m *NamespaceSpec) Size() (n int) { l = m.CapacitySpec.Size() n += 1 + l + sovMessage(uint64(l)) } + if len(m.Replicas) > 0 { + for _, e := range m.Replicas { + l = e.Size() + n += 1 + l + sovMessage(uint64(l)) + } + } return n } @@ -6534,12 +7888,6 @@ func (m *Limits) Size() (n int) { if m.ActionsPerSecondLimit != 0 { n += 1 + sovMessage(uint64(m.ActionsPerSecondLimit)) } - if m.RequestsPerSecondLimit != 0 { - n += 1 + sovMessage(uint64(m.RequestsPerSecondLimit)) - } - if m.ConcurrentTaskPollerLimit != 0 { - n += 1 + sovMessage(uint64(m.ConcurrentTaskPollerLimit)) - } return n } @@ -6667,6 +8015,16 @@ func (m *Namespace) Size() (n int) { l = m.Capacity.Size() n += 2 + l + sovMessage(uint64(l)) } + l = len(m.ProjectId) + if l > 0 { + n += 2 + l + sovMessage(uint64(l)) + } + if len(m.Replicas) > 0 { + for _, e := range m.Replicas { + l = e.Size() + n += 2 + l + sovMessage(uint64(l)) + } + } return n } @@ -6904,6 +8262,109 @@ func (m *MigrationReplica) Size() (n int) { return n } +func (m *NamespaceCapacityInfo) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Namespace) + if l > 0 { + n += 1 + l + sovMessage(uint64(l)) + } + if m.HasLegacyLimits { + n += 2 + } + if m.CurrentCapacity != nil { + l = m.CurrentCapacity.Size() + n += 1 + l + sovMessage(uint64(l)) + } + if m.ModeOptions != nil { + l = m.ModeOptions.Size() + n += 1 + l + sovMessage(uint64(l)) + } + if m.Stats != nil { + l = m.Stats.Size() + n += 1 + l + sovMessage(uint64(l)) + } + return n +} + +func (m *NamespaceCapacityInfo_CapacityModeOptions) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Provisioned != nil { + l = m.Provisioned.Size() + n += 1 + l + sovMessage(uint64(l)) + } + if m.OnDemand != nil { + l = m.OnDemand.Size() + n += 1 + l + sovMessage(uint64(l)) + } + return n +} + +func (m *NamespaceCapacityInfo_CapacityModeOptions_Provisioned) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ValidTruValues) > 0 { + n += 1 + sovMessage(uint64(len(m.ValidTruValues)*8)) + len(m.ValidTruValues)*8 + } + if m.MaxAvailableTruValue != 0 { + n += 9 + } + return n +} + +func (m *NamespaceCapacityInfo_CapacityModeOptions_OnDemand) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ApsLimit != 0 { + n += 9 + } + return n +} + +func (m *NamespaceCapacityInfo_Stats) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Aps != nil { + l = m.Aps.Size() + n += 1 + l + sovMessage(uint64(l)) + } + return n +} + +func (m *NamespaceCapacityInfo_Stats_Summary) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Mean != 0 { + n += 9 + } + if m.P90 != 0 { + n += 9 + } + if m.P99 != 0 { + n += 9 + } + return n +} + func sovMessage(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -7001,6 +8462,30 @@ func (this *HighAvailabilitySpec) String() string { } s := strings.Join([]string{`&HighAvailabilitySpec{`, `DisableManagedFailover:` + fmt.Sprintf("%v", this.DisableManagedFailover) + `,`, + `PreferredPrimaryReplicaId:` + fmt.Sprintf("%v", this.PreferredPrimaryReplicaId) + `,`, + `}`, + }, "") + return s +} +func (this *ReplicaSpec) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&ReplicaSpec{`, + `Region:` + fmt.Sprintf("%v", this.Region) + `,`, + `}`, + }, "") + return s +} +func (this *Replica) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&Replica{`, + `Id:` + fmt.Sprintf("%v", this.Id) + `,`, + `IsPrimary:` + fmt.Sprintf("%v", this.IsPrimary) + `,`, + `State:` + fmt.Sprintf("%v", this.State) + `,`, + `Region:` + fmt.Sprintf("%v", this.Region) + `,`, `}`, }, "") return s @@ -7122,6 +8607,11 @@ func (this *NamespaceSpec) String() string { if this == nil { return "nil" } + repeatedStringForReplicas := "[]*ReplicaSpec{" + for _, f := range this.Replicas { + repeatedStringForReplicas += strings.Replace(f.String(), "ReplicaSpec", "ReplicaSpec", 1) + "," + } + repeatedStringForReplicas += "}" keysForCustomSearchAttributes := make([]string, 0, len(this.CustomSearchAttributes)) for k, _ := range this.CustomSearchAttributes { keysForCustomSearchAttributes = append(keysForCustomSearchAttributes, k) @@ -7155,6 +8645,7 @@ func (this *NamespaceSpec) String() string { `HighAvailability:` + strings.Replace(this.HighAvailability.String(), "HighAvailabilitySpec", "HighAvailabilitySpec", 1) + `,`, `ConnectivityRuleIds:` + fmt.Sprintf("%v", this.ConnectivityRuleIds) + `,`, `CapacitySpec:` + strings.Replace(this.CapacitySpec.String(), "CapacitySpec", "CapacitySpec", 1) + `,`, + `Replicas:` + repeatedStringForReplicas + `,`, `}`, }, "") return s @@ -7177,8 +8668,6 @@ func (this *Limits) String() string { } s := strings.Join([]string{`&Limits{`, `ActionsPerSecondLimit:` + fmt.Sprintf("%v", this.ActionsPerSecondLimit) + `,`, - `RequestsPerSecondLimit:` + fmt.Sprintf("%v", this.RequestsPerSecondLimit) + `,`, - `ConcurrentTaskPollerLimit:` + fmt.Sprintf("%v", this.ConcurrentTaskPollerLimit) + `,`, `}`, }, "") return s @@ -7219,6 +8708,11 @@ func (this *Namespace) String() string { repeatedStringForConnectivityRules += strings.Replace(fmt.Sprintf("%v", f), "ConnectivityRule", "v11.ConnectivityRule", 1) + "," } repeatedStringForConnectivityRules += "}" + repeatedStringForReplicas := "[]*Replica{" + for _, f := range this.Replicas { + repeatedStringForReplicas += strings.Replace(f.String(), "Replica", "Replica", 1) + "," + } + repeatedStringForReplicas += "}" keysForRegionStatus := make([]string, 0, len(this.RegionStatus)) for k, _ := range this.RegionStatus { keysForRegionStatus = append(keysForRegionStatus, k) @@ -7256,6 +8750,8 @@ func (this *Namespace) String() string { `ConnectivityRules:` + repeatedStringForConnectivityRules + `,`, `Tags:` + mapStringForTags + `,`, `Capacity:` + strings.Replace(this.Capacity.String(), "Capacity", "Capacity", 1) + `,`, + `ProjectId:` + fmt.Sprintf("%v", this.ProjectId) + `,`, + `Replicas:` + repeatedStringForReplicas + `,`, `}`, }, "") return s @@ -7401,6 +8897,74 @@ func (this *MigrationReplica) String() string { }, "") return s } +func (this *NamespaceCapacityInfo) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&NamespaceCapacityInfo{`, + `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, + `HasLegacyLimits:` + fmt.Sprintf("%v", this.HasLegacyLimits) + `,`, + `CurrentCapacity:` + strings.Replace(this.CurrentCapacity.String(), "Capacity", "Capacity", 1) + `,`, + `ModeOptions:` + strings.Replace(fmt.Sprintf("%v", this.ModeOptions), "NamespaceCapacityInfo_CapacityModeOptions", "NamespaceCapacityInfo_CapacityModeOptions", 1) + `,`, + `Stats:` + strings.Replace(fmt.Sprintf("%v", this.Stats), "NamespaceCapacityInfo_Stats", "NamespaceCapacityInfo_Stats", 1) + `,`, + `}`, + }, "") + return s +} +func (this *NamespaceCapacityInfo_CapacityModeOptions) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&NamespaceCapacityInfo_CapacityModeOptions{`, + `Provisioned:` + strings.Replace(fmt.Sprintf("%v", this.Provisioned), "NamespaceCapacityInfo_CapacityModeOptions_Provisioned", "NamespaceCapacityInfo_CapacityModeOptions_Provisioned", 1) + `,`, + `OnDemand:` + strings.Replace(fmt.Sprintf("%v", this.OnDemand), "NamespaceCapacityInfo_CapacityModeOptions_OnDemand", "NamespaceCapacityInfo_CapacityModeOptions_OnDemand", 1) + `,`, + `}`, + }, "") + return s +} +func (this *NamespaceCapacityInfo_CapacityModeOptions_Provisioned) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&NamespaceCapacityInfo_CapacityModeOptions_Provisioned{`, + `ValidTruValues:` + fmt.Sprintf("%v", this.ValidTruValues) + `,`, + `MaxAvailableTruValue:` + fmt.Sprintf("%v", this.MaxAvailableTruValue) + `,`, + `}`, + }, "") + return s +} +func (this *NamespaceCapacityInfo_CapacityModeOptions_OnDemand) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&NamespaceCapacityInfo_CapacityModeOptions_OnDemand{`, + `ApsLimit:` + fmt.Sprintf("%v", this.ApsLimit) + `,`, + `}`, + }, "") + return s +} +func (this *NamespaceCapacityInfo_Stats) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&NamespaceCapacityInfo_Stats{`, + `Aps:` + strings.Replace(fmt.Sprintf("%v", this.Aps), "NamespaceCapacityInfo_Stats_Summary", "NamespaceCapacityInfo_Stats_Summary", 1) + `,`, + `}`, + }, "") + return s +} +func (this *NamespaceCapacityInfo_Stats_Summary) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&NamespaceCapacityInfo_Stats_Summary{`, + `Mean:` + fmt.Sprintf("%v", this.Mean) + `,`, + `P90:` + fmt.Sprintf("%v", this.P90) + `,`, + `P99:` + fmt.Sprintf("%v", this.P99) + `,`, + `}`, + }, "") + return s +} func valueToStringMessage(v interface{}) string { rv := reflect.ValueOf(v) if rv.IsNil() { @@ -8325,6 +9889,38 @@ func (m *HighAvailabilitySpec) Unmarshal(dAtA []byte) error { } } m.DisableManagedFailover = bool(v != 0) + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PreferredPrimaryReplicaId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PreferredPrimaryReplicaId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipMessage(dAtA[iNdEx:]) @@ -8349,7 +9945,7 @@ func (m *HighAvailabilitySpec) Unmarshal(dAtA []byte) error { } return nil } -func (m *CapacitySpec) Unmarshal(dAtA []byte) error { +func (m *ReplicaSpec) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8372,17 +9968,17 @@ func (m *CapacitySpec) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CapacitySpec: wiretype end group for non-group") + return fmt.Errorf("proto: ReplicaSpec: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CapacitySpec: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ReplicaSpec: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OnDemand", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMessage @@ -8392,27 +9988,268 @@ func (m *CapacitySpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthMessage } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthMessage } if postIndex > l { return io.ErrUnexpectedEOF } - v := &CapacitySpec_OnDemand{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Region = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { return err } - m.Spec = &CapacitySpec_OnDemand_{v} - iNdEx = postIndex + if skippy < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Replica) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Replica: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Replica: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Id = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsPrimary", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsPrimary = bool(v != 0) + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) + } + m.State = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.State |= Replica_ReplicaState(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Region = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CapacitySpec) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CapacitySpec: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CapacitySpec: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OnDemand", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &CapacitySpec_OnDemand{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Spec = &CapacitySpec_OnDemand_{v} + iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Provisioned", wireType) @@ -9677,14 +11514,48 @@ func (m *NamespaceSpec) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType) } - if skippy < 0 { - return ErrInvalidLengthMessage + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Replicas = append(m.Replicas, &ReplicaSpec{}) + if err := m.Replicas[len(m.Replicas)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMessage } if (iNdEx + skippy) < 0 { return ErrInvalidLengthMessage @@ -9898,44 +11769,6 @@ func (m *Limits) Unmarshal(dAtA []byte) error { break } } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestsPerSecondLimit", wireType) - } - m.RequestsPerSecondLimit = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.RequestsPerSecondLimit |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ConcurrentTaskPollerLimit", wireType) - } - m.ConcurrentTaskPollerLimit = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ConcurrentTaskPollerLimit |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := skipMessage(dAtA[iNdEx:]) @@ -10946,6 +12779,72 @@ func (m *Namespace) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 17: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ProjectId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 18: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Replicas = append(m.Replicas, &Replica{}) + if err := m.Replicas[len(m.Replicas)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipMessage(dAtA[iNdEx:]) @@ -12472,6 +14371,701 @@ func (m *MigrationReplica) Unmarshal(dAtA []byte) error { } return nil } +func (m *NamespaceCapacityInfo) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: NamespaceCapacityInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: NamespaceCapacityInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Namespace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field HasLegacyLimits", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.HasLegacyLimits = bool(v != 0) + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CurrentCapacity", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.CurrentCapacity == nil { + m.CurrentCapacity = &Capacity{} + } + if err := m.CurrentCapacity.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ModeOptions", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ModeOptions == nil { + m.ModeOptions = &NamespaceCapacityInfo_CapacityModeOptions{} + } + if err := m.ModeOptions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Stats", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Stats == nil { + m.Stats = &NamespaceCapacityInfo_Stats{} + } + if err := m.Stats.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *NamespaceCapacityInfo_CapacityModeOptions) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CapacityModeOptions: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CapacityModeOptions: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Provisioned", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Provisioned == nil { + m.Provisioned = &NamespaceCapacityInfo_CapacityModeOptions_Provisioned{} + } + if err := m.Provisioned.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OnDemand", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.OnDemand == nil { + m.OnDemand = &NamespaceCapacityInfo_CapacityModeOptions_OnDemand{} + } + if err := m.OnDemand.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *NamespaceCapacityInfo_CapacityModeOptions_Provisioned) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Provisioned: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Provisioned: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType == 1 { + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + v2 := float64(math.Float64frombits(v)) + m.ValidTruValues = append(m.ValidTruValues, v2) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + elementCount = packedLen / 8 + if elementCount != 0 && len(m.ValidTruValues) == 0 { + m.ValidTruValues = make([]float64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + v2 := float64(math.Float64frombits(v)) + m.ValidTruValues = append(m.ValidTruValues, v2) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field ValidTruValues", wireType) + } + case 2: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxAvailableTruValue", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.MaxAvailableTruValue = float64(math.Float64frombits(v)) + default: + iNdEx = preIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *NamespaceCapacityInfo_CapacityModeOptions_OnDemand) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: OnDemand: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: OnDemand: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field ApsLimit", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.ApsLimit = float64(math.Float64frombits(v)) + default: + iNdEx = preIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *NamespaceCapacityInfo_Stats) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Stats: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Stats: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Aps", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMessage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMessage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Aps == nil { + m.Aps = &NamespaceCapacityInfo_Stats_Summary{} + } + if err := m.Aps.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *NamespaceCapacityInfo_Stats_Summary) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Summary: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Summary: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Mean", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Mean = float64(math.Float64frombits(v)) + case 2: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field P90", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.P90 = float64(math.Float64frombits(v)) + case 3: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field P99", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.P99 = float64(math.Float64frombits(v)) + default: + iNdEx = preIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthMessage + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipMessage(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/protogen/api/cloud/region/v1/message.pb.go b/protogen/api/cloud/region/v1/message.pb.go index 8ddf28e5..8d662b7c 100644 --- a/protogen/api/cloud/region/v1/message.pb.go +++ b/protogen/api/cloud/region/v1/message.pb.go @@ -69,6 +69,9 @@ type Region struct { // The allow list of connection between the current region with a target region. // temporal:dev ConnectableRegionIds []string `protobuf:"bytes,6,rep,name=connectable_region_ids,json=connectableRegionIds,proto3" json:"connectable_region_ids,omitempty"` + // The maximum number of replicas allowed in this region. + // temporal:dev + MaxInRegionReplicas int32 `protobuf:"varint,7,opt,name=max_in_region_replicas,json=maxInRegionReplicas,proto3" json:"max_in_region_replicas,omitempty"` } func (m *Region) Reset() { *m = Region{} } @@ -146,6 +149,13 @@ func (m *Region) GetConnectableRegionIds() []string { return nil } +func (m *Region) GetMaxInRegionReplicas() int32 { + if m != nil { + return m.MaxInRegionReplicas + } + return 0 +} + func init() { proto.RegisterEnum("temporal.api.cloud.region.v1.Region_CloudProvider", Region_CloudProvider_name, Region_CloudProvider_value) proto.RegisterType((*Region)(nil), "temporal.api.cloud.region.v1.Region") @@ -156,35 +166,37 @@ func init() { } var fileDescriptor_ec4b65943296208a = []byte{ - // 436 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0xd2, 0xc1, 0x6e, 0xd3, 0x30, - 0x18, 0x07, 0xf0, 0x38, 0x85, 0x8a, 0x59, 0xac, 0xaa, 0x0c, 0x8c, 0x30, 0x21, 0x53, 0xf5, 0x54, - 0x38, 0x38, 0x6a, 0xe1, 0x64, 0x24, 0xa4, 0xb6, 0x29, 0x28, 0x12, 0xb0, 0x28, 0x63, 0x45, 0x70, - 0x89, 0xb2, 0xd8, 0xaa, 0x2c, 0x65, 0xb5, 0x95, 0x84, 0x9e, 0x79, 0x04, 0xce, 0x3c, 0x01, 0xe2, - 0x49, 0x38, 0xf6, 0x84, 0x76, 0xa4, 0xe9, 0x05, 0x71, 0xda, 0x23, 0xa0, 0xda, 0xd9, 0xd6, 0x4c, - 0xd3, 0x6e, 0x71, 0xfc, 0xfb, 0xbe, 0xfc, 0x63, 0x7f, 0xf0, 0x59, 0xc1, 0x4f, 0x94, 0xcc, 0xe2, - 0xd4, 0x8d, 0x95, 0x70, 0x93, 0x54, 0x7e, 0x61, 0x6e, 0xc6, 0x67, 0x42, 0xce, 0xdd, 0x45, 0xdf, - 0x3d, 0xe1, 0x79, 0x1e, 0xcf, 0x38, 0x51, 0x99, 0x2c, 0x24, 0x7a, 0x7c, 0x6e, 0x49, 0xac, 0x04, - 0xd1, 0x96, 0x18, 0x4b, 0x16, 0xfd, 0xee, 0xf7, 0x06, 0x6c, 0x86, 0x7a, 0x85, 0x5a, 0xd0, 0x16, - 0xcc, 0x01, 0x1d, 0xd0, 0xdb, 0x09, 0x6d, 0xc1, 0xd0, 0x2b, 0xf8, 0x48, 0xeb, 0x48, 0x65, 0x72, - 0x21, 0x18, 0xcf, 0x22, 0xc6, 0x55, 0xc6, 0x93, 0xb8, 0xe0, 0xcc, 0xb1, 0x37, 0x6c, 0x64, 0x3b, - 0x20, 0x7c, 0xa8, 0x51, 0x50, 0x19, 0xef, 0x82, 0xa0, 0x4f, 0xb0, 0x55, 0xaf, 0x77, 0x6e, 0x77, - 0x40, 0x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xa7, 0xb3, 0xad, 0x02, 0x21, 0xaf, 0x1b, 0xaa, 0x97, - 0xe6, 0xe9, 0xa7, 0x8d, 0x3f, 0x54, 0x50, 0x48, 0x32, 0x54, 0xc2, 0xdc, 0xd3, 0xf9, 0xa5, 0x4d, - 0xfb, 0xff, 0xec, 0xee, 0x25, 0xa0, 0x74, 0xa8, 0x04, 0xa5, 0x9a, 0x50, 0x6a, 0x0c, 0xa5, 0xd3, - 0xfe, 0x71, 0x53, 0x8f, 0xe6, 0xf3, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0x22, 0x37, 0x77, 0xe4, - 0xc8, 0x02, 0x00, 0x00, + // 466 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0xd2, 0x4f, 0x6f, 0xd3, 0x30, + 0x14, 0x00, 0xf0, 0x38, 0x65, 0x85, 0x59, 0xac, 0xaa, 0x3c, 0x28, 0x61, 0x42, 0xa6, 0xea, 0xa9, + 0x70, 0x70, 0xd4, 0x8e, 0x53, 0x90, 0x90, 0xfa, 0x0f, 0x14, 0x09, 0x58, 0xe4, 0xb1, 0x22, 0xb8, + 0x44, 0x5e, 0x62, 0x55, 0x96, 0xd2, 0xd8, 0x4a, 0x42, 0xb5, 0x23, 0x1f, 0x81, 0x8f, 0x81, 0xf8, + 0x24, 0xdc, 0xe8, 0x09, 0xed, 0x48, 0xd3, 0x0b, 0xe2, 0xb4, 0x8f, 0x80, 0x1a, 0xa7, 0x5b, 0x3b, + 0x4d, 0xbb, 0xc5, 0x79, 0xbf, 0xf7, 0xfc, 0xac, 0xf7, 0xe0, 0xf3, 0x8c, 0x4f, 0x95, 0x4c, 0x58, + 0x64, 0x33, 0x25, 0xec, 0x20, 0x92, 0x5f, 0x42, 0x3b, 0xe1, 0x13, 0x21, 0x63, 0x7b, 0xd6, 0xb1, + 0xa7, 0x3c, 0x4d, 0xd9, 0x84, 0x13, 0x95,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0xd3, 0x10, 0x86, 0x07, + 0x83, 0xb7, 0x47, 0x27, 0x43, 0xdf, 0xa3, 0x47, 0x63, 0x77, 0x38, 0xa2, 0xfe, 0xc9, 0xfb, 0x63, + 0x6f, 0x34, 0x70, 0x5f, 0xbb, 0xa3, 0x61, 0xdd, 0x40, 0x0d, 0x88, 0xae, 0xc5, 0x7b, 0x1f, 0x8f, + 0xeb, 0xe0, 0x86, 0xff, 0x6f, 0x06, 0x5e, 0xdd, 0xec, 0xff, 0x06, 0xf3, 0x05, 0x36, 0xce, 0x17, + 0xd8, 0xb8, 0x58, 0x60, 0xf0, 0x35, 0xc7, 0xe0, 0x7b, 0x8e, 0xc1, 0xcf, 0x1c, 0x83, 0x79, 0x8e, + 0xc1, 0x9f, 0x1c, 0x83, 0xbf, 0x39, 0x36, 0x2e, 0x72, 0x0c, 0xbe, 0x2d, 0xb1, 0x31, 0x5f, 0x62, + 0xe3, 0x7c, 0x89, 0x0d, 0xf8, 0x54, 0xc8, 0x5b, 0xe7, 0xd2, 0xbf, 0xff, 0x4e, 0xaf, 0x95, 0xb7, + 0xda, 0x2a, 0x0f, 0x7c, 0x7e, 0x36, 0xd9, 0x48, 0x10, 0xf2, 0xa6, 0x4d, 0x7c, 0xa9, 0xbf, 0x7e, + 0x98, 0xf8, 0x43, 0x09, 0x85, 0x24, 0x3d, 0x25, 0xf4, 0x70, 0xd7, 0x93, 0x1e, 0x77, 0xfe, 0x99, + 0xad, 0x2b, 0xe0, 0x38, 0x3d, 0x25, 0x1c, 0xa7, 0x20, 0x8e, 0xa3, 0x8d, 0xe3, 0x8c, 0x3b, 0xa7, + 0xd5, 0x62, 0x9f, 0x0f, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0xde, 0xb3, 0x33, 0x9c, 0xfd, 0x02, + 0x00, 0x00, } func (x Region_CloudProvider) String() string { @@ -236,13 +248,16 @@ func (this *Region) Equal(that interface{}) bool { return false } } + if this.MaxInRegionReplicas != that1.MaxInRegionReplicas { + return false + } return true } func (this *Region) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 10) + s := make([]string, 0, 11) s = append(s, "®ion.Region{") s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") s = append(s, "CloudProviderDeprecated: "+fmt.Sprintf("%#v", this.CloudProviderDeprecated)+",\n") @@ -250,6 +265,7 @@ func (this *Region) GoString() string { s = append(s, "CloudProviderRegion: "+fmt.Sprintf("%#v", this.CloudProviderRegion)+",\n") s = append(s, "Location: "+fmt.Sprintf("%#v", this.Location)+",\n") s = append(s, "ConnectableRegionIds: "+fmt.Sprintf("%#v", this.ConnectableRegionIds)+",\n") + s = append(s, "MaxInRegionReplicas: "+fmt.Sprintf("%#v", this.MaxInRegionReplicas)+",\n") s = append(s, "}") return strings.Join(s, "") } @@ -281,6 +297,11 @@ func (m *Region) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.MaxInRegionReplicas != 0 { + i = encodeVarintMessage(dAtA, i, uint64(m.MaxInRegionReplicas)) + i-- + dAtA[i] = 0x38 + } if len(m.ConnectableRegionIds) > 0 { for iNdEx := len(m.ConnectableRegionIds) - 1; iNdEx >= 0; iNdEx-- { i -= len(m.ConnectableRegionIds[iNdEx]) @@ -368,6 +389,9 @@ func (m *Region) Size() (n int) { n += 1 + l + sovMessage(uint64(l)) } } + if m.MaxInRegionReplicas != 0 { + n += 1 + sovMessage(uint64(m.MaxInRegionReplicas)) + } return n } @@ -388,6 +412,7 @@ func (this *Region) String() string { `Location:` + fmt.Sprintf("%v", this.Location) + `,`, `CloudProvider:` + fmt.Sprintf("%v", this.CloudProvider) + `,`, `ConnectableRegionIds:` + fmt.Sprintf("%v", this.ConnectableRegionIds) + `,`, + `MaxInRegionReplicas:` + fmt.Sprintf("%v", this.MaxInRegionReplicas) + `,`, `}`, }, "") return s @@ -608,6 +633,25 @@ func (m *Region) Unmarshal(dAtA []byte) error { } m.ConnectableRegionIds = append(m.ConnectableRegionIds, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxInRegionReplicas", wireType) + } + m.MaxInRegionReplicas = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMessage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxInRegionReplicas |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipMessage(dAtA[iNdEx:]) diff --git a/protogen/api/namespace/v1/message.pb.go b/protogen/api/namespace/v1/message.pb.go index 961d93f7..e5592a05 100644 --- a/protogen/api/namespace/v1/message.pb.go +++ b/protogen/api/namespace/v1/message.pb.go @@ -5,18 +5,17 @@ package namespace import ( fmt "fmt" + proto "github.com/gogo/protobuf/proto" + github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" + types "github.com/gogo/protobuf/types" + descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor" + v11 "github.com/temporalio/tcld/protogen/api/cloud/connectivityrule/v1" io "io" math "math" math_bits "math/bits" reflect "reflect" strconv "strconv" strings "strings" - - proto "github.com/gogo/protobuf/proto" - github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" - types "github.com/gogo/protobuf/types" - descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor" - v11 "github.com/temporalio/tcld/protogen/api/cloud/connectivityrule/v1" v1 "github.com/temporalio/tcld/protogen/api/common/v1" ) diff --git a/protogen/api/namespaceservice/v1/request_response.pb.go b/protogen/api/namespaceservice/v1/request_response.pb.go index 8e398072..b98bc5b2 100644 --- a/protogen/api/namespaceservice/v1/request_response.pb.go +++ b/protogen/api/namespaceservice/v1/request_response.pb.go @@ -166,72 +166,17 @@ func (m *CreateNamespaceResponse) GetRequestStatus() *v12.RequestStatus { return nil } -type ListNamespacesFilter struct { - // Cloud provider filter - CloudProviders []v13.RegionID_CloudProvider `protobuf:"varint,1,rep,packed,name=cloud_providers,json=cloudProviders,proto3,enum=api.common.v1.RegionID_CloudProvider" json:"cloud_providers,omitempty"` - // filter for namespaces associated with the connectivity rule. - ConnectivityRuleId string `protobuf:"bytes,2,opt,name=connectivity_rule_id,json=connectivityRuleId,proto3" json:"connectivity_rule_id,omitempty"` -} - -func (m *ListNamespacesFilter) Reset() { *m = ListNamespacesFilter{} } -func (*ListNamespacesFilter) ProtoMessage() {} -func (*ListNamespacesFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{2} -} -func (m *ListNamespacesFilter) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ListNamespacesFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ListNamespacesFilter.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *ListNamespacesFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNamespacesFilter.Merge(m, src) -} -func (m *ListNamespacesFilter) XXX_Size() int { - return m.Size() -} -func (m *ListNamespacesFilter) XXX_DiscardUnknown() { - xxx_messageInfo_ListNamespacesFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_ListNamespacesFilter proto.InternalMessageInfo - -func (m *ListNamespacesFilter) GetCloudProviders() []v13.RegionID_CloudProvider { - if m != nil { - return m.CloudProviders - } - return nil -} - -func (m *ListNamespacesFilter) GetConnectivityRuleId() string { - if m != nil { - return m.ConnectivityRuleId - } - return "" -} - type ListNamespacesRequest struct { // the requested size of the page to retrieve PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // the page token PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // the filter for listing the namespaces - Filter *ListNamespacesFilter `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` } func (m *ListNamespacesRequest) Reset() { *m = ListNamespacesRequest{} } func (*ListNamespacesRequest) ProtoMessage() {} func (*ListNamespacesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{3} + return fileDescriptor_667e39c23eb47b7c, []int{2} } func (m *ListNamespacesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -274,13 +219,6 @@ func (m *ListNamespacesRequest) GetPageToken() string { return "" } -func (m *ListNamespacesRequest) GetFilter() *ListNamespacesFilter { - if m != nil { - return m.Filter - } - return nil -} - type ListNamespacesResponse struct { // the list of namespaces Namespaces []string `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"` @@ -291,7 +229,7 @@ type ListNamespacesResponse struct { func (m *ListNamespacesResponse) Reset() { *m = ListNamespacesResponse{} } func (*ListNamespacesResponse) ProtoMessage() {} func (*ListNamespacesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{4} + return fileDescriptor_667e39c23eb47b7c, []int{3} } func (m *ListNamespacesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -344,7 +282,7 @@ type GetNamespacesRequest struct { func (m *GetNamespacesRequest) Reset() { *m = GetNamespacesRequest{} } func (*GetNamespacesRequest) ProtoMessage() {} func (*GetNamespacesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{5} + return fileDescriptor_667e39c23eb47b7c, []int{4} } func (m *GetNamespacesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -397,7 +335,7 @@ type GetNamespacesResponse struct { func (m *GetNamespacesResponse) Reset() { *m = GetNamespacesResponse{} } func (*GetNamespacesResponse) ProtoMessage() {} func (*GetNamespacesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{6} + return fileDescriptor_667e39c23eb47b7c, []int{5} } func (m *GetNamespacesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -448,7 +386,7 @@ type GetNamespaceRequest struct { func (m *GetNamespaceRequest) Reset() { *m = GetNamespaceRequest{} } func (*GetNamespaceRequest) ProtoMessage() {} func (*GetNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{7} + return fileDescriptor_667e39c23eb47b7c, []int{6} } func (m *GetNamespaceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -492,7 +430,7 @@ type GetNamespaceResponse struct { func (m *GetNamespaceResponse) Reset() { *m = GetNamespaceResponse{} } func (*GetNamespaceResponse) ProtoMessage() {} func (*GetNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{8} + return fileDescriptor_667e39c23eb47b7c, []int{7} } func (m *GetNamespaceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -543,7 +481,7 @@ type UpdateNamespaceRequest struct { func (m *UpdateNamespaceRequest) Reset() { *m = UpdateNamespaceRequest{} } func (*UpdateNamespaceRequest) ProtoMessage() {} func (*UpdateNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{9} + return fileDescriptor_667e39c23eb47b7c, []int{8} } func (m *UpdateNamespaceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -608,7 +546,7 @@ type UpdateNamespaceResponse struct { func (m *UpdateNamespaceResponse) Reset() { *m = UpdateNamespaceResponse{} } func (*UpdateNamespaceResponse) ProtoMessage() {} func (*UpdateNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{10} + return fileDescriptor_667e39c23eb47b7c, []int{9} } func (m *UpdateNamespaceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -661,7 +599,7 @@ type RenameCustomSearchAttributeRequest struct { func (m *RenameCustomSearchAttributeRequest) Reset() { *m = RenameCustomSearchAttributeRequest{} } func (*RenameCustomSearchAttributeRequest) ProtoMessage() {} func (*RenameCustomSearchAttributeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{11} + return fileDescriptor_667e39c23eb47b7c, []int{10} } func (m *RenameCustomSearchAttributeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -733,7 +671,7 @@ type RenameCustomSearchAttributeResponse struct { func (m *RenameCustomSearchAttributeResponse) Reset() { *m = RenameCustomSearchAttributeResponse{} } func (*RenameCustomSearchAttributeResponse) ProtoMessage() {} func (*RenameCustomSearchAttributeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{12} + return fileDescriptor_667e39c23eb47b7c, []int{11} } func (m *RenameCustomSearchAttributeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -782,7 +720,7 @@ type DeleteNamespaceRequest struct { func (m *DeleteNamespaceRequest) Reset() { *m = DeleteNamespaceRequest{} } func (*DeleteNamespaceRequest) ProtoMessage() {} func (*DeleteNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{13} + return fileDescriptor_667e39c23eb47b7c, []int{12} } func (m *DeleteNamespaceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -840,7 +778,7 @@ type DeleteNamespaceResponse struct { func (m *DeleteNamespaceResponse) Reset() { *m = DeleteNamespaceResponse{} } func (*DeleteNamespaceResponse) ProtoMessage() {} func (*DeleteNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{14} + return fileDescriptor_667e39c23eb47b7c, []int{13} } func (m *DeleteNamespaceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -890,7 +828,7 @@ type FailoverNamespaceRequest struct { func (m *FailoverNamespaceRequest) Reset() { *m = FailoverNamespaceRequest{} } func (*FailoverNamespaceRequest) ProtoMessage() {} func (*FailoverNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{15} + return fileDescriptor_667e39c23eb47b7c, []int{14} } func (m *FailoverNamespaceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -955,7 +893,7 @@ type FailoverNamespaceResponse struct { func (m *FailoverNamespaceResponse) Reset() { *m = FailoverNamespaceResponse{} } func (*FailoverNamespaceResponse) ProtoMessage() {} func (*FailoverNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{16} + return fileDescriptor_667e39c23eb47b7c, []int{15} } func (m *FailoverNamespaceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1003,7 +941,7 @@ type ReplicationStatus struct { func (m *ReplicationStatus) Reset() { *m = ReplicationStatus{} } func (*ReplicationStatus) ProtoMessage() {} func (*ReplicationStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{17} + return fileDescriptor_667e39c23eb47b7c, []int{16} } func (m *ReplicationStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1065,7 +1003,7 @@ type ListFailoverHistoryByNamespaceRequest struct { func (m *ListFailoverHistoryByNamespaceRequest) Reset() { *m = ListFailoverHistoryByNamespaceRequest{} } func (*ListFailoverHistoryByNamespaceRequest) ProtoMessage() {} func (*ListFailoverHistoryByNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{18} + return fileDescriptor_667e39c23eb47b7c, []int{17} } func (m *ListFailoverHistoryByNamespaceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1127,7 +1065,7 @@ func (m *ListFailoverHistoryByNamespaceResponse) Reset() { } func (*ListFailoverHistoryByNamespaceResponse) ProtoMessage() {} func (*ListFailoverHistoryByNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{19} + return fileDescriptor_667e39c23eb47b7c, []int{18} } func (m *ListFailoverHistoryByNamespaceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1184,7 +1122,7 @@ type FailoverRecord struct { func (m *FailoverRecord) Reset() { *m = FailoverRecord{} } func (*FailoverRecord) ProtoMessage() {} func (*FailoverRecord) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{20} + return fileDescriptor_667e39c23eb47b7c, []int{19} } func (m *FailoverRecord) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1284,7 +1222,7 @@ type GlobalizeNamespaceRequest struct { func (m *GlobalizeNamespaceRequest) Reset() { *m = GlobalizeNamespaceRequest{} } func (*GlobalizeNamespaceRequest) ProtoMessage() {} func (*GlobalizeNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{21} + return fileDescriptor_667e39c23eb47b7c, []int{20} } func (m *GlobalizeNamespaceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1349,7 +1287,7 @@ type GlobalizeNamespaceResponse struct { func (m *GlobalizeNamespaceResponse) Reset() { *m = GlobalizeNamespaceResponse{} } func (*GlobalizeNamespaceResponse) ProtoMessage() {} func (*GlobalizeNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{22} + return fileDescriptor_667e39c23eb47b7c, []int{21} } func (m *GlobalizeNamespaceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1393,7 +1331,7 @@ type ValidateGlobalizeNamespaceRequest struct { func (m *ValidateGlobalizeNamespaceRequest) Reset() { *m = ValidateGlobalizeNamespaceRequest{} } func (*ValidateGlobalizeNamespaceRequest) ProtoMessage() {} func (*ValidateGlobalizeNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{23} + return fileDescriptor_667e39c23eb47b7c, []int{22} } func (m *ValidateGlobalizeNamespaceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1439,7 +1377,7 @@ type ValidateGlobalizeNamespaceResponse struct { func (m *ValidateGlobalizeNamespaceResponse) Reset() { *m = ValidateGlobalizeNamespaceResponse{} } func (*ValidateGlobalizeNamespaceResponse) ProtoMessage() {} func (*ValidateGlobalizeNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{24} + return fileDescriptor_667e39c23eb47b7c, []int{23} } func (m *ValidateGlobalizeNamespaceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1494,7 +1432,7 @@ type ListReplicaStatusRequest struct { func (m *ListReplicaStatusRequest) Reset() { *m = ListReplicaStatusRequest{} } func (*ListReplicaStatusRequest) ProtoMessage() {} func (*ListReplicaStatusRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{25} + return fileDescriptor_667e39c23eb47b7c, []int{24} } func (m *ListReplicaStatusRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1554,7 +1492,7 @@ type ListReplicaStatusResponse struct { func (m *ListReplicaStatusResponse) Reset() { *m = ListReplicaStatusResponse{} } func (*ListReplicaStatusResponse) ProtoMessage() {} func (*ListReplicaStatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{26} + return fileDescriptor_667e39c23eb47b7c, []int{25} } func (m *ListReplicaStatusResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1601,7 +1539,6 @@ func init() { proto.RegisterType((*CreateNamespaceRequest)(nil), "api.namespaceservice.v1.CreateNamespaceRequest") proto.RegisterMapType((map[string]string)(nil), "api.namespaceservice.v1.CreateNamespaceRequest.TagsEntry") proto.RegisterType((*CreateNamespaceResponse)(nil), "api.namespaceservice.v1.CreateNamespaceResponse") - proto.RegisterType((*ListNamespacesFilter)(nil), "api.namespaceservice.v1.ListNamespacesFilter") proto.RegisterType((*ListNamespacesRequest)(nil), "api.namespaceservice.v1.ListNamespacesRequest") proto.RegisterType((*ListNamespacesResponse)(nil), "api.namespaceservice.v1.ListNamespacesResponse") proto.RegisterType((*GetNamespacesRequest)(nil), "api.namespaceservice.v1.GetNamespacesRequest") @@ -1633,92 +1570,87 @@ func init() { } var fileDescriptor_667e39c23eb47b7c = []byte{ - // 1358 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xbd, 0x73, 0x13, 0x47, - 0x14, 0xf7, 0x49, 0xb6, 0xb1, 0x9f, 0x6c, 0x99, 0x5c, 0x8c, 0x91, 0x85, 0x39, 0xcc, 0x65, 0x4c, - 0x4c, 0x91, 0x73, 0x10, 0x64, 0x02, 0x81, 0x82, 0x0f, 0x03, 0xf1, 0x0c, 0x61, 0x9c, 0xb3, 0xa1, - 0x48, 0x73, 0x59, 0x9f, 0x9e, 0xc5, 0xc6, 0xa7, 0xbb, 0xcb, 0xee, 0x9e, 0x40, 0x4c, 0x0a, 0xea, - 0x54, 0x29, 0x33, 0xa9, 0x33, 0x99, 0xfc, 0x03, 0x29, 0x52, 0xa6, 0xcb, 0x4c, 0x1a, 0x66, 0xd2, - 0x50, 0x06, 0xd1, 0x50, 0xf2, 0x27, 0x64, 0x76, 0x6f, 0x4f, 0xd6, 0xa7, 0x3f, 0xc0, 0x93, 0x49, - 0xa7, 0x7d, 0x9f, 0xbf, 0xf7, 0xb1, 0x6f, 0xdf, 0x09, 0x1c, 0x12, 0xd3, 0x95, 0x90, 0xd4, 0x91, - 0xc7, 0xc4, 0x47, 0x8e, 0xac, 0x41, 0x7d, 0x5c, 0x69, 0x5c, 0x58, 0x61, 0xf8, 0x6d, 0x82, 0x5c, - 0x78, 0x0c, 0x79, 0x1c, 0x85, 0x1c, 0x9d, 0x98, 0x45, 0x22, 0x32, 0x4f, 0x92, 0x98, 0x3a, 0xbd, - 0xf2, 0x4e, 0xe3, 0x42, 0x79, 0x5e, 0x1a, 0x22, 0x89, 0x78, 0x24, 0x95, 0xeb, 0xc8, 0x39, 0xa9, - 0x69, 0x9d, 0xf2, 0x29, 0xc9, 0xf2, 0xa3, 0x7a, 0x3d, 0x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0xf1, 0xd2, 0xb8, 0x32, 0x7b, 0xc5, 0x19, 0xd2, 0x41, 0xce, 0xe0, 0x32, 0x38, 0x9b, 0xa4, 0xc6, - 0x6f, 0x87, 0x82, 0x35, 0x5d, 0x65, 0xa6, 0xfc, 0x29, 0x4c, 0xb6, 0x49, 0xe6, 0x71, 0xc8, 0xef, - 0x60, 0x53, 0x57, 0x47, 0xfe, 0x34, 0x67, 0x61, 0xac, 0x41, 0x82, 0x04, 0x55, 0x61, 0x26, 0xdd, - 0xf4, 0xf0, 0x59, 0xee, 0xb2, 0x61, 0x7b, 0x70, 0xb2, 0xcf, 0x45, 0xda, 0xdb, 0xe6, 0x2a, 0x14, - 0xb3, 0xba, 0x70, 0x41, 0x44, 0xc2, 0x95, 0xc5, 0x42, 0xe5, 0xb4, 0x02, 0xab, 0x59, 0x12, 0xa3, - 0x06, 0xb5, 0xa1, 0x84, 0xdc, 0x69, 0xd6, 0x79, 0xb4, 0x7f, 0x34, 0x60, 0xf6, 0x1e, 0xe5, 0xa2, - 0x6d, 0x9f, 0xdf, 0xa1, 0x81, 0x40, 0x66, 0xde, 0x87, 0x19, 0x3f, 0x88, 0x92, 0xaa, 0x17, 0xb3, - 0xa8, 0x41, 0xab, 0xc8, 0xa4, 0xfd, 0xfc, 0x72, 0x51, 0x17, 0x33, 0xbd, 0x1a, 0xa9, 0xf9, 0x1a, - 0x8d, 0xc2, 0xb5, 0x55, 0xe7, 0x96, 0x14, 0x5f, 0xd7, 0xd2, 0x6e, 0xd1, 0xef, 0x3c, 0x72, 0xf3, - 0x63, 0x98, 0xf5, 0xa3, 0x30, 0x44, 0x5f, 0xd0, 0x86, 0x2c, 0x23, 0x4b, 0x02, 0x94, 0x0d, 0x95, - 0x86, 0x6c, 0x76, 0xf2, 0xdc, 0x24, 0xc0, 0xb5, 0xaa, 0xfd, 0x93, 0x01, 0x27, 0xba, 0xa1, 0x65, - 0x5d, 0x7e, 0x0a, 0x26, 0x63, 0x52, 0x43, 0x8f, 0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af, 0x89, 0x4e, 0xaf, 0x37, 0xbf, 0x79, 0xfe, 0xd2, 0x1a, 0x79, 0xf1, 0xd2, 0x1a, - 0x79, 0xf3, 0xd2, 0x32, 0x9e, 0xb5, 0x2c, 0xe3, 0xd7, 0x96, 0x65, 0xfc, 0xd9, 0xb2, 0x8c, 0xe7, - 0x2d, 0xcb, 0xf8, 0xa7, 0x65, 0x19, 0xaf, 0x5b, 0xd6, 0xc8, 0x9b, 0x96, 0x65, 0xfc, 0xf0, 0xca, - 0x1a, 0x79, 0xfe, 0xca, 0x1a, 0x79, 0xf1, 0xca, 0x1a, 0xf9, 0xea, 0x92, 0xa8, 0xc7, 0x2c, 0x70, - 0xd4, 0xe7, 0xe1, 0xca, 0x90, 0x7f, 0x72, 0xae, 0xf6, 0xd2, 0xb6, 0xc6, 0xd5, 0xa5, 0xbd, 0xf8, - 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa4, 0xf3, 0xdc, 0x33, 0xfc, 0x11, 0x00, 0x00, + // 1268 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0x4b, 0x73, 0xd4, 0x46, + 0x10, 0xb6, 0x76, 0x6d, 0x63, 0xb7, 0x5f, 0x44, 0x01, 0x23, 0x2f, 0x46, 0x18, 0xa5, 0x4c, 0xcc, + 0x45, 0x2e, 0x0c, 0xa9, 0x40, 0xe0, 0xc0, 0xc3, 0x81, 0x50, 0x45, 0x52, 0x44, 0x36, 0x1c, 0x72, + 0x51, 0xc6, 0xda, 0xb6, 0x50, 0xac, 0x95, 0x94, 0x99, 0xd1, 0xc2, 0x52, 0x39, 0x70, 0xce, 0x29, + 0x3f, 0x22, 0x95, 0xca, 0x1f, 0xc8, 0x21, 0xc7, 0xdc, 0x52, 0x95, 0x0b, 0x55, 0xb9, 0x70, 0x0c, + 0xcb, 0x85, 0x23, 0x3f, 0x21, 0x35, 0xa3, 0x91, 0xbc, 0x2b, 0xed, 0xfa, 0x01, 0xae, 0x54, 0x6e, + 0x3b, 0xdd, 0x3d, 0xdd, 0x5f, 0xbf, 0xa6, 0x5b, 0x0b, 0x36, 0x49, 0x82, 0xd5, 0x88, 0xb4, 0x90, + 0x25, 0xc4, 0x43, 0x86, 0xb4, 0x1d, 0x78, 0xb8, 0xda, 0xbe, 0xb8, 0x4a, 0xf1, 0xfb, 0x14, 0x19, + 0x77, 0x29, 0xb2, 0x24, 0x8e, 0x18, 0xda, 0x09, 0x8d, 0x79, 0xac, 0x9f, 0x22, 0x49, 0x60, 0x97, + 0xe5, 0xed, 0xf6, 0xc5, 0xc6, 0x82, 0x50, 0x44, 0x52, 0xfe, 0x58, 0x5c, 0x6e, 0x21, 0x63, 0xc4, + 0x57, 0x77, 0x1a, 0xa7, 0x05, 0xcb, 0x8b, 0x5b, 0xad, 0x38, 0xaa, 0x32, 0xcd, 0x3e, 0x00, 0x55, + 0xfe, 0xa2, 0xe0, 0x2b, 0x30, 0x55, 0xee, 0x59, 0x3f, 0x8e, 0xfd, 0x10, 0x57, 0xe5, 0x69, 0x2b, + 0xdd, 0x5e, 0xe5, 0x41, 0x0b, 0x19, 0x27, 0xad, 0x24, 0x57, 0x5f, 0x16, 0x68, 0xa6, 0x94, 0xf0, + 0x20, 0x8e, 0x32, 0xbe, 0xf5, 0xa6, 0x0e, 0xf3, 0xb7, 0x29, 0x12, 0x8e, 0x5f, 0xe5, 0x18, 0x9c, + 0xcc, 0x98, 0xbe, 0x08, 0x93, 0x05, 0x2e, 0x43, 0x5b, 0xd2, 0x56, 0x26, 0x9d, 0x5d, 0x82, 0x7e, + 0x09, 0x46, 0x59, 0x82, 0x9e, 0x51, 0x5b, 0xd2, 0x56, 0xa6, 0xd6, 0xce, 0xda, 0x7d, 0x71, 0xb1, + 0xdb, 0x17, 0xed, 0x42, 0xdf, 0x46, 0x82, 0x9e, 0x23, 0x85, 0xf5, 0x33, 0x00, 0x79, 0x5c, 0x83,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 0xe3, 0x41, + 0xe4, 0xbb, 0x9e, 0x54, 0xe3, 0x32, 0xa9, 0xc7, 0x25, 0xb9, 0x22, 0xf9, 0xc0, 0xa9, 0x1a, 0x39, + 0x97, 0x0b, 0x0f, 0x34, 0x29, 0x3c, 0xd5, 0xef, 0xc0, 0x52, 0x84, 0x4f, 0xf6, 0x56, 0x96, 0x45, + 0x74, 0x31, 0xc2, 0x27, 0xc3, 0xf5, 0x0c, 0xca, 0xc4, 0xe8, 0x41, 0x32, 0x31, 0x56, 0xce, 0xc4, + 0x0e, 0x7c, 0xb4, 0x67, 0x9c, 0x8e, 0x34, 0x2b, 0xcf, 0x35, 0x98, 0x5f, 0xc7, 0x10, 0x0f, 0x5d, + 0xae, 0x83, 0xfc, 0xad, 0x1d, 0xc4, 0xdf, 0xfa, 0x80, 0xca, 0xab, 0x20, 0x38, 0x52, 0x1f, 0xff, + 0xd2, 0xc0, 0xb8, 0x43, 0x82, 0x30, 0x6e, 0xf7, 0x8c, 0xc7, 0x83, 0x79, 0xd9, 0x0f, 0xbd, 0x56, + 0x1e, 0xde, 0xd7, 0x61, 0x86, 0x13, 0xea, 0xa3, 0x58, 0x99, 0xfc, 0xbc, 0xf7, 0xa6, 0xd6, 0x4e, + 0x49, 0x78, 0xd9, 0xf6, 0x93, 0xa1, 0x13, 0xcc, 0x7b, 0xeb, 0xce, 0x74, 0x26, 0x9d, 0x9d, 0xf5, + 0xcb, 0x30, 0xcf, 0x76, 0x82, 0xc4, 0xf5, 0x29, 0xf1, 0x70, 0x3b, 0x0d, 0xdd, 0x6d, 0x05, 0x52, + 0x16, 0xce, 0x84, 0x73, 0x42, 0x70, 0xef, 0x2a, 0x66, 0xee, 0x80, 0x45, 0x60, 0x61, 0x80, 0x33, + 0x47, 0x1a, 0xb0, 0xbf, 0x35, 0xf8, 0xc0, 0xc1, 0x24, 0x0c, 0x3c, 0xb9, 0x36, 0x65, 0x54, 0xe1, + 0xac, 0xca, 0xb7, 0x72, 0x56, 0xdb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0x7c, 0x65, 0x8e, 0xbc, 0x7d, 0x65, 0x6a, 0xcf, 0xbb, 0xa6, 0xf6, 0x6b, 0xd7, + 0xd4, 0xfe, 0xec, 0x9a, 0xda, 0x8b, 0xae, 0xa9, 0xfd, 0xd3, 0x35, 0xb5, 0x37, 0x5d, 0x73, 0xe4, + 0x6d, 0xd7, 0xd4, 0x7e, 0x7a, 0x6d, 0x8e, 0xbc, 0x78, 0x6d, 0x8e, 0xbc, 0x7c, 0x6d, 0x8e, 0x7c, + 0x73, 0x99, 0xb7, 0x12, 0x1a, 0xda, 0x5e, 0x18, 0xa7, 0xcd, 0xd5, 0x21, 0x7f, 0x73, 0x5c, 0x2b, + 0xd3, 0xb6, 0xc6, 0x65, 0xd3, 0x5e, 0xfa, 0x37, 0x00, 0x00, 0xff, 0xff, 0x09, 0x10, 0x08, 0x19, + 0x19, 0x11, 0x00, 0x00, } func (this *CreateNamespaceRequest) Equal(that interface{}) bool { @@ -1799,38 +1731,6 @@ func (this *CreateNamespaceResponse) Equal(that interface{}) bool { } return true } -func (this *ListNamespacesFilter) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*ListNamespacesFilter) - if !ok { - that2, ok := that.(ListNamespacesFilter) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.CloudProviders) != len(that1.CloudProviders) { - return false - } - for i := range this.CloudProviders { - if this.CloudProviders[i] != that1.CloudProviders[i] { - return false - } - } - if this.ConnectivityRuleId != that1.ConnectivityRuleId { - return false - } - return true -} func (this *ListNamespacesRequest) Equal(that interface{}) bool { if that == nil { return this == nil @@ -1856,9 +1756,6 @@ func (this *ListNamespacesRequest) Equal(that interface{}) bool { if this.PageToken != that1.PageToken { return false } - if !this.Filter.Equal(that1.Filter) { - return false - } return true } func (this *ListNamespacesResponse) Equal(that interface{}) bool { @@ -2580,28 +2477,14 @@ func (this *CreateNamespaceResponse) GoString() string { s = append(s, "}") return strings.Join(s, "") } -func (this *ListNamespacesFilter) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&namespaceservice.ListNamespacesFilter{") - s = append(s, "CloudProviders: "+fmt.Sprintf("%#v", this.CloudProviders)+",\n") - s = append(s, "ConnectivityRuleId: "+fmt.Sprintf("%#v", this.ConnectivityRuleId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} func (this *ListNamespacesRequest) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 7) + s := make([]string, 0, 6) s = append(s, "&namespaceservice.ListNamespacesRequest{") s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") - if this.Filter != nil { - s = append(s, "Filter: "+fmt.Sprintf("%#v", this.Filter)+",\n") - } s = append(s, "}") return strings.Join(s, "") } @@ -3046,54 +2929,6 @@ func (m *CreateNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *ListNamespacesFilter) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ListNamespacesFilter) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListNamespacesFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ConnectivityRuleId) > 0 { - i -= len(m.ConnectivityRuleId) - copy(dAtA[i:], m.ConnectivityRuleId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ConnectivityRuleId))) - i-- - dAtA[i] = 0x12 - } - if len(m.CloudProviders) > 0 { - dAtA4 := make([]byte, len(m.CloudProviders)*10) - var j3 int - for _, num := range m.CloudProviders { - for num >= 1<<7 { - dAtA4[j3] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j3++ - } - dAtA4[j3] = uint8(num) - j3++ - } - i -= j3 - copy(dAtA[i:], dAtA4[:j3]) - i = encodeVarintRequestResponse(dAtA, i, uint64(j3)) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - func (m *ListNamespacesRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -3114,18 +2949,6 @@ func (m *ListNamespacesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if m.Filter != nil { - { - size, err := m.Filter.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } if len(m.PageToken) > 0 { i -= len(m.PageToken) copy(dAtA[i:], m.PageToken) @@ -4233,26 +4056,6 @@ func (m *CreateNamespaceResponse) Size() (n int) { return n } -func (m *ListNamespacesFilter) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.CloudProviders) > 0 { - l = 0 - for _, e := range m.CloudProviders { - l += sovRequestResponse(uint64(e)) - } - n += 1 + sovRequestResponse(uint64(l)) + l - } - l = len(m.ConnectivityRuleId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - func (m *ListNamespacesRequest) Size() (n int) { if m == nil { return 0 @@ -4266,10 +4069,6 @@ func (m *ListNamespacesRequest) Size() (n int) { if l > 0 { n += 1 + l + sovRequestResponse(uint64(l)) } - if m.Filter != nil { - l = m.Filter.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } return n } @@ -4760,17 +4559,6 @@ func (this *CreateNamespaceResponse) String() string { }, "") return s } -func (this *ListNamespacesFilter) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ListNamespacesFilter{`, - `CloudProviders:` + fmt.Sprintf("%v", this.CloudProviders) + `,`, - `ConnectivityRuleId:` + fmt.Sprintf("%v", this.ConnectivityRuleId) + `,`, - `}`, - }, "") - return s -} func (this *ListNamespacesRequest) String() string { if this == nil { return "nil" @@ -4778,7 +4566,6 @@ func (this *ListNamespacesRequest) String() string { s := strings.Join([]string{`&ListNamespacesRequest{`, `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, - `Filter:` + strings.Replace(this.Filter.String(), "ListNamespacesFilter", "ListNamespacesFilter", 1) + `,`, `}`, }, "") return s @@ -5507,160 +5294,6 @@ func (m *CreateNamespaceResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *ListNamespacesFilter) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ListNamespacesFilter: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ListNamespacesFilter: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType == 0 { - var v v13.RegionID_CloudProvider - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= v13.RegionID_CloudProvider(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.CloudProviders = append(m.CloudProviders, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - if elementCount != 0 && len(m.CloudProviders) == 0 { - m.CloudProviders = make([]v13.RegionID_CloudProvider, 0, elementCount) - } - for iNdEx < postIndex { - var v v13.RegionID_CloudProvider - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= v13.RegionID_CloudProvider(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.CloudProviders = append(m.CloudProviders, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field CloudProviders", wireType) - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnectivityRuleId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ConnectivityRuleId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func (m *ListNamespacesRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -5741,42 +5374,6 @@ func (m *ListNamespacesRequest) Unmarshal(dAtA []byte) error { } m.PageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Filter", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Filter == nil { - m.Filter = &ListNamespacesFilter{} - } - if err := m.Filter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipRequestResponse(dAtA[iNdEx:]) diff --git a/protogen/api/namespaceservice/v1/service.pb.go b/protogen/api/namespaceservice/v1/service.pb.go index b12c546f..be1a40cc 100644 --- a/protogen/api/namespaceservice/v1/service.pb.go +++ b/protogen/api/namespaceservice/v1/service.pb.go @@ -29,38 +29,42 @@ func init() { } var fileDescriptor_d746e5fd89aff5eb = []byte{ - // 481 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x95, 0x31, 0x6f, 0x13, 0x31, - 0x18, 0x86, 0xcf, 0x0b, 0x83, 0x55, 0x28, 0x78, 0x41, 0x0a, 0x92, 0x07, 0x24, 0x36, 0xea, 0x23, - 0x2d, 0x13, 0x41, 0x20, 0x5a, 0x44, 0x19, 0x10, 0x43, 0x22, 0x18, 0x58, 0x90, 0x73, 0xfd, 0x24, - 0x8c, 0x9c, 0xda, 0xd8, 0xbe, 0x93, 0x8a, 0x90, 0xe0, 0x27, 0xb0, 0x21, 0xb1, 0x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e, 0x94, 0x14, 0xfd, 0x2d, 0x69, 0x72, - 0x52, 0x52, 0xf4, 0x75, 0x4e, 0x93, 0xe9, 0x9c, 0x26, 0xc7, 0x73, 0x9a, 0xbc, 0xb9, 0xef, 0x26, - 0xda, 0x48, 0x96, 0x49, 0x95, 0x1f, 0xa4, 0x91, 0xcf, 0xd3, 0xa0, 0xf9, 0xdf, 0xf8, 0xca, 0xff, - 0xef, 0xd3, 0xce, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x92, 0xfc, 0x4c, 0xf7, 0x11, 0x07, 0x00, - 0x00, + // 556 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x95, 0xb1, 0x6f, 0x13, 0x31, + 0x14, 0xc6, 0xcf, 0x80, 0xaa, 0xd6, 0x10, 0x02, 0x66, 0x00, 0x5d, 0x24, 0x0f, 0x48, 0x6c, 0xe4, + 0x8e, 0xb4, 0x4c, 0x0d, 0x02, 0xd1, 0x22, 0xca, 0x80, 0x18, 0x12, 0xc1, 0xc0, 0x82, 0x9c, 0xab, + 0xa5, 0x1a, 0x5d, 0x62, 0x63, 0xfb, 0x22, 0x35, 0x53, 0x56, 0x26, 0x10, 0xca, 0x1f, 0x81, 0x90, + 0x58, 0xf9, 0x03, 0x3a, 0x21, 0xa6, 0x8c, 0x1d, 0xc9, 0x65, 0x61, 0xec, 0xc6, 0x8a, 0x8e, 0xc4, + 0x69, 0x7a, 0x57, 0xdf, 0x5d, 0xb3, 0x25, 0xf6, 0xf7, 0xbd, 0xef, 0x77, 0xef, 0xd9, 0x32, 0xbc, + 0x47, 0x04, 0xf3, 0x7b, 0xa4, 0x4b, 0x95, 0x20, 0x01, 0x55, 0x54, 0xf6, 0x59, 0x40, 0xfd, 0x7e, + 0xc3, 0x9f, 0xff, 0xf4, 0x84, 0xe4, 0x9a, 0xa3, 0xdb, 0x44, 0x30, 0x2f, 0x2d, 0x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0x8d, 0x31, 0xf8, 0x19, + 0x63, 0x30, 0x8e, 0x31, 0xf8, 0x1d, 0x63, 0xf0, 0x27, 0xc6, 0xce, 0x49, 0x8c, 0xc1, 0xe7, 0x29, + 0x76, 0xc6, 0x53, 0xec, 0x1c, 0x4f, 0xb1, 0xf3, 0xf6, 0xa1, 0xee, 0x0a, 0x19, 0x7a, 0x41, 0xc8, + 0xa3, 0x7d, 0xdf, 0xf2, 0x34, 0x37, 0xd3, 0x6b, 0x9d, 0xb5, 0xff, 0x8f, 0xed, 0xd6, 0xbf, 0x00, + 0x00, 0x00, 0xff, 0xff, 0x6b, 0x37, 0x6b, 0x5a, 0x0d, 0x08, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/protogen/api/platform/v1/message.pb.go b/protogen/api/platform/v1/message.pb.go index 96e802fe..2ba94687 100644 --- a/protogen/api/platform/v1/message.pb.go +++ b/protogen/api/platform/v1/message.pb.go @@ -59,6 +59,7 @@ const ( SDK_TYPESCRIPT SDK = 5 SDK_DOT_NET SDK = 6 SDK_PHP SDK = 7 + SDK_RUBY SDK = 8 ) var SDK_name = map[int32]string{ @@ -70,6 +71,7 @@ var SDK_name = map[int32]string{ 5: "SdkTypescript", 6: "SdkDotNet", 7: "SdkPhp", + 8: "SdkRuby", } var SDK_value = map[string]int32{ @@ -81,6 +83,7 @@ var SDK_value = map[string]int32{ "SdkTypescript": 5, "SdkDotNet": 6, "SdkPhp": 7, + "SdkRuby": 8, } func (SDK) EnumDescriptor() ([]byte, []int) { @@ -95,27 +98,27 @@ func init() { func init() { proto.RegisterFile("api/platform/v1/message.proto", fileDescriptor_6eb34b9496e9d2ae) } var fileDescriptor_6eb34b9496e9d2ae = []byte{ - // 307 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0x31, 0x4f, 0xfa, 0x40, - 0x18, 0xc6, 0xef, 0xe0, 0xff, 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x32, 0x1c, 0x4c, 0x7c, - 0x57, 0xf5, 0xef, 0x3c, 0x3f, 0x60, 0xff, 0x79, 0x0b, 0xea, 0x26, 0x73, 0x64, 0x10, 0x0a, 0x37, - 0x60, 0x15, 0x5e, 0x87, 0xea, 0xe1, 0xd3, 0xc0, 0x67, 0xd5, 0xde, 0x34, 0xcd, 0x90, 0xec, 0x32, - 0x24, 0xfb, 0x0c, 0xe9, 0xbb, 0x46, 0xfa, 0xa5, 0x91, 0x7e, 0x6b, 0xa4, 0xa9, 0x46, 0xfa, 0xa3, - 0x91, 0xfe, 0x6a, 0x24, 0x7b, 0x8d, 0xf4, 0x33, 0x47, 0x92, 0xe6, 0x48, 0x76, 0x39, 0x92, 0xe9, - 0xd9, 0x66, 0x99, 0xac, 0x16, 0xd6, 0xd3, 0x22, 0x7e, 0x7b, 0xb6, 0x8f, 0xc6, 0xbb, 0x28, 0xde, - 0x8f, 0x95, 0xc3, 0x7c, 0xe7, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x3d, 0xeb, 0x62, 0x18, 0x5f, - 0x01, 0x00, 0x00, + // 311 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0x31, 0x4f, 0xc2, 0x40, + 0x18, 0x86, 0xef, 0x40, 0x81, 0x7c, 0x10, 0xb8, 0x9c, 0xb3, 0xdf, 0xe4, 0xc4, 0xd0, 0x86, 0x38, + 0x3a, 0x01, 0xad, 0x52, 0xd1, 0xbb, 0x86, 0x2b, 0x22, 0x2c, 0x4d, 0x55, 0x34, 0x24, 0x90, 0x36, + 0x80, 0xcc, 0xfe, 0x04, 0xe3, 0xaf, 0xf0, 0xa7, 0x38, 0x32, 0x32, 0xda, 0xeb, 0xe2, 0xc8, 0x4f, + 0x30, 0x47, 0xd2, 0x85, 0xed, 0x9e, 0xf7, 0xcd, 0x3d, 0xf9, 0xf2, 0xc2, 0x79, 0x94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xbf, 0x1a, 0xe9, 0x9f, 0x46, 0xb2, 0xd7, 0x48, 0x3f, 0x33, 0x24, 0xdb, 0x0c, + 0xc9, 0x2e, 0x43, 0x32, 0xb9, 0x58, 0x2f, 0x92, 0xe5, 0xdc, 0x7a, 0x9e, 0xc7, 0xef, 0x2f, 0xf6, + 0xd1, 0x94, 0x57, 0xf9, 0xfb, 0xa9, 0x74, 0x18, 0xf3, 0xf2, 0x3f, 0x00, 0x00, 0xff, 0xff, 0xe4, + 0x55, 0xb8, 0x35, 0x6d, 0x01, 0x00, 0x00, } func (x OS) String() string { diff --git a/protogen/api/requestservice/v1/service.pb.go b/protogen/api/requestservice/v1/service.pb.go index e3445916..8da6c03b 100644 --- a/protogen/api/requestservice/v1/service.pb.go +++ b/protogen/api/requestservice/v1/service.pb.go @@ -29,21 +29,24 @@ func init() { } var fileDescriptor_a6f283241a216f38 = []byte{ - // 209 bytes of a gzipped FileDescriptorProto + // 268 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4e, 0x2c, 0xc8, 0xd4, 0x2f, 0x4a, 0x2d, 0x2c, 0x4d, 0x2d, 0x2e, 0x29, 0x4e, 0x2d, 0x2a, 0xcb, 0x4c, 0x4e, 0xd5, 0x2f, 0x33, 0xd4, 0x87, 0x32, 0xf5, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0x44, 0x13, 0x0b, 0x32, 0xf5, 0x50, 0x15, 0xe9, 0x95, 0x19, 0x4a, 0xe9, 0x60, 0xd7, 0x0b, 0x15, 0x89, 0x2f, 0x4a, 0x2d, 0x2e, - 0xc8, 0xcf, 0x2b, 0x86, 0x1a, 0x62, 0xd4, 0xce, 0xc8, 0xc5, 0x17, 0x04, 0x91, 0x0a, 0x86, 0x28, - 0x16, 0x2a, 0xe5, 0x12, 0x70, 0x4f, 0x2d, 0x81, 0x09, 0x96, 0x24, 0x96, 0x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d, 0x7a, 0xe8, 0x0a, 0xa1, 0x1c, 0x29, 0x7d, 0xa2, 0xd5, 0x43, 0x1c, 0xaf, 0xc4, + 0x75, 0x68, 0x8a, 0x34, 0x9b, 0x10, 0x0b, 0x07, 0xa3, 0x04, 0xa3, 0x14, 0xff, 0xa9, 0x29, 0xd2, + 0xdc, 0x5c, 0x9c, 0xc5, 0x89, 0x89, 0xc5, 0xba, 0x89, 0x05, 0x99, 0x56, 0x4e, 0x69, 0x17, 0x1e, + 0xca, 0x31, 0xdc, 0x78, 0x28, 0xc7, 0xf0, 0xe1, 0xa1, 0x1c, 0x63, 0xc3, 0x23, 0x39, 0xc6, 0x15, + 0x8f, 0xe4, 0x18, 0x4f, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, + 0x17, 0x8f, 0xe4, 0x18, 0x3e, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, + 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0x0c, 0x4a, 0x72, 0x0b, 0x8a, 0x72, 0xf4, 0x92, 0x73, 0xf2, + 0x4b, 0x53, 0xf4, 0xb1, 0x86, 0xa1, 0x35, 0xaa, 0x48, 0x12, 0x1b, 0x38, 0x4c, 0x8c, 0x01, 0x01, + 0x00, 0x00, 0xff, 0xff, 0x1f, 0x2a, 0xae, 0x64, 0xae, 0x01, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/protogen/apimock/cloudservice/v1/service.pb.mock.go b/protogen/apimock/cloudservice/v1/service.pb.mock.go index 6b526a1c..d3d38efc 100644 --- a/protogen/apimock/cloudservice/v1/service.pb.mock.go +++ b/protogen/apimock/cloudservice/v1/service.pb.mock.go @@ -156,6 +156,26 @@ func (mr *MockCloudServiceClientMockRecorder) CreateApiKey(ctx, in interface{}, return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateApiKey", reflect.TypeOf((*MockCloudServiceClient)(nil).CreateApiKey), varargs...) } +// CreateBillingReport mocks base method. +func (m *MockCloudServiceClient) CreateBillingReport(ctx context.Context, in *cloudservice.CreateBillingReportRequest, opts ...grpc.CallOption) (*cloudservice.CreateBillingReportResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "CreateBillingReport", varargs...) + ret0, _ := ret[0].(*cloudservice.CreateBillingReportResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// CreateBillingReport indicates an expected call of CreateBillingReport. +func (mr *MockCloudServiceClientMockRecorder) CreateBillingReport(ctx, in interface{}, opts ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{ctx, in}, opts...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateBillingReport", reflect.TypeOf((*MockCloudServiceClient)(nil).CreateBillingReport), varargs...) +} + // CreateConnectivityRule mocks base method. func (m *MockCloudServiceClient) CreateConnectivityRule(ctx context.Context, in *cloudservice.CreateConnectivityRuleRequest, opts ...grpc.CallOption) (*cloudservice.CreateConnectivityRuleResponse, error) { m.ctrl.T.Helper() @@ -176,6 +196,26 @@ func (mr *MockCloudServiceClientMockRecorder) CreateConnectivityRule(ctx, in int return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateConnectivityRule", reflect.TypeOf((*MockCloudServiceClient)(nil).CreateConnectivityRule), varargs...) } +// CreateCustomRole mocks base method. +func (m *MockCloudServiceClient) CreateCustomRole(ctx context.Context, in *cloudservice.CreateCustomRoleRequest, opts ...grpc.CallOption) (*cloudservice.CreateCustomRoleResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "CreateCustomRole", varargs...) + ret0, _ := ret[0].(*cloudservice.CreateCustomRoleResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// CreateCustomRole indicates an expected call of CreateCustomRole. +func (mr *MockCloudServiceClientMockRecorder) CreateCustomRole(ctx, in interface{}, opts ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{ctx, in}, opts...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateCustomRole", reflect.TypeOf((*MockCloudServiceClient)(nil).CreateCustomRole), varargs...) +} + // CreateNamespace mocks base method. func (m *MockCloudServiceClient) CreateNamespace(ctx context.Context, in *cloudservice.CreateNamespaceRequest, opts ...grpc.CallOption) (*cloudservice.CreateNamespaceResponse, error) { m.ctrl.T.Helper() @@ -376,6 +416,26 @@ func (mr *MockCloudServiceClientMockRecorder) DeleteConnectivityRule(ctx, in int return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteConnectivityRule", reflect.TypeOf((*MockCloudServiceClient)(nil).DeleteConnectivityRule), varargs...) } +// DeleteCustomRole mocks base method. +func (m *MockCloudServiceClient) DeleteCustomRole(ctx context.Context, in *cloudservice.DeleteCustomRoleRequest, opts ...grpc.CallOption) (*cloudservice.DeleteCustomRoleResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "DeleteCustomRole", varargs...) + ret0, _ := ret[0].(*cloudservice.DeleteCustomRoleResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DeleteCustomRole indicates an expected call of DeleteCustomRole. +func (mr *MockCloudServiceClientMockRecorder) DeleteCustomRole(ctx, in interface{}, opts ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{ctx, in}, opts...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCustomRole", reflect.TypeOf((*MockCloudServiceClient)(nil).DeleteCustomRole), varargs...) +} + // DeleteNamespace mocks base method. func (m *MockCloudServiceClient) DeleteNamespace(ctx context.Context, in *cloudservice.DeleteNamespaceRequest, opts ...grpc.CallOption) (*cloudservice.DeleteNamespaceResponse, error) { m.ctrl.T.Helper() @@ -696,6 +756,26 @@ func (mr *MockCloudServiceClientMockRecorder) GetAuditLogs(ctx, in interface{}, return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAuditLogs", reflect.TypeOf((*MockCloudServiceClient)(nil).GetAuditLogs), varargs...) } +// GetBillingReport mocks base method. +func (m *MockCloudServiceClient) GetBillingReport(ctx context.Context, in *cloudservice.GetBillingReportRequest, opts ...grpc.CallOption) (*cloudservice.GetBillingReportResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "GetBillingReport", varargs...) + ret0, _ := ret[0].(*cloudservice.GetBillingReportResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetBillingReport indicates an expected call of GetBillingReport. +func (mr *MockCloudServiceClientMockRecorder) GetBillingReport(ctx, in interface{}, opts ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{ctx, in}, opts...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBillingReport", reflect.TypeOf((*MockCloudServiceClient)(nil).GetBillingReport), varargs...) +} + // GetConnectivityRule mocks base method. func (m *MockCloudServiceClient) GetConnectivityRule(ctx context.Context, in *cloudservice.GetConnectivityRuleRequest, opts ...grpc.CallOption) (*cloudservice.GetConnectivityRuleResponse, error) { m.ctrl.T.Helper() @@ -736,6 +816,66 @@ func (mr *MockCloudServiceClientMockRecorder) GetConnectivityRules(ctx, in inter return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetConnectivityRules", reflect.TypeOf((*MockCloudServiceClient)(nil).GetConnectivityRules), varargs...) } +// GetCurrentIdentity mocks base method. +func (m *MockCloudServiceClient) GetCurrentIdentity(ctx context.Context, in *cloudservice.GetCurrentIdentityRequest, opts ...grpc.CallOption) (*cloudservice.GetCurrentIdentityResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "GetCurrentIdentity", varargs...) + ret0, _ := ret[0].(*cloudservice.GetCurrentIdentityResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetCurrentIdentity indicates an expected call of GetCurrentIdentity. +func (mr *MockCloudServiceClientMockRecorder) GetCurrentIdentity(ctx, in interface{}, opts ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{ctx, in}, opts...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCurrentIdentity", reflect.TypeOf((*MockCloudServiceClient)(nil).GetCurrentIdentity), varargs...) +} + +// GetCustomRole mocks base method. +func (m *MockCloudServiceClient) GetCustomRole(ctx context.Context, in *cloudservice.GetCustomRoleRequest, opts ...grpc.CallOption) (*cloudservice.GetCustomRoleResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "GetCustomRole", varargs...) + ret0, _ := ret[0].(*cloudservice.GetCustomRoleResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetCustomRole indicates an expected call of GetCustomRole. +func (mr *MockCloudServiceClientMockRecorder) GetCustomRole(ctx, in interface{}, opts ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{ctx, in}, opts...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCustomRole", reflect.TypeOf((*MockCloudServiceClient)(nil).GetCustomRole), varargs...) +} + +// GetCustomRoles mocks base method. +func (m *MockCloudServiceClient) GetCustomRoles(ctx context.Context, in *cloudservice.GetCustomRolesRequest, opts ...grpc.CallOption) (*cloudservice.GetCustomRolesResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "GetCustomRoles", varargs...) + ret0, _ := ret[0].(*cloudservice.GetCustomRolesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetCustomRoles indicates an expected call of GetCustomRoles. +func (mr *MockCloudServiceClientMockRecorder) GetCustomRoles(ctx, in interface{}, opts ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{ctx, in}, opts...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCustomRoles", reflect.TypeOf((*MockCloudServiceClient)(nil).GetCustomRoles), varargs...) +} + // GetMigration mocks base method. func (m *MockCloudServiceClient) GetMigration(ctx context.Context, in *cloudservice.GetMigrationRequest, opts ...grpc.CallOption) (*cloudservice.GetMigrationResponse, error) { m.ctrl.T.Helper() @@ -796,6 +936,26 @@ func (mr *MockCloudServiceClientMockRecorder) GetNamespace(ctx, in interface{}, return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNamespace", reflect.TypeOf((*MockCloudServiceClient)(nil).GetNamespace), varargs...) } +// GetNamespaceCapacityInfo mocks base method. +func (m *MockCloudServiceClient) GetNamespaceCapacityInfo(ctx context.Context, in *cloudservice.GetNamespaceCapacityInfoRequest, opts ...grpc.CallOption) (*cloudservice.GetNamespaceCapacityInfoResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "GetNamespaceCapacityInfo", varargs...) + ret0, _ := ret[0].(*cloudservice.GetNamespaceCapacityInfoResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetNamespaceCapacityInfo indicates an expected call of GetNamespaceCapacityInfo. +func (mr *MockCloudServiceClientMockRecorder) GetNamespaceCapacityInfo(ctx, in interface{}, opts ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{ctx, in}, opts...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNamespaceCapacityInfo", reflect.TypeOf((*MockCloudServiceClient)(nil).GetNamespaceCapacityInfo), varargs...) +} + // GetNamespaceExportSink mocks base method. func (m *MockCloudServiceClient) GetNamespaceExportSink(ctx context.Context, in *cloudservice.GetNamespaceExportSinkRequest, opts ...grpc.CallOption) (*cloudservice.GetNamespaceExportSinkResponse, error) { m.ctrl.T.Helper() @@ -1276,6 +1436,26 @@ func (mr *MockCloudServiceClientMockRecorder) SetServiceAccountNamespaceAccess(c return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetServiceAccountNamespaceAccess", reflect.TypeOf((*MockCloudServiceClient)(nil).SetServiceAccountNamespaceAccess), varargs...) } +// SetServiceAccountProjectAccess mocks base method. +func (m *MockCloudServiceClient) SetServiceAccountProjectAccess(ctx context.Context, in *cloudservice.SetServiceAccountProjectAccessRequest, opts ...grpc.CallOption) (*cloudservice.SetServiceAccountProjectAccessResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "SetServiceAccountProjectAccess", varargs...) + ret0, _ := ret[0].(*cloudservice.SetServiceAccountProjectAccessResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// SetServiceAccountProjectAccess indicates an expected call of SetServiceAccountProjectAccess. +func (mr *MockCloudServiceClientMockRecorder) SetServiceAccountProjectAccess(ctx, in interface{}, opts ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{ctx, in}, opts...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetServiceAccountProjectAccess", reflect.TypeOf((*MockCloudServiceClient)(nil).SetServiceAccountProjectAccess), varargs...) +} + // SetUserGroupNamespaceAccess mocks base method. func (m *MockCloudServiceClient) SetUserGroupNamespaceAccess(ctx context.Context, in *cloudservice.SetUserGroupNamespaceAccessRequest, opts ...grpc.CallOption) (*cloudservice.SetUserGroupNamespaceAccessResponse, error) { m.ctrl.T.Helper() @@ -1296,6 +1476,26 @@ func (mr *MockCloudServiceClientMockRecorder) SetUserGroupNamespaceAccess(ctx, i return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetUserGroupNamespaceAccess", reflect.TypeOf((*MockCloudServiceClient)(nil).SetUserGroupNamespaceAccess), varargs...) } +// SetUserGroupProjectAccess mocks base method. +func (m *MockCloudServiceClient) SetUserGroupProjectAccess(ctx context.Context, in *cloudservice.SetUserGroupProjectAccessRequest, opts ...grpc.CallOption) (*cloudservice.SetUserGroupProjectAccessResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "SetUserGroupProjectAccess", varargs...) + ret0, _ := ret[0].(*cloudservice.SetUserGroupProjectAccessResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// SetUserGroupProjectAccess indicates an expected call of SetUserGroupProjectAccess. +func (mr *MockCloudServiceClientMockRecorder) SetUserGroupProjectAccess(ctx, in interface{}, opts ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{ctx, in}, opts...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetUserGroupProjectAccess", reflect.TypeOf((*MockCloudServiceClient)(nil).SetUserGroupProjectAccess), varargs...) +} + // SetUserNamespaceAccess mocks base method. func (m *MockCloudServiceClient) SetUserNamespaceAccess(ctx context.Context, in *cloudservice.SetUserNamespaceAccessRequest, opts ...grpc.CallOption) (*cloudservice.SetUserNamespaceAccessResponse, error) { m.ctrl.T.Helper() @@ -1316,6 +1516,26 @@ func (mr *MockCloudServiceClientMockRecorder) SetUserNamespaceAccess(ctx, in int return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetUserNamespaceAccess", reflect.TypeOf((*MockCloudServiceClient)(nil).SetUserNamespaceAccess), varargs...) } +// SetUserProjectAccess mocks base method. +func (m *MockCloudServiceClient) SetUserProjectAccess(ctx context.Context, in *cloudservice.SetUserProjectAccessRequest, opts ...grpc.CallOption) (*cloudservice.SetUserProjectAccessResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "SetUserProjectAccess", varargs...) + ret0, _ := ret[0].(*cloudservice.SetUserProjectAccessResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// SetUserProjectAccess indicates an expected call of SetUserProjectAccess. +func (mr *MockCloudServiceClientMockRecorder) SetUserProjectAccess(ctx, in interface{}, opts ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{ctx, in}, opts...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetUserProjectAccess", reflect.TypeOf((*MockCloudServiceClient)(nil).SetUserProjectAccess), varargs...) +} + // StartMigration mocks base method. func (m *MockCloudServiceClient) StartMigration(ctx context.Context, in *cloudservice.StartMigrationRequest, opts ...grpc.CallOption) (*cloudservice.StartMigrationResponse, error) { m.ctrl.T.Helper() @@ -1396,6 +1616,26 @@ func (mr *MockCloudServiceClientMockRecorder) UpdateApiKey(ctx, in interface{}, return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateApiKey", reflect.TypeOf((*MockCloudServiceClient)(nil).UpdateApiKey), varargs...) } +// UpdateCustomRole mocks base method. +func (m *MockCloudServiceClient) UpdateCustomRole(ctx context.Context, in *cloudservice.UpdateCustomRoleRequest, opts ...grpc.CallOption) (*cloudservice.UpdateCustomRoleResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "UpdateCustomRole", varargs...) + ret0, _ := ret[0].(*cloudservice.UpdateCustomRoleResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// UpdateCustomRole indicates an expected call of UpdateCustomRole. +func (mr *MockCloudServiceClientMockRecorder) UpdateCustomRole(ctx, in interface{}, opts ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{ctx, in}, opts...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateCustomRole", reflect.TypeOf((*MockCloudServiceClient)(nil).UpdateCustomRole), varargs...) +} + // UpdateNamespace mocks base method. func (m *MockCloudServiceClient) UpdateNamespace(ctx context.Context, in *cloudservice.UpdateNamespaceRequest, opts ...grpc.CallOption) (*cloudservice.UpdateNamespaceResponse, error) { m.ctrl.T.Helper() @@ -1709,6 +1949,21 @@ func (mr *MockCloudServiceServerMockRecorder) CreateApiKey(arg0, arg1 interface{ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateApiKey", reflect.TypeOf((*MockCloudServiceServer)(nil).CreateApiKey), arg0, arg1) } +// CreateBillingReport mocks base method. +func (m *MockCloudServiceServer) CreateBillingReport(arg0 context.Context, arg1 *cloudservice.CreateBillingReportRequest) (*cloudservice.CreateBillingReportResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "CreateBillingReport", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.CreateBillingReportResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// CreateBillingReport indicates an expected call of CreateBillingReport. +func (mr *MockCloudServiceServerMockRecorder) CreateBillingReport(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateBillingReport", reflect.TypeOf((*MockCloudServiceServer)(nil).CreateBillingReport), arg0, arg1) +} + // CreateConnectivityRule mocks base method. func (m *MockCloudServiceServer) CreateConnectivityRule(arg0 context.Context, arg1 *cloudservice.CreateConnectivityRuleRequest) (*cloudservice.CreateConnectivityRuleResponse, error) { m.ctrl.T.Helper() @@ -1724,6 +1979,21 @@ func (mr *MockCloudServiceServerMockRecorder) CreateConnectivityRule(arg0, arg1 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateConnectivityRule", reflect.TypeOf((*MockCloudServiceServer)(nil).CreateConnectivityRule), arg0, arg1) } +// CreateCustomRole mocks base method. +func (m *MockCloudServiceServer) CreateCustomRole(arg0 context.Context, arg1 *cloudservice.CreateCustomRoleRequest) (*cloudservice.CreateCustomRoleResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "CreateCustomRole", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.CreateCustomRoleResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// CreateCustomRole indicates an expected call of CreateCustomRole. +func (mr *MockCloudServiceServerMockRecorder) CreateCustomRole(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateCustomRole", reflect.TypeOf((*MockCloudServiceServer)(nil).CreateCustomRole), arg0, arg1) +} + // CreateNamespace mocks base method. func (m *MockCloudServiceServer) CreateNamespace(arg0 context.Context, arg1 *cloudservice.CreateNamespaceRequest) (*cloudservice.CreateNamespaceResponse, error) { m.ctrl.T.Helper() @@ -1874,6 +2144,21 @@ func (mr *MockCloudServiceServerMockRecorder) DeleteConnectivityRule(arg0, arg1 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteConnectivityRule", reflect.TypeOf((*MockCloudServiceServer)(nil).DeleteConnectivityRule), arg0, arg1) } +// DeleteCustomRole mocks base method. +func (m *MockCloudServiceServer) DeleteCustomRole(arg0 context.Context, arg1 *cloudservice.DeleteCustomRoleRequest) (*cloudservice.DeleteCustomRoleResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DeleteCustomRole", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.DeleteCustomRoleResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DeleteCustomRole indicates an expected call of DeleteCustomRole. +func (mr *MockCloudServiceServerMockRecorder) DeleteCustomRole(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCustomRole", reflect.TypeOf((*MockCloudServiceServer)(nil).DeleteCustomRole), arg0, arg1) +} + // DeleteNamespace mocks base method. func (m *MockCloudServiceServer) DeleteNamespace(arg0 context.Context, arg1 *cloudservice.DeleteNamespaceRequest) (*cloudservice.DeleteNamespaceResponse, error) { m.ctrl.T.Helper() @@ -2114,6 +2399,21 @@ func (mr *MockCloudServiceServerMockRecorder) GetAuditLogs(arg0, arg1 interface{ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAuditLogs", reflect.TypeOf((*MockCloudServiceServer)(nil).GetAuditLogs), arg0, arg1) } +// GetBillingReport mocks base method. +func (m *MockCloudServiceServer) GetBillingReport(arg0 context.Context, arg1 *cloudservice.GetBillingReportRequest) (*cloudservice.GetBillingReportResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetBillingReport", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.GetBillingReportResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetBillingReport indicates an expected call of GetBillingReport. +func (mr *MockCloudServiceServerMockRecorder) GetBillingReport(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBillingReport", reflect.TypeOf((*MockCloudServiceServer)(nil).GetBillingReport), arg0, arg1) +} + // GetConnectivityRule mocks base method. func (m *MockCloudServiceServer) GetConnectivityRule(arg0 context.Context, arg1 *cloudservice.GetConnectivityRuleRequest) (*cloudservice.GetConnectivityRuleResponse, error) { m.ctrl.T.Helper() @@ -2144,6 +2444,51 @@ func (mr *MockCloudServiceServerMockRecorder) GetConnectivityRules(arg0, arg1 in return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetConnectivityRules", reflect.TypeOf((*MockCloudServiceServer)(nil).GetConnectivityRules), arg0, arg1) } +// GetCurrentIdentity mocks base method. +func (m *MockCloudServiceServer) GetCurrentIdentity(arg0 context.Context, arg1 *cloudservice.GetCurrentIdentityRequest) (*cloudservice.GetCurrentIdentityResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetCurrentIdentity", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.GetCurrentIdentityResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetCurrentIdentity indicates an expected call of GetCurrentIdentity. +func (mr *MockCloudServiceServerMockRecorder) GetCurrentIdentity(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCurrentIdentity", reflect.TypeOf((*MockCloudServiceServer)(nil).GetCurrentIdentity), arg0, arg1) +} + +// GetCustomRole mocks base method. +func (m *MockCloudServiceServer) GetCustomRole(arg0 context.Context, arg1 *cloudservice.GetCustomRoleRequest) (*cloudservice.GetCustomRoleResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetCustomRole", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.GetCustomRoleResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetCustomRole indicates an expected call of GetCustomRole. +func (mr *MockCloudServiceServerMockRecorder) GetCustomRole(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCustomRole", reflect.TypeOf((*MockCloudServiceServer)(nil).GetCustomRole), arg0, arg1) +} + +// GetCustomRoles mocks base method. +func (m *MockCloudServiceServer) GetCustomRoles(arg0 context.Context, arg1 *cloudservice.GetCustomRolesRequest) (*cloudservice.GetCustomRolesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetCustomRoles", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.GetCustomRolesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetCustomRoles indicates an expected call of GetCustomRoles. +func (mr *MockCloudServiceServerMockRecorder) GetCustomRoles(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCustomRoles", reflect.TypeOf((*MockCloudServiceServer)(nil).GetCustomRoles), arg0, arg1) +} + // GetMigration mocks base method. func (m *MockCloudServiceServer) GetMigration(arg0 context.Context, arg1 *cloudservice.GetMigrationRequest) (*cloudservice.GetMigrationResponse, error) { m.ctrl.T.Helper() @@ -2189,6 +2534,21 @@ func (mr *MockCloudServiceServerMockRecorder) GetNamespace(arg0, arg1 interface{ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNamespace", reflect.TypeOf((*MockCloudServiceServer)(nil).GetNamespace), arg0, arg1) } +// GetNamespaceCapacityInfo mocks base method. +func (m *MockCloudServiceServer) GetNamespaceCapacityInfo(arg0 context.Context, arg1 *cloudservice.GetNamespaceCapacityInfoRequest) (*cloudservice.GetNamespaceCapacityInfoResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetNamespaceCapacityInfo", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.GetNamespaceCapacityInfoResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetNamespaceCapacityInfo indicates an expected call of GetNamespaceCapacityInfo. +func (mr *MockCloudServiceServerMockRecorder) GetNamespaceCapacityInfo(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNamespaceCapacityInfo", reflect.TypeOf((*MockCloudServiceServer)(nil).GetNamespaceCapacityInfo), arg0, arg1) +} + // GetNamespaceExportSink mocks base method. func (m *MockCloudServiceServer) GetNamespaceExportSink(arg0 context.Context, arg1 *cloudservice.GetNamespaceExportSinkRequest) (*cloudservice.GetNamespaceExportSinkResponse, error) { m.ctrl.T.Helper() @@ -2549,6 +2909,21 @@ func (mr *MockCloudServiceServerMockRecorder) SetServiceAccountNamespaceAccess(a return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetServiceAccountNamespaceAccess", reflect.TypeOf((*MockCloudServiceServer)(nil).SetServiceAccountNamespaceAccess), arg0, arg1) } +// SetServiceAccountProjectAccess mocks base method. +func (m *MockCloudServiceServer) SetServiceAccountProjectAccess(arg0 context.Context, arg1 *cloudservice.SetServiceAccountProjectAccessRequest) (*cloudservice.SetServiceAccountProjectAccessResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SetServiceAccountProjectAccess", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.SetServiceAccountProjectAccessResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// SetServiceAccountProjectAccess indicates an expected call of SetServiceAccountProjectAccess. +func (mr *MockCloudServiceServerMockRecorder) SetServiceAccountProjectAccess(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetServiceAccountProjectAccess", reflect.TypeOf((*MockCloudServiceServer)(nil).SetServiceAccountProjectAccess), arg0, arg1) +} + // SetUserGroupNamespaceAccess mocks base method. func (m *MockCloudServiceServer) SetUserGroupNamespaceAccess(arg0 context.Context, arg1 *cloudservice.SetUserGroupNamespaceAccessRequest) (*cloudservice.SetUserGroupNamespaceAccessResponse, error) { m.ctrl.T.Helper() @@ -2564,6 +2939,21 @@ func (mr *MockCloudServiceServerMockRecorder) SetUserGroupNamespaceAccess(arg0, return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetUserGroupNamespaceAccess", reflect.TypeOf((*MockCloudServiceServer)(nil).SetUserGroupNamespaceAccess), arg0, arg1) } +// SetUserGroupProjectAccess mocks base method. +func (m *MockCloudServiceServer) SetUserGroupProjectAccess(arg0 context.Context, arg1 *cloudservice.SetUserGroupProjectAccessRequest) (*cloudservice.SetUserGroupProjectAccessResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SetUserGroupProjectAccess", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.SetUserGroupProjectAccessResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// SetUserGroupProjectAccess indicates an expected call of SetUserGroupProjectAccess. +func (mr *MockCloudServiceServerMockRecorder) SetUserGroupProjectAccess(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetUserGroupProjectAccess", reflect.TypeOf((*MockCloudServiceServer)(nil).SetUserGroupProjectAccess), arg0, arg1) +} + // SetUserNamespaceAccess mocks base method. func (m *MockCloudServiceServer) SetUserNamespaceAccess(arg0 context.Context, arg1 *cloudservice.SetUserNamespaceAccessRequest) (*cloudservice.SetUserNamespaceAccessResponse, error) { m.ctrl.T.Helper() @@ -2579,6 +2969,21 @@ func (mr *MockCloudServiceServerMockRecorder) SetUserNamespaceAccess(arg0, arg1 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetUserNamespaceAccess", reflect.TypeOf((*MockCloudServiceServer)(nil).SetUserNamespaceAccess), arg0, arg1) } +// SetUserProjectAccess mocks base method. +func (m *MockCloudServiceServer) SetUserProjectAccess(arg0 context.Context, arg1 *cloudservice.SetUserProjectAccessRequest) (*cloudservice.SetUserProjectAccessResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SetUserProjectAccess", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.SetUserProjectAccessResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// SetUserProjectAccess indicates an expected call of SetUserProjectAccess. +func (mr *MockCloudServiceServerMockRecorder) SetUserProjectAccess(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetUserProjectAccess", reflect.TypeOf((*MockCloudServiceServer)(nil).SetUserProjectAccess), arg0, arg1) +} + // StartMigration mocks base method. func (m *MockCloudServiceServer) StartMigration(arg0 context.Context, arg1 *cloudservice.StartMigrationRequest) (*cloudservice.StartMigrationResponse, error) { m.ctrl.T.Helper() @@ -2639,6 +3044,21 @@ func (mr *MockCloudServiceServerMockRecorder) UpdateApiKey(arg0, arg1 interface{ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateApiKey", reflect.TypeOf((*MockCloudServiceServer)(nil).UpdateApiKey), arg0, arg1) } +// UpdateCustomRole mocks base method. +func (m *MockCloudServiceServer) UpdateCustomRole(arg0 context.Context, arg1 *cloudservice.UpdateCustomRoleRequest) (*cloudservice.UpdateCustomRoleResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "UpdateCustomRole", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.UpdateCustomRoleResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// UpdateCustomRole indicates an expected call of UpdateCustomRole. +func (mr *MockCloudServiceServerMockRecorder) UpdateCustomRole(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateCustomRole", reflect.TypeOf((*MockCloudServiceServer)(nil).UpdateCustomRole), arg0, arg1) +} + // UpdateNamespace mocks base method. func (m *MockCloudServiceServer) UpdateNamespace(arg0 context.Context, arg1 *cloudservice.UpdateNamespaceRequest) (*cloudservice.UpdateNamespaceResponse, error) { m.ctrl.T.Helper()