func (e ListApplicationsRequestValidationError) Error() string {
	cause := ""
	if e.cause != nil {
		cause = fmt.Sprintf(" | caused by: %v", e.cause)
	}
	key := ""
	if e.key {
		key = "key for "
	}
	return fmt.Sprintf(
		"invalid %sListApplicationsRequest.%s: %s%s",
		key,
		e.field,
		e.reason,
		cause)
}
Error satisfies the builtin error interface
package v1
import (
	"bytes"
	"errors"
	"fmt"
	"net"
	"net/mail"
	"net/url"
	"regexp"
	"strings"
	"time"
	"unicode/utf8"
	"github.com/golang/protobuf/ptypes"
)
var (
	_ = bytes.MinRead
	_ = errors.New("")
	_ = fmt.Print
	_ = utf8.UTFMax
	_ = (*regexp.Regexp)(nil)
	_ = (*strings.Reader)(nil)
	_ = net.IPv4len
	_ = time.Duration(0)
	_ = (*url.URL)(nil)
	_ = (*mail.Address)(nil)
	_ = ptypes.DynamicAny{}
)
var _application_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$")
func (m *UpsertApplicationRequest) Validate() error {
	if m == nil {
		return nil
	}
	if !_UpsertApplicationRequest_Scope_Pattern.MatchString(m.GetScope()) {
		return UpsertApplicationRequestValidationError{
			field:  "Scope",
			reason: "value does not match regex pattern \"\\\\b[A-Z]{3}\\\\b\"",
		}
	}
	return nil
}
type UpsertApplicationRequestValidationError struct {
	field  string
	reason string
	cause  error
	key    bool
}
func (e UpsertApplicationRequestValidationError) Field() string { return e.field }
func (e UpsertApplicationRequestValidationError) Reason() string { return e.reason }
func (e UpsertApplicationRequestValidationError) Cause() error { return e.cause }
func (e UpsertApplicationRequestValidationError) Key() bool { return e.key }
func (e UpsertApplicationRequestValidationError) ErrorName() string {
	return "UpsertApplicationRequestValidationError"
}
func (e UpsertApplicationRequestValidationError) Error() string {
	cause := ""
	if e.cause != nil {
		cause = fmt.Sprintf(" | caused by: %v", e.cause)
	}
	key := ""
	if e.key {
		key = "key for "
	}
	return fmt.Sprintf(
		"invalid %sUpsertApplicationRequest.%s: %s%s",
		key,
		e.field,
		e.reason,
		cause)
}
var _ error = UpsertApplicationRequestValidationError{}
var _ interface {
	Field() string
	Reason() string
	Key() bool
	Cause() error
	ErrorName() string
} = UpsertApplicationRequestValidationError{}
var _UpsertApplicationRequest_Scope_Pattern = regexp.MustCompile("\\b[A-Z]{3}\\b")
func (m *UpsertApplicationResponse) Validate() error {
	if m == nil {
		return nil
	}
	return nil
}
type UpsertApplicationResponseValidationError struct {
	field  string
	reason string
	cause  error
	key    bool
}
func (e UpsertApplicationResponseValidationError) Field() string { return e.field }
func (e UpsertApplicationResponseValidationError) Reason() string { return e.reason }
func (e UpsertApplicationResponseValidationError) Cause() error { return e.cause }
func (e UpsertApplicationResponseValidationError) Key() bool { return e.key }
func (e UpsertApplicationResponseValidationError) ErrorName() string {
	return "UpsertApplicationResponseValidationError"
}
func (e UpsertApplicationResponseValidationError) Error() string {
	cause := ""
	if e.cause != nil {
		cause = fmt.Sprintf(" | caused by: %v", e.cause)
	}
	key := ""
	if e.key {
		key = "key for "
	}
	return fmt.Sprintf(
		"invalid %sUpsertApplicationResponse.%s: %s%s",
		key,
		e.field,
		e.reason,
		cause)
}
var _ error = UpsertApplicationResponseValidationError{}
var _ interface {
	Field() string
	Reason() string
	Key() bool
	Cause() error
	ErrorName() string
} = UpsertApplicationResponseValidationError{}
func (m *DropApplicationDataRequest) Validate() error {
	if m == nil {
		return nil
	}
	if !_DropApplicationDataRequest_Scope_Pattern.MatchString(m.GetScope()) {
		return DropApplicationDataRequestValidationError{
			field:  "Scope",
			reason: "value does not match regex pattern \"\\\\b[A-Z]{3}\\\\b\"",
		}
	}
	return nil
}
type DropApplicationDataRequestValidationError struct {
	field  string
	reason string
	cause  error
	key    bool
}
func (e DropApplicationDataRequestValidationError) Field() string { return e.field }
func (e DropApplicationDataRequestValidationError) Reason() string { return e.reason }
func (e DropApplicationDataRequestValidationError) Cause() error { return e.cause }
func (e DropApplicationDataRequestValidationError) Key() bool { return e.key }
func (e DropApplicationDataRequestValidationError) ErrorName() string {
	return "DropApplicationDataRequestValidationError"
}
func (e DropApplicationDataRequestValidationError) Error() string {
	cause := ""
	if e.cause != nil {
		cause = fmt.Sprintf(" | caused by: %v", e.cause)
	}
	key := ""
	if e.key {
		key = "key for "
	}
	return fmt.Sprintf(
		"invalid %sDropApplicationDataRequest.%s: %s%s",
		key,
		e.field,
		e.reason,
		cause)
}
var _ error = DropApplicationDataRequestValidationError{}
var _ interface {
	Field() string
	Reason() string
	Key() bool
	Cause() error
	ErrorName() string
} = DropApplicationDataRequestValidationError{}
var _DropApplicationDataRequest_Scope_Pattern = regexp.MustCompile("\\b[A-Z]{3}\\b")
func (m *DropApplicationDataResponse) Validate() error {
	if m == nil {
		return nil
	}
	return nil
}
type DropApplicationDataResponseValidationError struct {
	field  string
	reason string
	cause  error
	key    bool
}
func (e DropApplicationDataResponseValidationError) Field() string { return e.field }
func (e DropApplicationDataResponseValidationError) Reason() string { return e.reason }
func (e DropApplicationDataResponseValidationError) Cause() error { return e.cause }
func (e DropApplicationDataResponseValidationError) Key() bool { return e.key }
func (e DropApplicationDataResponseValidationError) ErrorName() string {
	return "DropApplicationDataResponseValidationError"
}
func (e DropApplicationDataResponseValidationError) Error() string {
	cause := ""
	if e.cause != nil {
		cause = fmt.Sprintf(" | caused by: %v", e.cause)
	}
	key := ""
	if e.key {
		key = "key for "
	}
	return fmt.Sprintf(
		"invalid %sDropApplicationDataResponse.%s: %s%s",
		key,
		e.field,
		e.reason,
		cause)
}
var _ error = DropApplicationDataResponseValidationError{}
var _ interface {
	Field() string
	Reason() string
	Key() bool
	Cause() error
	ErrorName() string
} = DropApplicationDataResponseValidationError{}
func (m *DeleteApplicationRequest) Validate() error {
	if m == nil {
		return nil
	}
	return nil
}
type DeleteApplicationRequestValidationError struct {
	field  string
	reason string
	cause  error
	key    bool
}
func (e DeleteApplicationRequestValidationError) Field() string { return e.field }
func (e DeleteApplicationRequestValidationError) Reason() string { return e.reason }
func (e DeleteApplicationRequestValidationError) Cause() error { return e.cause }
func (e DeleteApplicationRequestValidationError) Key() bool { return e.key }
func (e DeleteApplicationRequestValidationError) ErrorName() string {
	return "DeleteApplicationRequestValidationError"
}
func (e DeleteApplicationRequestValidationError) Error() string {
	cause := ""
	if e.cause != nil {
		cause = fmt.Sprintf(" | caused by: %v", e.cause)
	}
	key := ""
	if e.key {
		key = "key for "
	}
	return fmt.Sprintf(
		"invalid %sDeleteApplicationRequest.%s: %s%s",
		key,
		e.field,
		e.reason,
		cause)
}
var _ error = DeleteApplicationRequestValidationError{}
var _ interface {
	Field() string
	Reason() string
	Key() bool
	Cause() error
	ErrorName() string
} = DeleteApplicationRequestValidationError{}
func (m *DeleteApplicationResponse) Validate() error {
	if m == nil {
		return nil
	}
	return nil
}
type DeleteApplicationResponseValidationError struct {
	field  string
	reason string
	cause  error
	key    bool
}
func (e DeleteApplicationResponseValidationError) Field() string { return e.field }
func (e DeleteApplicationResponseValidationError) Reason() string { return e.reason }
func (e DeleteApplicationResponseValidationError) Cause() error { return e.cause }
func (e DeleteApplicationResponseValidationError) Key() bool { return e.key }
func (e DeleteApplicationResponseValidationError) ErrorName() string {
	return "DeleteApplicationResponseValidationError"
}
func (e DeleteApplicationResponseValidationError) Error() string {
	cause := ""
	if e.cause != nil {
		cause = fmt.Sprintf(" | caused by: %v", e.cause)
	}
	key := ""
	if e.key {
		key = "key for "
	}
	return fmt.Sprintf(
		"invalid %sDeleteApplicationResponse.%s: %s%s",
		key,
		e.field,
		e.reason,
		cause)
}
var _ error = DeleteApplicationResponseValidationError{}
var _ interface {
	Field() string
	Reason() string
	Key() bool
	Cause() error
	ErrorName() string
} = DeleteApplicationResponseValidationError{}
func (m *UpsertInstanceRequest) Validate() error {
	if m == nil {
		return nil
	}
	if v, ok := interface{}(m.GetProducts()).(interface{ Validate() error }); ok {
		if err := v.Validate(); err != nil {
			return UpsertInstanceRequestValidationError{
				field:  "Products",
				reason: "embedded message failed validation",
				cause:  err,
			}
		}
	}
	if v, ok := interface{}(m.GetEquipments()).(interface{ Validate() error }); ok {
		if err := v.Validate(); err != nil {
			return UpsertInstanceRequestValidationError{
				field:  "Equipments",
				reason: "embedded message failed validation",
				cause:  err,
			}
		}
	}
	if !_UpsertInstanceRequest_Scope_Pattern.MatchString(m.GetScope()) {
		return UpsertInstanceRequestValidationError{
			field:  "Scope",
			reason: "value does not match regex pattern \"\\\\b[A-Z]{3}\\\\b\"",
		}
	}
	return nil
}
type UpsertInstanceRequestValidationError struct {
	field  string
	reason string
	cause  error
	key    bool
}
func (e UpsertInstanceRequestValidationError) Field() string { return e.field }
func (e UpsertInstanceRequestValidationError) Reason() string { return e.reason }
func (e UpsertInstanceRequestValidationError) Cause() error { return e.cause }
func (e UpsertInstanceRequestValidationError) Key() bool { return e.key }
func (e UpsertInstanceRequestValidationError) ErrorName() string {
	return "UpsertInstanceRequestValidationError"
}
func (e UpsertInstanceRequestValidationError) Error() string {
	cause := ""
	if e.cause != nil {
		cause = fmt.Sprintf(" | caused by: %v", e.cause)
	}
	key := ""
	if e.key {
		key = "key for "
	}
	return fmt.Sprintf(
		"invalid %sUpsertInstanceRequest.%s: %s%s",
		key,
		e.field,
		e.reason,
		cause)
}
var _ error = UpsertInstanceRequestValidationError{}
var _ interface {
	Field() string
	Reason() string
	Key() bool
	Cause() error
	ErrorName() string
} = UpsertInstanceRequestValidationError{}
var _UpsertInstanceRequest_Scope_Pattern = regexp.MustCompile("\\b[A-Z]{3}\\b")
func (m *UpsertInstanceResponse) Validate() error {
	if m == nil {
		return nil
	}
	return nil
}
type UpsertInstanceResponseValidationError struct {
	field  string
	reason string
	cause  error
	key    bool
}
func (e UpsertInstanceResponseValidationError) Field() string { return e.field }
func (e UpsertInstanceResponseValidationError) Reason() string { return e.reason }
func (e UpsertInstanceResponseValidationError) Cause() error { return e.cause }
func (e UpsertInstanceResponseValidationError) Key() bool { return e.key }
func (e UpsertInstanceResponseValidationError) ErrorName() string {
	return "UpsertInstanceResponseValidationError"
}
func (e UpsertInstanceResponseValidationError) Error() string {
	cause := ""
	if e.cause != nil {
		cause = fmt.Sprintf(" | caused by: %v", e.cause)
	}
	key := ""
	if e.key {
		key = "key for "
	}
	return fmt.Sprintf(
		"invalid %sUpsertInstanceResponse.%s: %s%s",
		key,
		e.field,
		e.reason,
		cause)
}
var _ error = UpsertInstanceResponseValidationError{}
var _ interface {
	Field() string
	Reason() string
	Key() bool
	Cause() error
	ErrorName() string
} = UpsertInstanceResponseValidationError{}
func (m *DeleteInstanceRequest) Validate() error {
	if m == nil {
		return nil
	}
	return nil
}
type DeleteInstanceRequestValidationError struct {
	field  string
	reason string
	cause  error
	key    bool
}
func (e DeleteInstanceRequestValidationError) Field() string { return e.field }
func (e DeleteInstanceRequestValidationError) Reason() string { return e.reason }
func (e DeleteInstanceRequestValidationError) Cause() error { return e.cause }
func (e DeleteInstanceRequestValidationError) Key() bool { return e.key }
func (e DeleteInstanceRequestValidationError) ErrorName() string {
	return "DeleteInstanceRequestValidationError"
}
func (e DeleteInstanceRequestValidationError) Error() string {
	cause := ""
	if e.cause != nil {
		cause = fmt.Sprintf(" | caused by: %v", e.cause)
	}
	key := ""
	if e.key {
		key = "key for "
	}
	return fmt.Sprintf(
		"invalid %sDeleteInstanceRequest.%s: %s%s",
		key,
		e.field,
		e.reason,
		cause)
}
var _ error = DeleteInstanceRequestValidationError{}
var _ interface {
	Field() string
	Reason() string
	Key() bool
	Cause() error
	ErrorName() string
} = DeleteInstanceRequestValidationError{}
func (m *DeleteInstanceResponse) Validate() error {
	if m == nil {
		return nil
	}
	return nil
}
type DeleteInstanceResponseValidationError struct {
	field  string
	reason string
	cause  error
	key    bool
}
func (e DeleteInstanceResponseValidationError) Field() string { return e.field }
func (e DeleteInstanceResponseValidationError) Reason() string { return e.reason }
func (e DeleteInstanceResponseValidationError) Cause() error { return e.cause }
func (e DeleteInstanceResponseValidationError) Key() bool { return e.key }
func (e DeleteInstanceResponseValidationError) ErrorName() string {
	return "DeleteInstanceResponseValidationError"
}
func (e DeleteInstanceResponseValidationError) Error() string {
	cause := ""
	if e.cause != nil {
		cause = fmt.Sprintf(" | caused by: %v", e.cause)
	}
	key := ""
	if e.key {
		key = "key for "
	}
	return fmt.Sprintf(
		"invalid %sDeleteInstanceResponse.%s: %s%s",
		key,
		e.field,
		e.reason,
		cause)
}
var _ error = DeleteInstanceResponseValidationError{}
var _ interface {
	Field() string
	Reason() string
	Key() bool
	Cause() error
	ErrorName() string
} = DeleteInstanceResponseValidationError{}
func (m *ListApplicationsRequest) Validate() error {
	if m == nil {
		return nil
	}
	if val := m.GetPageNum(); val < 1 || val >= 1000 {
		return ListApplicationsRequestValidationError{
			field:  "PageNum",
			reason: "value must be inside range [1, 1000)",
		}
	}
	if val := m.GetPageSize(); val < 10 || val >= 100 {
		return ListApplicationsRequestValidationError{
			field:  "PageSize",
			reason: "value must be inside range [10, 100)",
		}
	}
	if _, ok := ListApplicationsRequest_SortBy_name[int32(m.GetSortBy())]; !ok {
		return ListApplicationsRequestValidationError{
			field:  "SortBy",
			reason: "value must be one of the defined enum values",
		}
	}
	if _, ok := SortOrder_name[int32(m.GetSortOrder())]; !ok {
		return ListApplicationsRequestValidationError{
			field:  "SortOrder",
			reason: "value must be one of the defined enum values",
		}
	}
	if v, ok := interface{}(m.GetSearchParams()).(interface{ Validate() error }); ok {
		if err := v.Validate(); err != nil {
			return ListApplicationsRequestValidationError{
				field:  "SearchParams",
				reason: "embedded message failed validation",
				cause:  err,
			}
		}
	}
	if len(m.GetScopes()) != 1 {
		return ListApplicationsRequestValidationError{
			field:  "Scopes",
			reason: "value must contain exactly 1 item(s)",
		}
	}
	for idx, item := range m.GetScopes() {
		_, _ = idx, item
		if utf8.RuneCountInString(item) != 3 {
			return ListApplicationsRequestValidationError{
				field:  fmt.Sprintf("Scopes[%v]", idx),
				reason: "value length must be 3 runes",
			}
		}
	}
	return nil
}
type ListApplicationsRequestValidationError struct {
	field  string
	reason string
	cause  error
	key    bool
}
func (e ListApplicationsRequestValidationError) Field() string { return e.field }
func (e ListApplicationsRequestValidationError) Reason() string { return e.reason }
func (e ListApplicationsRequestValidationError) Cause() error { return e.cause }
func (e ListApplicationsRequestValidationError) Key() bool { return e.key }
func (e ListApplicationsRequestValidationError) ErrorName() string {
	return "ListApplicationsRequestValidationError"
}