| 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/iam/v3/operation_metadata.proto |
| 20 |
|
| 21 |
package iampb |
| 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 |
// Represents the metadata of the long-running operation. |
| 40 |
type OperationMetadata struct { |
| 41 |
state protoimpl.MessageState |
| 42 |
sizeCache protoimpl.SizeCache |
| 43 |
unknownFields protoimpl.UnknownFields |
| 44 |
|
| 45 |
// Output only. The time the operation was created. |
| 46 |
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` |
| 47 |
// Output only. The time the operation finished running. |
| 48 |
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` |
| 49 |
// Output only. Server-defined resource path for the target of the |
| 50 |
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` |
| 51 |
// Output only. Name of the verb executed by the operation. |
| 52 |
Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"` |
| 53 |
// Output only. Human-readable status of the operation, if any. |
| 54 |
StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` |
| 55 |
// Output only. Identifies whether the user has requested cancellation |
| 56 |
// of the operation. Operations that have successfully been cancelled |
| 57 |
// have [Operation.error][] value with a |
| 58 |
// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to |
| 59 |
// `Code.CANCELLED`. |
| 60 |
RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"` |
| 61 |
// Output only. API version used to start the operation. |
| 62 |
ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` |
| 63 |
} |
| 64 |
|
| 65 |
func (x *OperationMetadata) Reset() { |
| 66 |
*x = OperationMetadata{} |
| 67 |
mi := &file_google_iam_v3_operation_metadata_proto_msgTypes[0] |
| 68 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 69 |
ms.StoreMessageInfo(mi) |
| 70 |
} |
| 71 |
|
| 72 |
func (x *OperationMetadata) String() string { |
| 73 |
return protoimpl.X.MessageStringOf(x) |
| 74 |
} |
| 75 |
|
| 76 |
func (*OperationMetadata) ProtoMessage() {} |
| 77 |
|
| 78 |
func (x *OperationMetadata) ProtoReflect() protoreflect.Message { |
| 79 |
mi := &file_google_iam_v3_operation_metadata_proto_msgTypes[0] |
| 80 |
if x != nil { |
| 81 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 82 |
if ms.LoadMessageInfo() == nil { |
| 83 |
ms.StoreMessageInfo(mi) |
| 84 |
} |
| 85 |
return ms |
| 86 |
} |
| 87 |
return mi.MessageOf(x) |
| 88 |
} |
| 89 |
|
| 90 |
// Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead. |
| 91 |
func (*OperationMetadata) Descriptor() ([]byte, []int) { |
| 92 |
return file_google_iam_v3_operation_metadata_proto_rawDescGZIP(), []int{0} |
| 93 |
} |
| 94 |
|
| 95 |
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp { |
| 96 |
if x != nil { |
| 97 |
return x.CreateTime |
| 98 |
} |
| 99 |
return nil |
| 100 |
} |
| 101 |
|
| 102 |
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp { |
| 103 |
if x != nil { |
| 104 |
return x.EndTime |
| 105 |
} |
| 106 |
return nil |
| 107 |
} |
| 108 |
|
| 109 |
func (x *OperationMetadata) GetTarget() string { |
| 110 |
if x != nil { |
| 111 |
return x.Target |
| 112 |
} |
| 113 |
return "" |
| 114 |
} |
| 115 |
|
| 116 |
func (x *OperationMetadata) GetVerb() string { |
| 117 |
if x != nil { |
| 118 |
return x.Verb |
| 119 |
} |
| 120 |
return "" |
| 121 |
} |
| 122 |
|
| 123 |
func (x *OperationMetadata) GetStatusMessage() string { |
| 124 |
if x != nil { |
| 125 |
return x.StatusMessage |
| 126 |
} |
| 127 |
return "" |
| 128 |
} |
| 129 |
|
| 130 |
func (x *OperationMetadata) GetRequestedCancellation() bool { |
| 131 |
if x != nil { |
| 132 |
return x.RequestedCancellation |
| 133 |
} |
| 134 |
return false |
| 135 |
} |
| 136 |
|
| 137 |
func (x *OperationMetadata) GetApiVersion() string { |
| 138 |
if x != nil { |
| 139 |
return x.ApiVersion |
| 140 |
} |
| 141 |
return "" |
| 142 |
} |
| 143 |
|
| 144 |
var File_google_iam_v3_operation_metadata_proto protoreflect.FileDescriptor |
| 145 |
|
| 146 |
var file_google_iam_v3_operation_metadata_proto_rawDesc = []byte{ |
| 147 |
0x0a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x76, 0x33, 0x2f, |
| 148 |
0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, |
| 149 |
0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 150 |
0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x33, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, |
| 151 |
0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, |
| 152 |
0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 153 |
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, |
| 154 |
0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd5, 0x02, 0x0a, 0x11, 0x4f, 0x70, |
| 155 |
0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, |
| 156 |
0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, |
| 157 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, |
| 158 |
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, |
| 159 |
0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, |
| 160 |
0x65, 0x12, 0x3a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, |
| 161 |
0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, |
| 162 |
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, |
| 163 |
0x03, 0xe0, 0x41, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, |
| 164 |
0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, |
| 165 |
0x41, 0x03, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x76, 0x65, |
| 166 |
0x72, 0x62, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x76, |
| 167 |
0x65, 0x72, 0x62, 0x12, 0x2a, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x6d, 0x65, |
| 168 |
0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, |
| 169 |
0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, |
| 170 |
0x3a, 0x0a, 0x16, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x61, 0x6e, |
| 171 |
0x63, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x42, |
| 172 |
0x03, 0xe0, 0x41, 0x03, 0x52, 0x15, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x43, |
| 173 |
0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0b, 0x61, |
| 174 |
0x70, 0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, |
| 175 |
0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, |
| 176 |
0x6e, 0x42, 0x84, 0x01, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 177 |
0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x33, 0x42, 0x16, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, |
| 178 |
0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, |
| 179 |
0x01, 0x5a, 0x29, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 180 |
0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x33, |
| 181 |
0x2f, 0x69, 0x61, 0x6d, 0x70, 0x62, 0x3b, 0x69, 0x61, 0x6d, 0x70, 0x62, 0xaa, 0x02, 0x13, 0x47, |
| 182 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x49, 0x61, 0x6d, 0x2e, |
| 183 |
0x56, 0x33, 0xca, 0x02, 0x13, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, |
| 184 |
0x64, 0x5c, 0x49, 0x61, 0x6d, 0x5c, 0x56, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 185 |
} |
| 186 |
|
| 187 |
var ( |
| 188 |
file_google_iam_v3_operation_metadata_proto_rawDescOnce sync.Once |
| 189 |
file_google_iam_v3_operation_metadata_proto_rawDescData = file_google_iam_v3_operation_metadata_proto_rawDesc |
| 190 |
) |
| 191 |
|
| 192 |
func file_google_iam_v3_operation_metadata_proto_rawDescGZIP() []byte { |
| 193 |
file_google_iam_v3_operation_metadata_proto_rawDescOnce.Do(func() { |
| 194 |
file_google_iam_v3_operation_metadata_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_iam_v3_operation_metadata_proto_rawDescData) |
| 195 |
}) |
| 196 |
return file_google_iam_v3_operation_metadata_proto_rawDescData |
| 197 |
} |
| 198 |
|
| 199 |
var file_google_iam_v3_operation_metadata_proto_msgTypes = make([]protoimpl.MessageInfo, 1) |
| 200 |
var file_google_iam_v3_operation_metadata_proto_goTypes = []any{ |
| 201 |
(*OperationMetadata)(nil), // 0: google.iam.v3.OperationMetadata |
| 202 |
(*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp |
| 203 |
} |
| 204 |
var file_google_iam_v3_operation_metadata_proto_depIdxs = []int32{ |
| 205 |
1, // 0: google.iam.v3.OperationMetadata.create_time:type_name -> google.protobuf.Timestamp |
| 206 |
1, // 1: google.iam.v3.OperationMetadata.end_time:type_name -> google.protobuf.Timestamp |
| 207 |
2, // [2:2] is the sub-list for method output_type |
| 208 |
2, // [2:2] is the sub-list for method input_type |
| 209 |
2, // [2:2] is the sub-list for extension type_name |
| 210 |
2, // [2:2] is the sub-list for extension extendee |
| 211 |
0, // [0:2] is the sub-list for field type_name |
| 212 |
} |
| 213 |
|
| 214 |
func init() { file_google_iam_v3_operation_metadata_proto_init() } |
| 215 |
func file_google_iam_v3_operation_metadata_proto_init() { |
| 216 |
if File_google_iam_v3_operation_metadata_proto != nil { |
| 217 |
return |
| 218 |
} |
| 219 |
type x struct{} |
| 220 |
out := protoimpl.TypeBuilder{ |
| 221 |
File: protoimpl.DescBuilder{ |
| 222 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 223 |
RawDescriptor: file_google_iam_v3_operation_metadata_proto_rawDesc, |
| 224 |
NumEnums: 0, |
| 225 |
NumMessages: 1, |
| 226 |
NumExtensions: 0, |
| 227 |
NumServices: 0, |
| 228 |
}, |
| 229 |
GoTypes: file_google_iam_v3_operation_metadata_proto_goTypes, |
| 230 |
DependencyIndexes: file_google_iam_v3_operation_metadata_proto_depIdxs, |
| 231 |
MessageInfos: file_google_iam_v3_operation_metadata_proto_msgTypes, |
| 232 |
}.Build() |
| 233 |
File_google_iam_v3_operation_metadata_proto = out.File |
| 234 |
file_google_iam_v3_operation_metadata_proto_rawDesc = nil |
| 235 |
file_google_iam_v3_operation_metadata_proto_goTypes = nil |
| 236 |
file_google_iam_v3_operation_metadata_proto_depIdxs = nil |
| 237 |
} |