func (req *GetGatewayCollaboratorRequest) ValidateContext(context.Context) error {
	return req.ValidateFields()
}
ValidateContext wraps the generated validator with (optionally context-based) custom checks.
package ttnpb
import "context"
func (req *CreateGatewayRequest) ValidateContext(context.Context) error {
	return req.ValidateFields()
}
func (req *GetGatewayRequest) ValidateContext(context.Context) error {
	return req.ValidateFields()
}
func (m *UpdateGatewayRequest) ValidateContext(context.Context) error {
	if len(m.FieldMask.GetPaths()) == 0 {
		return m.ValidateFields()
	}
	return m.ValidateFields(append(FieldsWithPrefix("gateway", m.FieldMask.GetPaths()...),
		"gateway.ids",
	)...)
}
func (req *CreateGatewayAPIKeyRequest) ValidateContext(context.Context) error {
	return req.ValidateFields()
}
func (req *ListGatewayAPIKeysRequest) ValidateContext(context.Context) error {
	return req.ValidateFields()
}
func (req *GetGatewayAPIKeyRequest) ValidateContext(context.Context) error {
	return req.ValidateFields()
}
func (req *UpdateGatewayAPIKeyRequest) ValidateContext(context.Context) error {
	return req.ValidateFields()
}