blob: d4a82b852efd6365f429a8398541c7eff9383a43 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/cloud/oslogin/common/common.proto
package common
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
_ "google.golang.org/genproto/googleapis/api/annotations"
)
// 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.ProtoPackageIsVersion3 // please upgrade the proto package
// The operating system options for account entries.
type OperatingSystemType int32
const (
// The operating system type associated with the user account information is
// unspecified.
OperatingSystemType_OPERATING_SYSTEM_TYPE_UNSPECIFIED OperatingSystemType = 0
// Linux user account information.
OperatingSystemType_LINUX OperatingSystemType = 1
// Windows user account information.
OperatingSystemType_WINDOWS OperatingSystemType = 2
)
var OperatingSystemType_name = map[int32]string{
0: "OPERATING_SYSTEM_TYPE_UNSPECIFIED",
1: "LINUX",
2: "WINDOWS",
}
var OperatingSystemType_value = map[string]int32{
"OPERATING_SYSTEM_TYPE_UNSPECIFIED": 0,
"LINUX": 1,
"WINDOWS": 2,
}
func (x OperatingSystemType) String() string {
return proto.EnumName(OperatingSystemType_name, int32(x))
}
func (OperatingSystemType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_7fa58776520b3f24, []int{0}
}
// The POSIX account information associated with a Google account.
type PosixAccount struct {
// Only one POSIX account can be marked as primary.
Primary bool `protobuf:"varint,1,opt,name=primary,proto3" json:"primary,omitempty"`
// The username of the POSIX account.
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
// The user ID.
Uid int64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"`
// The default group ID.
Gid int64 `protobuf:"varint,4,opt,name=gid,proto3" json:"gid,omitempty"`
// The path to the home directory for this account.
HomeDirectory string `protobuf:"bytes,5,opt,name=home_directory,json=homeDirectory,proto3" json:"home_directory,omitempty"`
// The path to the logic shell for this account.
Shell string `protobuf:"bytes,6,opt,name=shell,proto3" json:"shell,omitempty"`
// The GECOS (user information) entry for this account.
Gecos string `protobuf:"bytes,7,opt,name=gecos,proto3" json:"gecos,omitempty"`
// System identifier for which account the username or uid applies to.
// By default, the empty value is used.
SystemId string `protobuf:"bytes,8,opt,name=system_id,json=systemId,proto3" json:"system_id,omitempty"`
// Output only. A POSIX account identifier.
AccountId string `protobuf:"bytes,9,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
// The operating system type where this account applies.
OperatingSystemType OperatingSystemType `protobuf:"varint,10,opt,name=operating_system_type,json=operatingSystemType,proto3,enum=google.cloud.oslogin.common.OperatingSystemType" json:"operating_system_type,omitempty"`
// Output only. The canonical resource name.
Name string `protobuf:"bytes,11,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PosixAccount) Reset() { *m = PosixAccount{} }
func (m *PosixAccount) String() string { return proto.CompactTextString(m) }
func (*PosixAccount) ProtoMessage() {}
func (*PosixAccount) Descriptor() ([]byte, []int) {
return fileDescriptor_7fa58776520b3f24, []int{0}
}
func (m *PosixAccount) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PosixAccount.Unmarshal(m, b)
}
func (m *PosixAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PosixAccount.Marshal(b, m, deterministic)
}
func (m *PosixAccount) XXX_Merge(src proto.Message) {
xxx_messageInfo_PosixAccount.Merge(m, src)
}
func (m *PosixAccount) XXX_Size() int {
return xxx_messageInfo_PosixAccount.Size(m)
}
func (m *PosixAccount) XXX_DiscardUnknown() {
xxx_messageInfo_PosixAccount.DiscardUnknown(m)
}
var xxx_messageInfo_PosixAccount proto.InternalMessageInfo
func (m *PosixAccount) GetPrimary() bool {
if m != nil {
return m.Primary
}
return false
}
func (m *PosixAccount) GetUsername() string {
if m != nil {
return m.Username
}
return ""
}
func (m *PosixAccount) GetUid() int64 {
if m != nil {
return m.Uid
}
return 0
}
func (m *PosixAccount) GetGid() int64 {
if m != nil {
return m.Gid
}
return 0
}
func (m *PosixAccount) GetHomeDirectory() string {
if m != nil {
return m.HomeDirectory
}
return ""
}
func (m *PosixAccount) GetShell() string {
if m != nil {
return m.Shell
}
return ""
}
func (m *PosixAccount) GetGecos() string {
if m != nil {
return m.Gecos
}
return ""
}
func (m *PosixAccount) GetSystemId() string {
if m != nil {
return m.SystemId
}
return ""
}
func (m *PosixAccount) GetAccountId() string {
if m != nil {
return m.AccountId
}
return ""
}
func (m *PosixAccount) GetOperatingSystemType() OperatingSystemType {
if m != nil {
return m.OperatingSystemType
}
return OperatingSystemType_OPERATING_SYSTEM_TYPE_UNSPECIFIED
}
func (m *PosixAccount) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// The SSH public key information associated with a Google account.
type SshPublicKey struct {
// Public key text in SSH format, defined by
// <a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a>
// section 6.6.
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// An expiration time in microseconds since epoch.
ExpirationTimeUsec int64 `protobuf:"varint,2,opt,name=expiration_time_usec,json=expirationTimeUsec,proto3" json:"expiration_time_usec,omitempty"`
// Output only. The SHA-256 fingerprint of the SSH public key.
Fingerprint string `protobuf:"bytes,3,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
// Output only. The canonical resource name.
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SshPublicKey) Reset() { *m = SshPublicKey{} }
func (m *SshPublicKey) String() string { return proto.CompactTextString(m) }
func (*SshPublicKey) ProtoMessage() {}
func (*SshPublicKey) Descriptor() ([]byte, []int) {
return fileDescriptor_7fa58776520b3f24, []int{1}
}
func (m *SshPublicKey) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SshPublicKey.Unmarshal(m, b)
}
func (m *SshPublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SshPublicKey.Marshal(b, m, deterministic)
}
func (m *SshPublicKey) XXX_Merge(src proto.Message) {
xxx_messageInfo_SshPublicKey.Merge(m, src)
}
func (m *SshPublicKey) XXX_Size() int {
return xxx_messageInfo_SshPublicKey.Size(m)
}
func (m *SshPublicKey) XXX_DiscardUnknown() {
xxx_messageInfo_SshPublicKey.DiscardUnknown(m)
}
var xxx_messageInfo_SshPublicKey proto.InternalMessageInfo
func (m *SshPublicKey) GetKey() string {
if m != nil {
return m.Key
}
return ""
}
func (m *SshPublicKey) GetExpirationTimeUsec() int64 {
if m != nil {
return m.ExpirationTimeUsec
}
return 0
}
func (m *SshPublicKey) GetFingerprint() string {
if m != nil {
return m.Fingerprint
}
return ""
}
func (m *SshPublicKey) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func init() {
proto.RegisterEnum("google.cloud.oslogin.common.OperatingSystemType", OperatingSystemType_name, OperatingSystemType_value)
proto.RegisterType((*PosixAccount)(nil), "google.cloud.oslogin.common.PosixAccount")
proto.RegisterType((*SshPublicKey)(nil), "google.cloud.oslogin.common.SshPublicKey")
}
func init() {
proto.RegisterFile("google/cloud/oslogin/common/common.proto", fileDescriptor_7fa58776520b3f24)
}
var fileDescriptor_7fa58776520b3f24 = []byte{
// 643 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x54, 0xdd, 0x4e, 0xdb, 0x4c,
0x10, 0xfd, 0x9c, 0xf0, 0x97, 0x25, 0x1f, 0x8a, 0x16, 0xaa, 0xba, 0x44, 0x2a, 0x29, 0x15, 0x52,
0xd4, 0x4a, 0x36, 0x6a, 0xef, 0xdc, 0x2b,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