| 1 |
// Copyright 2025 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.35.2 |
| 18 |
// protoc v4.25.7 |
| 19 |
// source: google/firestore/admin/v1/user_creds.proto |
| 20 |
|
| 21 |
package adminpb |
| 22 |
|
| 23 |
import ( |
| 24 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 25 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 26 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 27 |
timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 28 |
reflect "reflect" |
| 29 |
sync "sync" |
| 30 |
) |
| 31 |
|
| 32 |
const ( |
| 33 |
// Verify that this generated code is sufficiently up-to-date. |
| 34 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 35 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 36 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 37 |
) |
| 38 |
|
| 39 |
// The state of the user creds (ENABLED or DISABLED). |
| 40 |
type UserCreds_State int32 |
| 41 |
|
| 42 |
const ( |
| 43 |
// The default value. Should not be used. |
| 44 |
UserCreds_STATE_UNSPECIFIED UserCreds_State = 0 |
| 45 |
// The user creds are enabled. |
| 46 |
UserCreds_ENABLED UserCreds_State = 1 |
| 47 |
// The user creds are disabled. |
| 48 |
UserCreds_DISABLED UserCreds_State = 2 |
| 49 |
) |
| 50 |
|
| 51 |
// Enum value maps for UserCreds_State. |
| 52 |
var ( |
| 53 |
UserCreds_State_name = map[int32]string{ |
| 54 |
0: "STATE_UNSPECIFIED", |
| 55 |
1: "ENABLED", |
| 56 |
2: "DISABLED", |
| 57 |
} |
| 58 |
UserCreds_State_value = map[string]int32{ |
| 59 |
"STATE_UNSPECIFIED": 0, |
| 60 |
"ENABLED": 1, |
| 61 |
"DISABLED": 2, |
| 62 |
} |
| 63 |
) |
| 64 |
|
| 65 |
func (x UserCreds_State) Enum() *UserCreds_State { |
| 66 |
p := new(UserCreds_State) |
| 67 |
*p = x |
| 68 |
return p |
| 69 |
} |
| 70 |
|
| 71 |
func (x UserCreds_State) String() string { |
| 72 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 73 |
} |
| 74 |
|
| 75 |
func (UserCreds_State) Descriptor() protoreflect.EnumDescriptor { |
| 76 |
return file_google_firestore_admin_v1_user_creds_proto_enumTypes[0].Descriptor() |
| 77 |
} |
| 78 |
|
| 79 |
func (UserCreds_State) Type() protoreflect.EnumType { |
| 80 |
return &file_google_firestore_admin_v1_user_creds_proto_enumTypes[0] |
| 81 |
} |
| 82 |
|
| 83 |
func (x UserCreds_State) Number() protoreflect.EnumNumber { |
| 84 |
return protoreflect.EnumNumber(x) |
| 85 |
} |
| 86 |
|
| 87 |
// Deprecated: Use UserCreds_State.Descriptor instead. |
| 88 |
func (UserCreds_State) EnumDescriptor() ([]byte, []int) { |
| 89 |
return file_google_firestore_admin_v1_user_creds_proto_rawDescGZIP(), []int{0, 0} |
| 90 |
} |
| 91 |
|
| 92 |
// A Cloud Firestore User Creds. |
| 93 |
type UserCreds struct { |
| 94 |
state protoimpl.MessageState |
| 95 |
sizeCache protoimpl.SizeCache |
| 96 |
unknownFields protoimpl.UnknownFields |
| 97 |
|
| 98 |
// Identifier. The resource name of the UserCreds. |
| 99 |
// Format: |
| 100 |
// `projects/{project}/databases/{database}/userCreds/{user_creds}` |
| 101 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 102 |
// Output only. The time the user creds were created. |
| 103 |
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` |
| 104 |
// Output only. The time the user creds were last updated. |
| 105 |
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` |
| 106 |
// Output only. Whether the user creds are enabled or disabled. Defaults to |
| 107 |
// ENABLED on creation. |
| 108 |
State UserCreds_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.firestore.admin.v1.UserCreds_State" json:"state,omitempty"` |
| 109 |
// Output only. The plaintext server-generated password for the user creds. |
| 110 |
// Only populated in responses for CreateUserCreds and ResetUserPassword. |
| 111 |
SecurePassword string `protobuf:"bytes,5,opt,name=secure_password,json=securePassword,proto3" json:"secure_password,omitempty"` |
| 112 |
// Identity associated with this User Creds. |
| 113 |
// |
| 114 |
// Types that are assignable to UserCredsIdentity: |
| 115 |
// |
| 116 |
// *UserCreds_ResourceIdentity_ |
| 117 |
UserCredsIdentity isUserCreds_UserCredsIdentity `protobuf_oneof:"UserCredsIdentity"` |
| 118 |
} |
| 119 |
|
| 120 |
func (x *UserCreds) Reset() { |
| 121 |
*x = UserCreds{} |
| 122 |
mi := &file_google_firestore_admin_v1_user_creds_proto_msgTypes[0] |
| 123 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 124 |
ms.StoreMessageInfo(mi) |
| 125 |
} |
| 126 |
|
| 127 |
func (x *UserCreds) String() string { |
| 128 |
return protoimpl.X.MessageStringOf(x) |
| 129 |
} |
| 130 |
|
| 131 |
func (*UserCreds) ProtoMessage() {} |
| 132 |
|
| 133 |
func (x *UserCreds) ProtoReflect() protoreflect.Message { |
| 134 |
mi := &file_google_firestore_admin_v1_user_creds_proto_msgTypes[0] |
| 135 |
if x != nil { |
| 136 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 137 |
if ms.LoadMessageInfo() == nil { |
| 138 |
ms.StoreMessageInfo(mi) |
| 139 |
} |
| 140 |
return ms |
| 141 |
} |
| 142 |
return mi.MessageOf(x) |
| 143 |
} |
| 144 |
|
| 145 |
// Deprecated: Use UserCreds.ProtoReflect.Descriptor instead. |
| 146 |
func (*UserCreds) Descriptor() ([]byte, []int) { |
| 147 |
return file_google_firestore_admin_v1_user_creds_proto_rawDescGZIP(), []int{0} |
| 148 |
} |
| 149 |
|
| 150 |
func (x *UserCreds) GetName() string { |
| 151 |
if x != nil { |
| 152 |
return x.Name |
| 153 |
} |
| 154 |
return "" |
| 155 |
} |
| 156 |
|
| 157 |
func (x *UserCreds) GetCreateTime() *timestamppb.Timestamp { |
| 158 |
if x != nil { |
| 159 |
return x.CreateTime |
| 160 |
} |
| 161 |
return nil |
| 162 |
} |
| 163 |
|
| 164 |
func (x *UserCreds) GetUpdateTime() *timestamppb.Timestamp { |
| 165 |
if x != nil { |
| 166 |
return x.UpdateTime |
| 167 |
} |
| 168 |
return nil |
| 169 |
} |
| 170 |
|
| 171 |
func (x *UserCreds) GetState() UserCreds_State { |
| 172 |
if x != nil { |
| 173 |
return x.State |
| 174 |
} |
| 175 |
return UserCreds_STATE_UNSPECIFIED |
| 176 |
} |
| 177 |
|
| 178 |
func (x *UserCreds) GetSecurePassword() string { |
| 179 |
if x != nil { |
| 180 |
return x.SecurePassword |
| 181 |
} |
| 182 |
return "" |
| 183 |
} |
| 184 |
|
| 185 |
func (m *UserCreds) GetUserCredsIdentity() isUserCreds_UserCredsIdentity { |
| 186 |
if m != nil { |
| 187 |
return m.UserCredsIdentity |
| 188 |
} |
| 189 |
return nil |
| 190 |
} |
| 191 |
|
| 192 |
func (x *UserCreds) GetResourceIdentity() *UserCreds_ResourceIdentity { |
| 193 |
if x, ok := x.GetUserCredsIdentity().(*UserCreds_ResourceIdentity_); ok { |
| 194 |
return x.ResourceIdentity |
| 195 |
} |
| 196 |
return nil |
| 197 |
} |
| 198 |
|
| 199 |
type isUserCreds_UserCredsIdentity interface { |
| 200 |
isUserCreds_UserCredsIdentity() |
| 201 |
} |
| 202 |
|
| 203 |
type UserCreds_ResourceIdentity_ struct { |
| 204 |
// Resource Identity descriptor. |
| 205 |
ResourceIdentity *UserCreds_ResourceIdentity `protobuf:"bytes,6,opt,name=resource_identity,json=resourceIdentity,proto3,oneof"` |
| 206 |
} |
| 207 |
|
| 208 |
func (*UserCreds_ResourceIdentity_) isUserCreds_UserCredsIdentity() {} |
| 209 |
|
| 210 |
// Describes a Resource Identity principal. |
| 211 |
type UserCreds_ResourceIdentity struct { |
| 212 |
state protoimpl.MessageState |
| 213 |
sizeCache protoimpl.SizeCache |
| 214 |
unknownFields protoimpl.UnknownFields |
| 215 |
|
| 216 |
// Output only. Principal identifier string. |
| 217 |
// See: https://cloud.google.com/iam/docs/principal-identifiers |
| 218 |
Principal string `protobuf:"bytes,1,opt,name=principal,proto3" json:"principal,omitempty"` |
| 219 |
} |
| 220 |
|
| 221 |
func (x *UserCreds_ResourceIdentity) Reset() { |
| 222 |
*x = UserCreds_ResourceIdentity{} |
| 223 |
mi := &file_google_firestore_admin_v1_user_creds_proto_msgTypes[1] |
| 224 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 225 |
ms.StoreMessageInfo(mi) |
| 226 |
} |
| 227 |
|
| 228 |
func (x *UserCreds_ResourceIdentity) String() string { |
| 229 |
return protoimpl.X.MessageStringOf(x) |
| 230 |
} |
| 231 |
|
| 232 |
func (*UserCreds_ResourceIdentity) ProtoMessage() {} |
| 233 |
|
| 234 |
func (x *UserCreds_ResourceIdentity) ProtoReflect() protoreflect.Message { |
| 235 |
mi := &file_google_firestore_admin_v1_user_creds_proto_msgTypes[1] |
| 236 |
if x != nil { |
| 237 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 238 |
if ms.LoadMessageInfo() == nil { |
| 239 |
ms.StoreMessageInfo(mi) |
| 240 |
} |
| 241 |
return ms |
| 242 |
} |
| 243 |
return mi.MessageOf(x) |
| 244 |
} |
| 245 |
|
| 246 |
// Deprecated: Use UserCreds_ResourceIdentity.ProtoReflect.Descriptor instead. |
| 247 |
func (*UserCreds_ResourceIdentity) Descriptor() ([]byte, []int) { |
| 248 |
return file_google_firestore_admin_v1_user_creds_proto_rawDescGZIP(), []int{0, 0} |
| 249 |
} |
| 250 |
|
| 251 |
func (x *UserCreds_ResourceIdentity) GetPrincipal() string { |
| 252 |
if x != nil { |
| 253 |
return x.Principal |
| 254 |
} |
| 255 |
return "" |
| 256 |
} |
| 257 |
|
| 258 |
var File_google_firestore_admin_v1_user_creds_proto protoreflect.FileDescriptor |
| 259 |
|
| 260 |
var file_google_firestore_admin_v1_user_creds_proto_rawDesc = []byte{ |
| 261 |
0x0a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, |
| 262 |
0x72, 0x65, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x73, 0x65, 0x72, |
| 263 |
0x5f, 0x63, 0x72, 0x65, 0x64, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x67, 0x6f, |
| 264 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, |
| 265 |
0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, |
| 266 |
0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, |
| 267 |
0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 268 |
0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, |
| 269 |
0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, |
| 270 |
0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, |
| 271 |
0x72, 0x6f, 0x74, 0x6f, 0x22, 0x89, 0x05, 0x0a, 0x09, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, |
| 272 |
0x64, 0x73, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, |
| 273 |
0x42, 0x03, 0xe0, 0x41, 0x08, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x63, |
| 274 |
0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, |
| 275 |
0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
| 276 |
0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, |
| 277 |
0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, |
| 278 |
0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, |
| 279 |
0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 280 |
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, |
| 281 |
0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, |
| 282 |
0x45, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, |
| 283 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, |
| 284 |
0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, |
| 285 |
0x72, 0x65, 0x64, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, |
| 286 |
0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x0f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x65, |
| 287 |
0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, |
| 288 |
0x03, 0xe0, 0x41, 0x03, 0x52, 0x0e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x65, 0x50, 0x61, 0x73, 0x73, |
| 289 |
0x77, 0x6f, 0x72, 0x64, 0x12, 0x64, 0x0a, 0x11, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, |
| 290 |
0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 291 |
0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, |
| 292 |
0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, |
| 293 |
0x43, 0x72, 0x65, 0x64, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, |
| 294 |
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x48, 0x00, 0x52, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, |
| 295 |
0x63, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x1a, 0x35, 0x0a, 0x10, 0x52, 0x65, |
| 296 |
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x21, |
| 297 |
0x0a, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 298 |
0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, |
| 299 |
0x6c, 0x22, 0x39, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, |
| 300 |
0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, |
| 301 |
0x00, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, |
| 302 |
0x0a, 0x08, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x3a, 0x7d, 0xea, 0x41, |
| 303 |
0x7a, 0x0a, 0x22, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x67, 0x6f, 0x6f, |
| 304 |
0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x55, 0x73, 0x65, 0x72, |
| 305 |
0x43, 0x72, 0x65, 0x64, 0x73, 0x12, 0x3e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, |
| 306 |
0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, |
| 307 |
0x73, 0x65, 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x7d, 0x2f, 0x75, |
| 308 |
0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x64, 0x73, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, |
| 309 |
0x72, 0x65, 0x64, 0x73, 0x7d, 0x2a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x64, 0x73, |
| 310 |
0x32, 0x09, 0x75, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x64, 0x73, 0x42, 0x13, 0x0a, 0x11, 0x55, |
| 311 |
0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x64, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, |
| 312 |
0x42, 0xdd, 0x01, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 313 |
0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, |
| 314 |
0x76, 0x31, 0x42, 0x0e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x64, 0x73, 0x50, 0x72, 0x6f, |
| 315 |
0x74, 0x6f, 0x50, 0x01, 0x5a, 0x39, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 316 |
0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, |
| 317 |
0x6f, 0x72, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, |
| 318 |
0x61, 0x64, 0x6d, 0x69, 0x6e, 0x70, 0x62, 0x3b, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x70, 0x62, 0xa2, |
| 319 |
0x02, 0x04, 0x47, 0x43, 0x46, 0x53, 0xaa, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 320 |
0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x46, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, |
| 321 |
0x41, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, |
| 322 |
0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x46, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, |
| 323 |
0x65, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x23, 0x47, 0x6f, 0x6f, |
| 324 |
0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x46, 0x69, 0x72, 0x65, |
| 325 |
0x73, 0x74, 0x6f, 0x72, 0x65, 0x3a, 0x3a, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x3a, 0x3a, 0x56, 0x31, |
| 326 |
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 327 |
} |
| 328 |
|
| 329 |
var ( |
| 330 |
file_google_firestore_admin_v1_user_creds_proto_rawDescOnce sync.Once |
| 331 |
file_google_firestore_admin_v1_user_creds_proto_rawDescData = file_google_firestore_admin_v1_user_creds_proto_rawDesc |
| 332 |
) |
| 333 |
|
| 334 |
func file_google_firestore_admin_v1_user_creds_proto_rawDescGZIP() []byte { |
| 335 |
file_google_firestore_admin_v1_user_creds_proto_rawDescOnce.Do(func() { |
| 336 |
file_google_firestore_admin_v1_user_creds_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_firestore_admin_v1_user_creds_proto_rawDescData) |
| 337 |
}) |
| 338 |
return file_google_firestore_admin_v1_user_creds_proto_rawDescData |
| 339 |
} |
| 340 |
|
| 341 |
var file_google_firestore_admin_v1_user_creds_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 342 |
var file_google_firestore_admin_v1_user_creds_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
| 343 |
var file_google_firestore_admin_v1_user_creds_proto_goTypes = []any{ |
| 344 |
(UserCreds_State)(0), // 0: google.firestore.admin.v1.UserCreds.State |
| 345 |
(*UserCreds)(nil), // 1: google.firestore.admin.v1.UserCreds |
| 346 |
(*UserCreds_ResourceIdentity)(nil), // 2: google.firestore.admin.v1.UserCreds.ResourceIdentity |
| 347 |
(*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp |
| 348 |
} |
| 349 |
var file_google_firestore_admin_v1_user_creds_proto_depIdxs = []int32{ |
| 350 |
3, // 0: google.firestore.admin.v1.UserCreds.create_time:type_name -> google.protobuf.Timestamp |
| 351 |
3, // 1: google.firestore.admin.v1.UserCreds.update_time:type_name -> google.protobuf.Timestamp |
| 352 |
0, // 2: google.firestore.admin.v1.UserCreds.state:type_name -> google.firestore.admin.v1.UserCreds.State |
| 353 |
2, // 3: google.firestore.admin.v1.UserCreds.resource_identity:type_name -> google.firestore.admin.v1.UserCreds.ResourceIdentity |
| 354 |
4, // [4:4] is the sub-list for method output_type |
| 355 |
4, // [4:4] is the sub-list for method input_type |
| 356 |
4, // [4:4] is the sub-list for extension type_name |
| 357 |
4, // [4:4] is the sub-list for extension extendee |
| 358 |
0, // [0:4] is the sub-list for field type_name |
| 359 |
} |
| 360 |
|
| 361 |
func init() { file_google_firestore_admin_v1_user_creds_proto_init() } |
| 362 |
func file_google_firestore_admin_v1_user_creds_proto_init() { |
| 363 |
if File_google_firestore_admin_v1_user_creds_proto != nil { |
| 364 |
return |
| 365 |
} |
| 366 |
file_google_firestore_admin_v1_user_creds_proto_msgTypes[0].OneofWrappers = []any{ |
| 367 |
(*UserCreds_ResourceIdentity_)(nil), |
| 368 |
} |
| 369 |
type x struct{} |
| 370 |
out := protoimpl.TypeBuilder{ |
| 371 |
File: protoimpl.DescBuilder{ |
| 372 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 373 |
RawDescriptor: file_google_firestore_admin_v1_user_creds_proto_rawDesc, |
| 374 |
NumEnums: 1, |
| 375 |
NumMessages: 2, |
| 376 |
NumExtensions: 0, |
| 377 |
NumServices: 0, |
| 378 |
}, |
| 379 |
GoTypes: file_google_firestore_admin_v1_user_creds_proto_goTypes, |
| 380 |
DependencyIndexes: file_google_firestore_admin_v1_user_creds_proto_depIdxs, |
| 381 |
EnumInfos: file_google_firestore_admin_v1_user_creds_proto_enumTypes, |
| 382 |
MessageInfos: file_google_firestore_admin_v1_user_creds_proto_msgTypes, |
| 383 |
}.Build() |
| 384 |
File_google_firestore_admin_v1_user_creds_proto = out.File |
| 385 |
file_google_firestore_admin_v1_user_creds_proto_rawDesc = nil |
| 386 |
file_google_firestore_admin_v1_user_creds_proto_goTypes = nil |
| 387 |
file_google_firestore_admin_v1_user_creds_proto_depIdxs = nil |
| 388 |
} |