...

Source file src/google.golang.org/genproto/googleapis/cloud/osconfig/logging/patch_job_log.pb.go

Documentation: google.golang.org/genproto/googleapis/cloud/osconfig/logging

     1  // Copyright 2022 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.26.0
    18  // 	protoc        v3.18.1
    19  // source: google/cloud/osconfig/logging/patch_job_log.proto
    20  
    21  package logging
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    28  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    29  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    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  // Enumeration of the various states a patch job passes through as it
    40  // executes.
    41  type PatchJobCompletedLog_State int32
    42  
    43  const (
    44  	// State must be specified.
    45  	PatchJobCompletedLog_STATE_UNSPECIFIED PatchJobCompletedLog_State = 0
    46  	// The patch job was successfully initiated.
    47  	PatchJobCompletedLog_STARTED PatchJobCompletedLog_State = 1
    48  	// The patch job is looking up instances to run the patch on.
    49  	PatchJobCompletedLog_INSTANCE_LOOKUP PatchJobCompletedLog_State = 2
    50  	// Instances are being patched.
    51  	PatchJobCompletedLog_PATCHING PatchJobCompletedLog_State = 3
    52  	// Patch job completed successfully.
    53  	PatchJobCompletedLog_SUCCEEDED PatchJobCompletedLog_State = 4
    54  	// Patch job completed but there were errors.
    55  	PatchJobCompletedLog_COMPLETED_WITH_ERRORS PatchJobCompletedLog_State = 5
    56  	// The patch job was canceled.
    57  	PatchJobCompletedLog_CANCELED PatchJobCompletedLog_State = 6
    58  	// The patch job has timed out.
    59  	PatchJobCompletedLog_TIMED_OUT PatchJobCompletedLog_State = 7
    60  )
    61  
    62  // Enum value maps for PatchJobCompletedLog_State.
    63  var (
    64  	PatchJobCompletedLog_State_name = map[int32]string{
    65  		0: "STATE_UNSPECIFIED",
    66  		1: "STARTED",
    67  		2: "INSTANCE_LOOKUP",
    68  		3: "PATCHING",
    69  		4: "SUCCEEDED",
    70  		5: "COMPLETED_WITH_ERRORS",
    71  		6: "CANCELED",
    72  		7: "TIMED_OUT",
    73  	}
    74  	PatchJobCompletedLog_State_value = map[string]int32{
    75  		"STATE_UNSPECIFIED":     0,
    76  		"STARTED":               1,
    77  		"INSTANCE_LOOKUP":       2,
    78  		"PATCHING":              3,
    79  		"SUCCEEDED":             4,
    80  		"COMPLETED_WITH_ERRORS": 5,
    81  		"CANCELED":              6,
    82  		"TIMED_OUT":             7,
    83  	}
    84  )
    85  
    86  func (x PatchJobCompletedLog_State) Enum() *PatchJobCompletedLog_State {
    87  	p := new(PatchJobCompletedLog_State)
    88  	*p = x
    89  	return p
    90  }
    91  
    92  func (x PatchJobCompletedLog_State) String() string {
    93  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    94  }
    95  
    96  func (PatchJobCompletedLog_State) Descriptor() protoreflect.EnumDescriptor {
    97  	return file_google_cloud_osconfig_logging_patch_job_log_proto_enumTypes[0].Descriptor()
    98  }
    99  
   100  func (PatchJobCompletedLog_State) Type() protoreflect.EnumType {
   101  	return &file_google_cloud_osconfig_logging_patch_job_log_proto_enumTypes[0]
   102  }
   103  
   104  func (x PatchJobCompletedLog_State) Number() protoreflect.EnumNumber {
   105  	return protoreflect.EnumNumber(x)
   106  }
   107  
   108  // Deprecated: Use PatchJobCompletedLog_State.Descriptor instead.
   109  func (PatchJobCompletedLog_State) EnumDescriptor() ([]byte, []int) {
   110  	return file_google_cloud_osconfig_logging_patch_job_log_proto_rawDescGZIP(), []int{0, 0}
   111  }
   112  
   113  type PatchJobCompletedLog struct {
   114  	state         protoimpl.MessageState
   115  	sizeCache     protoimpl.SizeCache
   116  	unknownFields protoimpl.UnknownFields
   117  
   118  	// The patch job name. For example:
   119  	// projects/PROJECT_ID/patchJobs/PATCH_JOB_ID
   120  	PatchJob string `protobuf:"bytes,1,opt,name=patch_job,json=patchJob,proto3" json:"patch_job,omitempty"`
   121  	// The current state of the PatchJob.
   122  	State PatchJobCompletedLog_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.osconfig.logging.PatchJobCompletedLog_State" json:"state,omitempty"`
   123  	// Summary of instance details.
   124  	InstanceDetailsSummary *PatchJobCompletedLog_InstanceDetailsSummary `protobuf:"bytes,3,opt,name=instance_details_summary,json=instanceDetailsSummary,proto3" json:"instance_details_summary,omitempty"`
   125  	// If this patch job is a dry run, the agent will report that it has
   126  	// finished without running any updates on the VM.
   127  	DryRun bool `protobuf:"varint,4,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
   128  	// If this patch job failed, this message will provide information about the
   129  	// failure.
   130  	ErrorMessage string `protobuf:"bytes,5,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
   131  	// Time this PatchJob was created.
   132  	CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
   133  	// Last time this PatchJob was updated.
   134  	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
   135  }
   136  
   137  func (x *PatchJobCompletedLog) Reset() {
   138  	*x = PatchJobCompletedLog{}
   139  	if protoimpl.UnsafeEnabled {
   140  		mi := &file_google_cloud_osconfig_logging_patch_job_log_proto_msgTypes[0]
   141  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   142  		ms.StoreMessageInfo(mi)
   143  	}
   144  }
   145  
   146  func (x *PatchJobCompletedLog) String() string {
   147  	return protoimpl.X.MessageStringOf(x)
   148  }
   149  
   150  func (*PatchJobCompletedLog) ProtoMessage() {}
   151  
   152  func (x *PatchJobCompletedLog) ProtoReflect() protoreflect.Message {
   153  	mi := &file_google_cloud_osconfig_logging_patch_job_log_proto_msgTypes[0]
   154  	if protoimpl.UnsafeEnabled && x != nil {
   155  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   156  		if ms.LoadMessageInfo() == nil {
   157  			ms.StoreMessageInfo(mi)
   158  		}
   159  		return ms
   160  	}
   161  	return mi.MessageOf(x)
   162  }
   163  
   164  // Deprecated: Use PatchJobCompletedLog.ProtoReflect.Descriptor instead.
   165  func (*PatchJobCompletedLog) Descriptor() ([]byte, []int) {
   166  	return file_google_cloud_osconfig_logging_patch_job_log_proto_rawDescGZIP(), []int{0}
   167  }
   168  
   169  func (x *PatchJobCompletedLog) GetPatchJob() string {
   170  	if x != nil {
   171  		return x.PatchJob
   172  	}
   173  	return ""
   174  }
   175  
   176  func (x *PatchJobCompletedLog) GetState() PatchJobCompletedLog_State {
   177  	if x != nil {
   178  		return x.State
   179  	}
   180  	return PatchJobCompletedLog_STATE_UNSPECIFIED
   181  }
   182  
   183  func (x *PatchJobCompletedLog) GetInstanceDetailsSummary() *PatchJobCompletedLog_InstanceDetailsSummary {
   184  	if x != nil {
   185  		return x.InstanceDetailsSummary
   186  	}
   187  	return nil
   188  }
   189  
   190  func (x *PatchJobCompletedLog) GetDryRun() bool {
   191  	if x != nil {
   192  		return x.DryRun
   193  	}
   194  	return false
   195  }
   196  
   197  func (x *PatchJobCompletedLog) GetErrorMessage() string {
   198  	if x != nil {
   199  		return x.ErrorMessage
   200  	}
   201  	return ""
   202  }
   203  
   204  func (x *PatchJobCompletedLog) GetCreateTime() *timestamppb.Timestamp {
   205  	if x != nil {
   206  		return x.CreateTime
   207  	}
   208  	return nil
   209  }
   210  
   211  func (x *PatchJobCompletedLog) GetUpdateTime() *timestamppb.Timestamp {
   212  	if x != nil {
   213  		return x.UpdateTime
   214  	}
   215  	return nil
   216  }
   217  
   218  // A summary of the current patch state across all instances this patch job
   219  // affects. Contains counts of instances in different states. These states map
   220  // to InstancePatchState. List patch job instance details to see the specific
   221  // states of each instance.
   222  type PatchJobCompletedLog_InstanceDetailsSummary struct {
   223  	state         protoimpl.MessageState
   224  	sizeCache     protoimpl.SizeCache
   225  	unknownFields protoimpl.UnknownFields
   226  
   227  	// Number of instances pending patch job.
   228  	InstancesPending int64 `protobuf:"varint,1,opt,name=instances_pending,json=instancesPending,proto3" json:"instances_pending,omitempty"`
   229  	// Number of instances that are inactive.
   230  	InstancesInactive int64 `protobuf:"varint,2,opt,name=instances_inactive,json=instancesInactive,proto3" json:"instances_inactive,omitempty"`
   231  	// Number of instances notified about patch job.
   232  	InstancesNotified int64 `protobuf:"varint,3,opt,name=instances_notified,json=instancesNotified,proto3" json:"instances_notified,omitempty"`
   233  	// Number of instances that have started.
   234  	InstancesStarted int64 `protobuf:"varint,4,opt,name=instances_started,json=instancesStarted,proto3" json:"instances_started,omitempty"`
   235  	// Number of instances that are downloading patches.
   236  	InstancesDownloadingPatches int64 `protobuf:"varint,5,opt,name=instances_downloading_patches,json=instancesDownloadingPatches,proto3" json:"instances_downloading_patches,omitempty"`
   237  	// Number of instances that are applying patches.
   238  	InstancesApplyingPatches int64 `protobuf:"varint,6,opt,name=instances_applying_patches,json=instancesApplyingPatches,proto3" json:"instances_applying_patches,omitempty"`
   239  	// Number of instances rebooting.
   240  	InstancesRebooting int64 `protobuf:"varint,7,opt,name=instances_rebooting,json=instancesRebooting,proto3" json:"instances_rebooting,omitempty"`
   241  	// Number of instances that have completed successfully.
   242  	InstancesSucceeded int64 `protobuf:"varint,8,opt,name=instances_succeeded,json=instancesSucceeded,proto3" json:"instances_succeeded,omitempty"`
   243  	// Number of instances that require reboot.
   244  	InstancesSucceededRebootRequired int64 `protobuf:"varint,9,opt,name=instances_succeeded_reboot_required,json=instancesSucceededRebootRequired,proto3" json:"instances_succeeded_reboot_required,omitempty"`
   245  	// Number of instances that failed.
   246  	InstancesFailed int64 `protobuf:"varint,10,opt,name=instances_failed,json=instancesFailed,proto3" json:"instances_failed,omitempty"`
   247  	// Number of instances that have acked and will start shortly.
   248  	InstancesAcked int64 `protobuf:"varint,11,opt,name=instances_acked,json=instancesAcked,proto3" json:"instances_acked,omitempty"`
   249  	// Number of instances that exceeded the time out while applying the patch.
   250  	InstancesTimedOut int64 `protobuf:"varint,12,opt,name=instances_timed_out,json=instancesTimedOut,proto3" json:"instances_timed_out,omitempty"`
   251  	// Number of instances that are running the pre-patch step.
   252  	InstancesRunningPrePatchStep int64 `protobuf:"varint,13,opt,name=instances_running_pre_patch_step,json=instancesRunningPrePatchStep,proto3" json:"instances_running_pre_patch_step,omitempty"`
   253  	// Number of instances that are running the post-patch step.
   254  	InstancesRunningPostPatchStep int64 `protobuf:"varint,14,opt,name=instances_running_post_patch_step,json=instancesRunningPostPatchStep,proto3" json:"instances_running_post_patch_step,omitempty"`
   255  }
   256  
   257  func (x *PatchJobCompletedLog_InstanceDetailsSummary) Reset() {
   258  	*x = PatchJobCompletedLog_InstanceDetailsSummary{}
   259  	if protoimpl.UnsafeEnabled {
   260  		mi := &file_google_cloud_osconfig_logging_patch_job_log_proto_msgTypes[1]
   261  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   262  		ms.StoreMessageInfo(mi)
   263  	}
   264  }
   265  
   266  func (x *PatchJobCompletedLog_InstanceDetailsSummary) String() string {
   267  	return protoimpl.X.MessageStringOf(x)
   268  }
   269  
   270  func (*PatchJobCompletedLog_InstanceDetailsSummary) ProtoMessage() {}
   271  
   272  func (x *PatchJobCompletedLog_InstanceDetailsSummary) ProtoReflect() protoreflect.Message {
   273  	mi := &file_google_cloud_osconfig_logging_patch_job_log_proto_msgTypes[1]
   274  	if protoimpl.UnsafeEnabled && x != nil {
   275  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   276  		if ms.LoadMessageInfo() == nil {
   277  			ms.StoreMessageInfo(mi)
   278  		}
   279  		return ms
   280  	}
   281  	return mi.MessageOf(x)
   282  }
   283  
   284  // Deprecated: Use PatchJobCompletedLog_InstanceDetailsSummary.ProtoReflect.Descriptor instead.
   285  func (*PatchJobCompletedLog_InstanceDetailsSummary) Descriptor() ([]byte, []int) {
   286  	return file_google_cloud_osconfig_logging_patch_job_log_proto_rawDescGZIP(), []int{0, 0}
   287  }
   288  
   289  func (x *PatchJobCompletedLog_InstanceDetailsSummary) GetInstancesPending() int64 {
   290  	if x != nil {
   291  		return x.InstancesPending
   292  	}
   293  	return 0
   294  }
   295  
   296  func (x *PatchJobCompletedLog_InstanceDetailsSummary) GetInstancesInactive() int64 {
   297  	if x != nil {
   298  		return x.InstancesInactive
   299  	}
   300  	return 0
   301  }
   302  
   303  func (x *PatchJobCompletedLog_InstanceDetailsSummary) GetInstancesNotified() int64 {
   304  	if x != nil {
   305  		return x.InstancesNotified
   306  	}
   307  	return 0
   308  }
   309  
   310  func (x *PatchJobCompletedLog_InstanceDetailsSummary) GetInstancesStarted() int64 {
   311  	if x != nil {
   312  		return x.InstancesStarted
   313  	}
   314  	return 0
   315  }
   316  
   317  func (x *PatchJobCompletedLog_InstanceDetailsSummary) GetInstancesDownloadingPatches() int64 {
   318  	if x != nil {
   319  		return x.InstancesDownloadingPatches
   320  	}
   321  	return 0
   322  }
   323  
   324  func (x *PatchJobCompletedLog_InstanceDetailsSummary) GetInstancesApplyingPatches() int64 {
   325  	if x != nil {
   326  		return x.InstancesApplyingPatches
   327  	}
   328  	return 0
   329  }
   330  
   331  func (x *PatchJobCompletedLog_InstanceDetailsSummary) GetInstancesRebooting() int64 {
   332  	if x != nil {
   333  		return x.InstancesRebooting
   334  	}
   335  	return 0
   336  }
   337  
   338  func (x *PatchJobCompletedLog_InstanceDetailsSummary) GetInstancesSucceeded() int64 {
   339  	if x != nil {
   340  		return x.InstancesSucceeded
   341  	}
   342  	return 0
   343  }
   344  
   345  func (x *PatchJobCompletedLog_InstanceDetailsSummary) GetInstancesSucceededRebootRequired() int64 {
   346  	if x != nil {
   347  		return x.InstancesSucceededRebootRequired
   348  	}
   349  	return 0
   350  }
   351  
   352  func (x *PatchJobCompletedLog_InstanceDetailsSummary) GetInstancesFailed() int64 {
   353  	if x != nil {
   354  		return x.InstancesFailed
   355  	}
   356  	return 0
   357  }
   358  
   359  func (x *PatchJobCompletedLog_InstanceDetailsSummary) GetInstancesAcked() int64 {
   360  	if x != nil {
   361  		return x.InstancesAcked
   362  	}
   363  	return 0
   364  }
   365  
   366  func (x *PatchJobCompletedLog_InstanceDetailsSummary) GetInstancesTimedOut() int64 {
   367  	if x != nil {
   368  		return x.InstancesTimedOut
   369  	}
   370  	return 0
   371  }
   372  
   373  func (x *PatchJobCompletedLog_InstanceDetailsSummary) GetInstancesRunningPrePatchStep() int64 {
   374  	if x != nil {
   375  		return x.InstancesRunningPrePatchStep
   376  	}
   377  	return 0
   378  }
   379  
   380  func (x *PatchJobCompletedLog_InstanceDetailsSummary) GetInstancesRunningPostPatchStep() int64 {
   381  	if x != nil {
   382  		return x.InstancesRunningPostPatchStep
   383  	}
   384  	return 0
   385  }
   386  
   387  var File_google_cloud_osconfig_logging_patch_job_log_proto protoreflect.FileDescriptor
   388  
   389  var file_google_cloud_osconfig_logging_patch_job_log_proto_rawDesc = []byte{
   390  	0x0a, 0x31, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6f,
   391  	0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f,
   392  	0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x6a, 0x6f, 0x62, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72,
   393  	0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
   394  	0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69,
   395  	0x6e, 0x67, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   396  	0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72,
   397  	0x6f, 0x74, 0x6f, 0x22, 0xf7, 0x0a, 0x0a, 0x14, 0x50, 0x61, 0x74, 0x63, 0x68, 0x4a, 0x6f, 0x62,
   398  	0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x4c, 0x6f, 0x67, 0x12, 0x1b, 0x0a, 0x09,
   399  	0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x6a, 0x6f, 0x62, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
   400  	0x08, 0x70, 0x61, 0x74, 0x63, 0x68, 0x4a, 0x6f, 0x62, 0x12, 0x4f, 0x0a, 0x05, 0x73, 0x74, 0x61,
   401  	0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   402  	0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
   403  	0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x61, 0x74, 0x63, 0x68, 0x4a, 0x6f,
   404  	0x62, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x4c, 0x6f, 0x67, 0x2e, 0x53, 0x74,
   405  	0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x84, 0x01, 0x0a, 0x18, 0x69,
   406  	0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x5f,
   407  	0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4a, 0x2e,
   408  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63,
   409  	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x61,
   410  	0x74, 0x63, 0x68, 0x4a, 0x6f, 0x62, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x4c,
   411  	0x6f, 0x67, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69,
   412  	0x6c, 0x73, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x16, 0x69, 0x6e, 0x73, 0x74, 0x61,
   413  	0x6e, 0x63, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72,
   414  	0x79, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x04, 0x20, 0x01,
   415  	0x28, 0x08, 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x72,
   416  	0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
   417  	0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12,
   418  	0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06,
   419  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
   420  	0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
   421  	0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b,
   422  	0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28,
   423  	0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   424  	0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75,
   425  	0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x1a, 0x99, 0x06, 0x0a, 0x16, 0x49, 0x6e,
   426  	0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x53, 0x75, 0x6d,
   427  	0x6d, 0x61, 0x72, 0x79, 0x12, 0x2b, 0x0a, 0x11, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
   428  	0x73, 0x5f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
   429  	0x10, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e,
   430  	0x67, 0x12, 0x2d, 0x0a, 0x12, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x69,
   431  	0x6e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x69,
   432  	0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x49, 0x6e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65,
   433  	0x12, 0x2d, 0x0a, 0x12, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x6e, 0x6f,
   434  	0x74, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x69, 0x6e,
   435  	0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12,
   436  	0x2b, 0x0a, 0x11, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x73, 0x74, 0x61,
   437  	0x72, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x69, 0x6e, 0x73, 0x74,
   438  	0x61, 0x6e, 0x63, 0x65, 0x73, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x12, 0x42, 0x0a, 0x1d,
   439  	0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f,
   440  	0x61, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x05, 0x20,
   441  	0x01, 0x28, 0x03, 0x52, 0x1b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x44, 0x6f,
   442  	0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73,
   443  	0x12, 0x3c, 0x0a, 0x1a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x61, 0x70,
   444  	0x70, 0x6c, 0x79, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x06,
   445  	0x20, 0x01, 0x28, 0x03, 0x52, 0x18, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x41,
   446  	0x70, 0x70, 0x6c, 0x79, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x12, 0x2f,
   447  	0x0a, 0x13, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x62, 0x6f,
   448  	0x6f, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x69, 0x6e, 0x73,
   449  	0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x69, 0x6e, 0x67, 0x12,
   450  	0x2f, 0x0a, 0x13, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x73, 0x75, 0x63,
   451  	0x63, 0x65, 0x65, 0x64, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x69, 0x6e,
   452  	0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64,
   453  	0x12, 0x4d, 0x0a, 0x23, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x73, 0x75,
   454  	0x63, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x5f, 0x72,
   455  	0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x20, 0x69,
   456  	0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x65, 0x64, 0x65,
   457  	0x64, 0x52, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12,
   458  	0x29, 0x0a, 0x10, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x66, 0x61, 0x69,
   459  	0x6c, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x69, 0x6e, 0x73, 0x74, 0x61,
   460  	0x6e, 0x63, 0x65, 0x73, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e,
   461  	0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x0b, 0x20,
   462  	0x01, 0x28, 0x03, 0x52, 0x0e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x41, 0x63,
   463  	0x6b, 0x65, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73,
   464  	0x5f, 0x74, 0x69, 0x6d, 0x65, 0x64, 0x5f, 0x6f, 0x75, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03,
   465  	0x52, 0x11, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x64,
   466  	0x4f, 0x75, 0x74, 0x12, 0x46, 0x0a, 0x20, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73,
   467  	0x5f, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x72, 0x65, 0x5f, 0x70, 0x61, 0x74,
   468  	0x63, 0x68, 0x5f, 0x73, 0x74, 0x65, 0x70, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1c, 0x69,
   469  	0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x50,
   470  	0x72, 0x65, 0x50, 0x61, 0x74, 0x63, 0x68, 0x53, 0x74, 0x65, 0x70, 0x12, 0x48, 0x0a, 0x21, 0x69,
   471  	0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67,
   472  	0x5f, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x73, 0x74, 0x65, 0x70,
   473  	0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
   474  	0x73, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x61, 0x74, 0x63,
   475  	0x68, 0x53, 0x74, 0x65, 0x70, 0x22, 0x95, 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12,
   476  	0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
   477  	0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x54, 0x41, 0x52, 0x54, 0x45,
   478  	0x44, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x49, 0x4e, 0x53, 0x54, 0x41, 0x4e, 0x43, 0x45, 0x5f,
   479  	0x4c, 0x4f, 0x4f, 0x4b, 0x55, 0x50, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x41, 0x54, 0x43,
   480  	0x48, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45,
   481  	0x44, 0x45, 0x44, 0x10, 0x04, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54,
   482  	0x45, 0x44, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x53, 0x10, 0x05,
   483  	0x12, 0x0c, 0x0a, 0x08, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45, 0x44, 0x10, 0x06, 0x12, 0x0d,
   484  	0x0a, 0x09, 0x54, 0x49, 0x4d, 0x45, 0x44, 0x5f, 0x4f, 0x55, 0x54, 0x10, 0x07, 0x42, 0x7d, 0x0a,
   485  	0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
   486  	0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69,
   487  	0x6e, 0x67, 0x42, 0x10, 0x50, 0x61, 0x74, 0x63, 0x68, 0x4a, 0x6f, 0x62, 0x4c, 0x6f, 0x67, 0x50,
   488  	0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67,
   489  	0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f,
   490  	0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c,
   491  	0x6f, 0x75, 0x64, 0x2f, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x6c, 0x6f, 0x67,
   492  	0x67, 0x69, 0x6e, 0x67, 0x3b, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72,
   493  	0x6f, 0x74, 0x6f, 0x33,
   494  }
   495  
   496  var (
   497  	file_google_cloud_osconfig_logging_patch_job_log_proto_rawDescOnce sync.Once
   498  	file_google_cloud_osconfig_logging_patch_job_log_proto_rawDescData = file_google_cloud_osconfig_logging_patch_job_log_proto_rawDesc
   499  )
   500  
   501  func file_google_cloud_osconfig_logging_patch_job_log_proto_rawDescGZIP() []byte {
   502  	file_google_cloud_osconfig_logging_patch_job_log_proto_rawDescOnce.Do(func() {
   503  		file_google_cloud_osconfig_logging_patch_job_log_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_osconfig_logging_patch_job_log_proto_rawDescData)
   504  	})
   505  	return file_google_cloud_osconfig_logging_patch_job_log_proto_rawDescData
   506  }
   507  
   508  var file_google_cloud_osconfig_logging_patch_job_log_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   509  var file_google_cloud_osconfig_logging_patch_job_log_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   510  var file_google_cloud_osconfig_logging_patch_job_log_proto_goTypes = []interface{}{
   511  	(PatchJobCompletedLog_State)(0),                     // 0: google.cloud.osconfig.logging.PatchJobCompletedLog.State
   512  	(*PatchJobCompletedLog)(nil),                        // 1: google.cloud.osconfig.logging.PatchJobCompletedLog
   513  	(*PatchJobCompletedLog_InstanceDetailsSummary)(nil), // 2: google.cloud.osconfig.logging.PatchJobCompletedLog.InstanceDetailsSummary
   514  	(*timestamppb.Timestamp)(nil),                       // 3: google.protobuf.Timestamp
   515  }
   516  var file_google_cloud_osconfig_logging_patch_job_log_proto_depIdxs = []int32{
   517  	0, // 0: google.cloud.osconfig.logging.PatchJobCompletedLog.state:type_name -> google.cloud.osconfig.logging.PatchJobCompletedLog.State
   518  	2, // 1: google.cloud.osconfig.logging.PatchJobCompletedLog.instance_details_summary:type_name -> google.cloud.osconfig.logging.PatchJobCompletedLog.InstanceDetailsSummary
   519  	3, // 2: google.cloud.osconfig.logging.PatchJobCompletedLog.create_time:type_name -> google.protobuf.Timestamp
   520  	3, // 3: google.cloud.osconfig.logging.PatchJobCompletedLog.update_time:type_name -> google.protobuf.Timestamp
   521  	4, // [4:4] is the sub-list for method output_type
   522  	4, // [4:4] is the sub-list for method input_type
   523  	4, // [4:4] is the sub-list for extension type_name
   524  	4, // [4:4] is the sub-list for extension extendee
   525  	0, // [0:4] is the sub-list for field type_name
   526  }
   527  
   528  func init() { file_google_cloud_osconfig_logging_patch_job_log_proto_init() }
   529  func file_google_cloud_osconfig_logging_patch_job_log_proto_init() {
   530  	if File_google_cloud_osconfig_logging_patch_job_log_proto != nil {
   531  		return
   532  	}
   533  	if !protoimpl.UnsafeEnabled {
   534  		file_google_cloud_osconfig_logging_patch_job_log_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   535  			switch v := v.(*PatchJobCompletedLog); i {
   536  			case 0:
   537  				return &v.state
   538  			case 1:
   539  				return &v.sizeCache
   540  			case 2:
   541  				return &v.unknownFields
   542  			default:
   543  				return nil
   544  			}
   545  		}
   546  		file_google_cloud_osconfig_logging_patch_job_log_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   547  			switch v := v.(*PatchJobCompletedLog_InstanceDetailsSummary); i {
   548  			case 0:
   549  				return &v.state
   550  			case 1:
   551  				return &v.sizeCache
   552  			case 2:
   553  				return &v.unknownFields
   554  			default:
   555  				return nil
   556  			}
   557  		}
   558  	}
   559  	type x struct{}
   560  	out := protoimpl.TypeBuilder{
   561  		File: protoimpl.DescBuilder{
   562  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   563  			RawDescriptor: file_google_cloud_osconfig_logging_patch_job_log_proto_rawDesc,
   564  			NumEnums:      1,
   565  			NumMessages:   2,
   566  			NumExtensions: 0,
   567  			NumServices:   0,
   568  		},
   569  		GoTypes:           file_google_cloud_osconfig_logging_patch_job_log_proto_goTypes,
   570  		DependencyIndexes: file_google_cloud_osconfig_logging_patch_job_log_proto_depIdxs,
   571  		EnumInfos:         file_google_cloud_osconfig_logging_patch_job_log_proto_enumTypes,
   572  		MessageInfos:      file_google_cloud_osconfig_logging_patch_job_log_proto_msgTypes,
   573  	}.Build()
   574  	File_google_cloud_osconfig_logging_patch_job_log_proto = out.File
   575  	file_google_cloud_osconfig_logging_patch_job_log_proto_rawDesc = nil
   576  	file_google_cloud_osconfig_logging_patch_job_log_proto_goTypes = nil
   577  	file_google_cloud_osconfig_logging_patch_job_log_proto_depIdxs = nil
   578  }
   579  

View as plain text