// Code generated by protoc-gen-go. DO NOT EDIT.
// source: yandex/cloud/iam/v1/api_key.proto

package iam // import "github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1"

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import timestamp "github.com/golang/protobuf/ptypes/timestamp"

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package

// An ApiKey resource.
type ApiKey struct {
	// ID of the API Key.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the service account that the API key belongs to.
	ServiceAccountId string `protobuf:"bytes,2,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	// Creation timestamp.
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Description of the API key. 0-256 characters long.
	Description          string   `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ApiKey) Reset()         { *m = ApiKey{} }
func (m *ApiKey) String() string { return proto.CompactTextString(m) }
func (*ApiKey) ProtoMessage()    {}
func (*ApiKey) Descriptor() ([]byte, []int) {
	return fileDescriptor_api_key_559895c00d20010c, []int{0}
}
func (m *ApiKey) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ApiKey.Unmarshal(m, b)
}
func (m *ApiKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ApiKey.Marshal(b, m, deterministic)
}
func (dst *ApiKey) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ApiKey.Merge(dst, src)
}
func (m *ApiKey) XXX_Size() int {
	return xxx_messageInfo_ApiKey.Size(m)
}
func (m *ApiKey) XXX_DiscardUnknown() {
	xxx_messageInfo_ApiKey.DiscardUnknown(m)
}

var xxx_messageInfo_ApiKey proto.InternalMessageInfo

func (m *ApiKey) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

func (m *ApiKey) GetServiceAccountId() string {
	if m != nil {
		return m.ServiceAccountId
	}
	return ""
}

func (m *ApiKey) GetCreatedAt() *timestamp.Timestamp {
	if m != nil {
		return m.CreatedAt
	}
	return nil
}

func (m *ApiKey) GetDescription() string {
	if m != nil {
		return m.Description
	}
	return ""
}

func init() {
	proto.RegisterType((*ApiKey)(nil), "yandex.cloud.iam.v1.ApiKey")
}

func init() {
	proto.RegisterFile("yandex/cloud/iam/v1/api_key.proto", fileDescriptor_api_key_559895c00d20010c)
}

var fileDescriptor_api_key_559895c00d20010c = []byte{
	// 247 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0xb1, 0x4b, 0xc4, 0x30,
	0x14, 0x87, 0x69, 0x95, 0x83, 0xcb, 0x81, 0x48, 0x5c, 0xca, 0x2d, 0x56, 0xa7, 0x1b, 0xbc, 0x84,
	0xd3, 0x49, 0x0e, 0x87, 0xba, 0x89, 0xdb, 0xe1, 0xe4, 0x52, 0xd2, 0xe4, 0x19, 0x1f, 0x5e, 0x9a,
	0xd0, 0xbe, 0x16, 0xfb, 0xf7, 0xf8, 0x8f, 0x0a, 0xc9, 0x15, 0x1c, 0x5c, 0xf3, 0x7d, 0xe1, 0xe3,
	0xfd, 0xd8, 0xcd, 0xa4, 0x5a, 0x03, 0xdf, 0x52, 0x1f, 0xfd, 0x60, 0x24, 0x2a, 0x27, 0xc7, 0x9d,
	0x54, 0x01, 0xeb, 0x2f, 0x98, 0x44, 0xe8, 0x3c, 0x79, 0x7e, 0x95, 0x14, 0x11, 0x15, 0x81, 0xca,
	0x89, 0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