You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

233 lines
8.7 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/cloud/oslogin/common/common.proto
  3. package common // import "google.golang.org/genproto/googleapis/cloud/oslogin/common"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "google.golang.org/genproto/googleapis/api/annotations"
  8. // Reference imports to suppress errors if they are not otherwise used.
  9. var _ = proto.Marshal
  10. var _ = fmt.Errorf
  11. var _ = math.Inf
  12. // This is a compile-time assertion to ensure that this generated file
  13. // is compatible with the proto package it is being compiled against.
  14. // A compilation error at this line likely means your copy of the
  15. // proto package needs to be updated.
  16. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  17. // The POSIX account information associated with a Google account.
  18. type PosixAccount struct {
  19. // Only one POSIX account can be marked as primary.
  20. Primary bool `protobuf:"varint,1,opt,name=primary,proto3" json:"primary,omitempty"`
  21. // The username of the POSIX account.
  22. Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
  23. // The user ID.
  24. Uid int64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"`
  25. // The default group ID.
  26. Gid int64 `protobuf:"varint,4,opt,name=gid,proto3" json:"gid,omitempty"`
  27. // The path to the home directory for this account.
  28. HomeDirectory string `protobuf:"bytes,5,opt,name=home_directory,json=homeDirectory,proto3" json:"home_directory,omitempty"`
  29. // The path to the logic shell for this account.
  30. Shell string `protobuf:"bytes,6,opt,name=shell,proto3" json:"shell,omitempty"`
  31. // The GECOS (user information) entry for this account.
  32. Gecos string `protobuf:"bytes,7,opt,name=gecos,proto3" json:"gecos,omitempty"`
  33. // System identifier for which account the username or uid applies to.
  34. // By default, the empty value is used.
  35. SystemId string `protobuf:"bytes,8,opt,name=system_id,json=systemId,proto3" json:"system_id,omitempty"`
  36. // Output only. A POSIX account identifier.
  37. AccountId string `protobuf:"bytes,9,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
  38. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  39. XXX_unrecognized []byte `json:"-"`
  40. XXX_sizecache int32 `json:"-"`
  41. }
  42. func (m *PosixAccount) Reset() { *m = PosixAccount{} }
  43. func (m *PosixAccount) String() string { return proto.CompactTextString(m) }
  44. func (*PosixAccount) ProtoMessage() {}
  45. func (*PosixAccount) Descriptor() ([]byte, []int) {
  46. return fileDescriptor_common_a837ca35e2ee9479, []int{0}
  47. }
  48. func (m *PosixAccount) XXX_Unmarshal(b []byte) error {
  49. return xxx_messageInfo_PosixAccount.Unmarshal(m, b)
  50. }
  51. func (m *PosixAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  52. return xxx_messageInfo_PosixAccount.Marshal(b, m, deterministic)
  53. }
  54. func (dst *PosixAccount) XXX_Merge(src proto.Message) {
  55. xxx_messageInfo_PosixAccount.Merge(dst, src)
  56. }
  57. func (m *PosixAccount) XXX_Size() int {
  58. return xxx_messageInfo_PosixAccount.Size(m)
  59. }
  60. func (m *PosixAccount) XXX_DiscardUnknown() {
  61. xxx_messageInfo_PosixAccount.DiscardUnknown(m)
  62. }
  63. var xxx_messageInfo_PosixAccount proto.InternalMessageInfo
  64. func (m *PosixAccount) GetPrimary() bool {
  65. if m != nil {
  66. return m.Primary
  67. }
  68. return false
  69. }
  70. func (m *PosixAccount) GetUsername() string {
  71. if m != nil {
  72. return m.Username
  73. }
  74. return ""
  75. }
  76. func (m *PosixAccount) GetUid() int64 {
  77. if m != nil {
  78. return m.Uid
  79. }
  80. return 0
  81. }
  82. func (m *PosixAccount) GetGid() int64 {
  83. if m != nil {
  84. return m.Gid
  85. }
  86. return 0
  87. }
  88. func (m *PosixAccount) GetHomeDirectory() string {
  89. if m != nil {
  90. return m.HomeDirectory
  91. }
  92. return ""
  93. }
  94. func (m *PosixAccount) GetShell() string {
  95. if m != nil {
  96. return m.Shell
  97. }
  98. return ""
  99. }
  100. func (m *PosixAccount) GetGecos() string {
  101. if m != nil {
  102. return m.Gecos
  103. }
  104. return ""
  105. }
  106. func (m *PosixAccount) GetSystemId() string {
  107. if m != nil {
  108. return m.SystemId
  109. }
  110. return ""
  111. }
  112. func (m *PosixAccount) GetAccountId() string {
  113. if m != nil {
  114. return m.AccountId
  115. }
  116. return ""
  117. }
  118. // The SSH public key information associated with a Google account.
  119. type SshPublicKey struct {
  120. // Public key text in SSH format, defined by
  121. // <a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a>
  122. // section 6.6.
  123. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  124. // An expiration time in microseconds since epoch.
  125. ExpirationTimeUsec int64 `protobuf:"varint,2,opt,name=expiration_time_usec,json=expirationTimeUsec,proto3" json:"expiration_time_usec,omitempty"`
  126. // Output only. The SHA-256 fingerprint of the SSH public key.
  127. Fingerprint string `protobuf:"bytes,3,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
  128. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  129. XXX_unrecognized []byte `json:"-"`
  130. XXX_sizecache int32 `json:"-"`
  131. }
  132. func (m *SshPublicKey) Reset() { *m = SshPublicKey{} }
  133. func (m *SshPublicKey) String() string { return proto.CompactTextString(m) }
  134. func (*SshPublicKey) ProtoMessage() {}
  135. func (*SshPublicKey) Descriptor() ([]byte, []int) {
  136. return fileDescriptor_common_a837ca35e2ee9479, []int{1}
  137. }
  138. func (m *SshPublicKey) XXX_Unmarshal(b []byte) error {
  139. return xxx_messageInfo_SshPublicKey.Unmarshal(m, b)
  140. }
  141. func (m *SshPublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  142. return xxx_messageInfo_SshPublicKey.Marshal(b, m, deterministic)
  143. }
  144. func (dst *SshPublicKey) XXX_Merge(src proto.Message) {
  145. xxx_messageInfo_SshPublicKey.Merge(dst, src)
  146. }
  147. func (m *SshPublicKey) XXX_Size() int {
  148. return xxx_messageInfo_SshPublicKey.Size(m)
  149. }
  150. func (m *SshPublicKey) XXX_DiscardUnknown() {
  151. xxx_messageInfo_SshPublicKey.DiscardUnknown(m)
  152. }
  153. var xxx_messageInfo_SshPublicKey proto.InternalMessageInfo
  154. func (m *SshPublicKey) GetKey() string {
  155. if m != nil {
  156. return m.Key
  157. }
  158. return ""
  159. }
  160. func (m *SshPublicKey) GetExpirationTimeUsec() int64 {
  161. if m != nil {
  162. return m.ExpirationTimeUsec
  163. }
  164. return 0
  165. }
  166. func (m *SshPublicKey) GetFingerprint() string {
  167. if m != nil {
  168. return m.Fingerprint
  169. }
  170. return ""
  171. }
  172. func init() {
  173. proto.RegisterType((*PosixAccount)(nil), "google.cloud.oslogin.common.PosixAccount")
  174. proto.RegisterType((*SshPublicKey)(nil), "google.cloud.oslogin.common.SshPublicKey")
  175. }
  176. func init() {
  177. proto.RegisterFile("google/cloud/oslogin/common/common.proto", fileDescriptor_common_a837ca35e2ee9479)
  178. }
  179. var fileDescriptor_common_a837ca35e2ee9479 = []byte{
  180. // 406 bytes of a gzipped FileDescriptorProto
  181. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x41, 0x6b, 0x14, 0x31,
  182. 0x14, 0xc7, 0x99, 0xae, 0x6d, 0x77, 0xe2, 0x2a, 0x12, 0x7a, 0x08, 0x5d, 0xc5, 0xa5, 0x20, 0xec,
  183. 0x69, 0x46, 0xf0, 0xe8, 0xa9, 0xad, 0x20, 0x45, 0xc1, 0x65, 0xd4, 0x8b, 0x2c, 0x2c, 0xd3, 0xe4,
  184. 0x99, 0x7d, 0x38, 0xc9, 0x1b, 0x92, 0x0c, 0x74, 0xbf, 0x92, 0x07, 0x3f, 0x88, 0x5f, 0xc8, 0xab,
  185. 0x24, 0x99, 0x51, 0x0f, 0xd2, 0x53, 0xf2, 0xff, 0xff, 0xfe, 0xf3, 0x92, 0x97, 0x37, 0x6c, 0xad,
  186. 0x89, 0x74, 0x07, 0xb5, 0xec, 0x68, 0x50, 0x35, 0xf9, 0x8e, 0x34, 0xda, 0x5a, 0x92, 0x31, 0x34,
  187. 0x2d, 0x55, 0xef, 0x28, 0x10, 0x5f, 0xe6, 0x64, 0x95, 0x92, 0xd5, 0x98, 0xac, 0x72, 0xe4, 0xfc,
  188. 0xe9, 0x58, 0xa6, 0xed, 0xb1, 0x6e, 0xad, 0xa5, 0xd0, 0x06, 0x24, 0xeb, 0xf3, 0xa7, 0x17, 0xbf,
  189. 0x0a, 0xb6, 0xd8, 0x90, 0xc7, 0xbb, 0x4b, 0x29, 0x69, 0xb0, 0x81, 0x0b, 0x76, 0xda, 0x3b, 0x34,
  190. 0xad, 0x3b, 0x88, 0x62, 0x55, 0xac, 0xe7, 0xcd, 0x24, 0xf9, 0x39, 0x9b, 0x0f, 0x1e, 0x9c, 0x6d,
  191. 0x0d, 0x88, 0xa3, 0x55, 0xb1, 0x2e, 0x9b, 0x3f, 0x9a, 0x3f, 0x61, 0xb3, 0x01, 0x95, 0x98, 0xad,
  192. 0x8a, 0xf5, 0xac, 0x89, 0xdb, 0xe8, 0x68, 0x54, 0xe2, 0x41, 0x76, 0x34, 0x2a, 0xfe, 0x82, 0x3d,
  193. 0xde, 0x93, 0x81, 0x9d, 0x42, 0x07, 0x32, 0x90, 0x3b, 0x88, 0xe3, 0x54, 0xe5, 0x51, 0x74, 0xdf,
  194. 0x4c, 0x26, 0x3f, 0x63, 0xc7, 0x7e, 0x0f, 0x5d, 0x27, 0x4e, 0x12, 0xcd, 0x22, 0xba, 0x1a, 0x24,
  195. 0x79, 0x71, 0x9a, 0xdd, 0x24, 0xf8, 0x92, 0x95, 0xfe, 0xe0, 0x03, 0x98, 0x1d, 0x2a, 0x31, 0xcf,
  196. 0x77, 0xca, 0xc6, 0x8d, 0xe2, 0xcf, 0x18, 0x6b, 0x73, 0x53, 0x91, 0x96, 0x89, 0x96, 0xa3, 0x73,
  197. 0xa3, 0x2e, 0x02, 0x5b, 0x7c, 0xf4, 0xfb, 0xcd, 0x70, 0xdb, 0xa1, 0x7c, 0x07, 0x87, 0x78, 0xe1,
  198. 0x6f, 0x90, 0x9b, 0x2e, 0x9b, 0xb8, 0xe5, 0x2f, 0xd9, 0x19, 0xdc, 0xf5, 0xe8, 0xd2, 0x83, 0xed,
  199. 0x02, 0x1a, 0xd8, 0x0d, 0x1e, 0x64, 0x6a, 0x7e, 0xd6, 0xf0, 0xbf, 0xec, 0x13, 0x1a, 0xf8, 0xec,
  200. 0x41, 0xf2, 0x15, 0x7b, 0xf8, 0x15, 0xad, 0x06, 0xd7, 0x3b, 0xb4, 0x21, 0x3d, 0x47, 0xd9, 0xfc,
  201. 0x6b, 0x5d, 0xfd, 0x28, 0xd8, 0x73, 0x49, 0xa6, 0xba, 0x67, 0x62, 0x57, 0x8b, 0x0f, 0xfe, 0x7d,
  202. 0xd4, 0x9b, 0x38, 0xa1, 0x2f, 0x97, 0x63, 0x54, 0x53, 0xd7, 0x5a, 0x5d, 0x91, 0xd3, 0xb5, 0x06,
  203. 0x9b, 0xa6, 0x57, 0x67, 0xd4, 0xf6, 0xe8, 0xff, 0xfb, 0x97, 0xbc, 0xce, 0xcb, 0xf7, 0xa3, 0xe5,
  204. 0xdb, 0x5c, 0xe3, 0x3a, 0x1d, 0x37, 0x96, 0xaf, 0xae, 0x13, 0xfd, 0x39, 0xd1, 0x6d, 0xa2, 0xdb,
  205. 0x91, 0x6e, 0x33, 0xbd, 0x3d, 0x49, 0x27, 0xbd, 0xfa, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xdc, 0x30,
  206. 0xf7, 0x5b, 0x8e, 0x02, 0x00, 0x00,
  207. }