# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/memcache/v1beta2/cloud_memcache.proto require 'google/protobuf' require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/longrunning/operations_pb' require 'google/protobuf/duration_pb' require 'google/protobuf/field_mask_pb' require 'google/protobuf/timestamp_pb' require 'google/type/dayofweek_pb' require 'google/type/timeofday_pb' descriptor_data = "\n2google/cloud/memcache/v1beta2/cloud_memcache.proto\x12\x1dgoogle.cloud.memcache.v1beta2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\"\xc6\x0e\n\x08Instance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x43\n\x06labels\x18\x03 \x03(\x0b\x32\x33.google.cloud.memcache.v1beta2.Instance.LabelsEntry\x12\x1a\n\x12\x61uthorized_network\x18\x04 \x01(\t\x12\r\n\x05zones\x18\x05 \x03(\t\x12\x17\n\nnode_count\x18\x06 \x01(\x05\x42\x03\xe0\x41\x02\x12L\n\x0bnode_config\x18\x07 \x01(\x0b\x32\x32.google.cloud.memcache.v1beta2.Instance.NodeConfigB\x03\xe0\x41\x02\x12H\n\x10memcache_version\x18\t \x01(\x0e\x32..google.cloud.memcache.v1beta2.MemcacheVersion\x12\x45\n\nparameters\x18\x0b \x01(\x0b\x32\x31.google.cloud.memcache.v1beta2.MemcacheParameters\x12I\n\x0ememcache_nodes\x18\x0c \x03(\x0b\x32,.google.cloud.memcache.v1beta2.Instance.NodeB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x41\n\x05state\x18\x0f \x01(\x0e\x32-.google.cloud.memcache.v1beta2.Instance.StateB\x03\xe0\x41\x03\x12\"\n\x15memcache_full_version\x18\x12 \x01(\tB\x03\xe0\x41\x03\x12R\n\x11instance_messages\x18\x13 \x03(\x0b\x32\x37.google.cloud.memcache.v1beta2.Instance.InstanceMessage\x12\x1f\n\x12\x64iscovery_endpoint\x18\x14 \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10update_available\x18\x15 \x01(\x08\x42\x03\xe0\x41\x03\x12L\n\x12maintenance_policy\x18\x16 \x01(\x0b\x32\x30.google.cloud.memcache.v1beta2.MaintenancePolicy\x12U\n\x14maintenance_schedule\x18\x17 \x01(\x0b\x32\x32.google.cloud.memcache.v1beta2.MaintenanceScheduleB\x03\xe0\x41\x03\x1a\x41\n\nNodeConfig\x12\x16\n\tcpu_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1b\n\x0ememory_size_mb\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x1a\xd8\x02\n\x04Node\x12\x14\n\x07node_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04zone\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x46\n\x05state\x18\x03 \x01(\x0e\x32\x32.google.cloud.memcache.v1beta2.Instance.Node.StateB\x03\xe0\x41\x03\x12\x11\n\x04host\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04port\x18\x05 \x01(\x05\x42\x03\xe0\x41\x03\x12\x45\n\nparameters\x18\x06 \x01(\x0b\x32\x31.google.cloud.memcache.v1beta2.MemcacheParameters\x12\x1d\n\x10update_available\x18\x07 \x01(\x08\x42\x03\xe0\x41\x03\"S\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x1a\xae\x01\n\x0fInstanceMessage\x12J\n\x04\x63ode\x18\x01 \x01(\x0e\x32<.google.cloud.memcache.v1beta2.Instance.InstanceMessage.Code\x12\x0f\n\x07message\x18\x02 \x01(\t\">\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12 \n\x1cZONE_DISTRIBUTION_UNBALANCED\x10\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"o\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x1a\n\x16PERFORMING_MAINTENANCE\x10\x05:c\xea\x41`\n memcache.googleapis.com/Instance\x12\n\x08resource\x18\x03 \x01(\x0b\x32\'.google.cloud.memcache.v1beta2.InstanceB\x03\xe0\x41\x02\"\x8d\x01\n\x15UpdateInstanceRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12>\n\x08resource\x18\x02 \x01(\x0b\x32\'.google.cloud.memcache.v1beta2.InstanceB\x03\xe0\x41\x02\"O\n\x15\x44\x65leteInstanceRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n memcache.googleapis.com/Instance\"\xe7\x02\n\x1cRescheduleMaintenanceRequest\x12:\n\x08instance\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n memcache.googleapis.com/Instance\x12h\n\x0freschedule_type\x18\x02 \x01(\x0e\x32J.google.cloud.memcache.v1beta2.RescheduleMaintenanceRequest.RescheduleTypeB\x03\xe0\x41\x02\x12\x31\n\rschedule_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"n\n\x0eRescheduleType\x12\x1f\n\x1bRESCHEDULE_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tIMMEDIATE\x10\x01\x12\x19\n\x15NEXT_AVAILABLE_WINDOW\x10\x02\x12\x11\n\rSPECIFIC_TIME\x10\x03\"u\n\x16\x41pplyParametersRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n memcache.googleapis.com/Instance\x12\x10\n\x08node_ids\x18\x02 \x03(\t\x12\x11\n\tapply_all\x18\x03 \x01(\x08\"\xce\x01\n\x17UpdateParametersRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n memcache.googleapis.com/Instance\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x45\n\nparameters\x18\x03 \x01(\x0b\x32\x31.google.cloud.memcache.v1beta2.MemcacheParameters\"}\n\x1a\x41pplySoftwareUpdateRequest\x12:\n\x08instance\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n memcache.googleapis.com/Instance\x12\x10\n\x08node_ids\x18\x02 \x03(\t\x12\x11\n\tapply_all\x18\x03 \x01(\x08\"\xa3\x01\n\x12MemcacheParameters\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12M\n\x06params\x18\x03 \x03(\x0b\x32=.google.cloud.memcache.v1beta2.MemcacheParameters.ParamsEntry\x1a-\n\x0bParamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xf9\x01\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rstatus_detail\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10\x63\x61ncel_requested\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\xd9\x01\n\x10LocationMetadata\x12\x61\n\x0f\x61vailable_zones\x18\x01 \x03(\x0b\x32\x43.google.cloud.memcache.v1beta2.LocationMetadata.AvailableZonesEntryB\x03\xe0\x41\x03\x1a\x62\n\x13\x41vailableZonesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.memcache.v1beta2.ZoneMetadata:\x02\x38\x01\"\x0e\n\x0cZoneMetadata*E\n\x0fMemcacheVersion\x12 \n\x1cMEMCACHE_VERSION_UNSPECIFIED\x10\x00\x12\x10\n\x0cMEMCACHE_1_5\x10\x01\x32\x9a\x14\n\rCloudMemcache\x12\xbf\x01\n\rListInstances\x12\x33.google.cloud.memcache.v1beta2.ListInstancesRequest\x1a\x34.google.cloud.memcache.v1beta2.ListInstancesResponse\"C\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x34\x12\x32/v1beta2/{parent=projects/*/locations/*}/instances\x12\xac\x01\n\x0bGetInstance\x12\x31.google.cloud.memcache.v1beta2.GetInstanceRequest\x1a\'.google.cloud.memcache.v1beta2.Instance\"A\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34\x12\x32/v1beta2/{name=projects/*/locations/*/instances/*}\x12\xa6\x02\n\x0e\x43reateInstance\x12\x34.google.cloud.memcache.v1beta2.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\xbe\x01\xca\x41Y\n&google.cloud.memcache.v1beta2.Instance\x12/google.cloud.memcache.v1beta2.OperationMetadata\xda\x41\x1bparent,instance_id,resource\x82\xd3\xe4\x93\x02>\"2/v1beta2/{parent=projects/*/locations/*}/instances:\x08resource\x12\xa8\x02\n\x0eUpdateInstance\x12\x34.google.cloud.memcache.v1beta2.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\xc0\x01\xca\x41Y\n&google.cloud.memcache.v1beta2.Instance\x12/google.cloud.memcache.v1beta2.OperationMetadata\xda\x41\x14update_mask,resource\x82\xd3\xe4\x93\x02G2;/v1beta2/{resource.name=projects/*/locations/*/instances/*}:\x08resource\x12\xb4\x02\n\x10UpdateParameters\x12\x36.google.cloud.memcache.v1beta2.UpdateParametersRequest\x1a\x1d.google.longrunning.Operation\"\xc8\x01\xca\x41Y\n&google.cloud.memcache.v1beta2.Instance\x12/google.cloud.memcache.v1beta2.OperationMetadata\xda\x41\x1bname,update_mask,parameters\x82\xd3\xe4\x93\x02H2C/v1beta2/{name=projects/*/locations/*/instances/*}:updateParameters:\x01*\x12\xf4\x01\n\x0e\x44\x65leteInstance\x12\x34.google.cloud.memcache.v1beta2.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\xca\x41H\n\x15google.protobuf.Empty\x12/google.cloud.memcache.v1beta2.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34*2/v1beta2/{name=projects/*/locations/*/instances/*}\x12\xad\x02\n\x0f\x41pplyParameters\x12\x35.google.cloud.memcache.v1beta2.ApplyParametersRequest\x1a\x1d.google.longrunning.Operation\"\xc3\x01\xca\x41Y\n&google.cloud.memcache.v1beta2.Instance\x12/google.cloud.memcache.v1beta2.OperationMetadata\xda\x41\x17name,node_ids,apply_all\x82\xd3\xe4\x93\x02G\"B/v1beta2/{name=projects/*/locations/*/instances/*}:applyParameters:\x01*\x12\xc1\x02\n\x13\x41pplySoftwareUpdate\x12\x39.google.cloud.memcache.v1beta2.ApplySoftwareUpdateRequest\x1a\x1d.google.longrunning.Operation\"\xcf\x01\xca\x41Y\n&google.cloud.memcache.v1beta2.Instance\x12/google.cloud.memcache.v1beta2.OperationMetadata\xda\x41\x1binstance,node_ids,apply_all\x82\xd3\xe4\x93\x02O\"J/v1beta2/{instance=projects/*/locations/*/instances/*}:applySoftwareUpdate:\x01*\x12\xd4\x02\n\x15RescheduleMaintenance\x12;.google.cloud.memcache.v1beta2.RescheduleMaintenanceRequest\x1a\x1d.google.longrunning.Operation\"\xde\x01\xca\x41Y\n&google.cloud.memcache.v1beta2.Instance\x12/google.cloud.memcache.v1beta2.OperationMetadata\xda\x41(instance, reschedule_type, schedule_time\x82\xd3\xe4\x93\x02Q\"L/v1beta2/{instance=projects/*/locations/*/instances/*}:rescheduleMaintenance:\x01*\x1aK\xca\x41\x17memcache.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBx\n!com.google.cloud.memcache.v1beta2B\x12\x43loudMemcacheProtoP\x01Z=cloud.google.com/go/memcache/apiv1beta2/memcachepb;memcachepbb\x06proto3" pool = Google::Protobuf::DescriptorPool.generated_pool begin pool.add_serialized_file(descriptor_data) rescue TypeError # Compatibility code: will be removed in the next major version. require 'google/protobuf/descriptor_pb' parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) parsed.clear_dependency serialized = parsed.class.encode(parsed) file = pool.add_serialized_file(serialized) warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" imports = [ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], ["google.type.TimeOfDay", "google/type/timeofday.proto"], ["google.protobuf.Duration", "google/protobuf/duration.proto"], ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"], ] imports.each do |type_name, expected_filename| import_file = pool.lookup(type_name).file_descriptor if import_file.name != expected_filename warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" end end warn "Each proto file must use a consistent fully-qualified name." warn "This will become an error in the next major version." end module Google module Cloud module Memcache module V1beta2 Instance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.memcache.v1beta2.Instance").msgclass Instance::NodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.memcache.v1beta2.Instance.NodeConfig").msgclass Instance::Node = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.memcache.v1beta2.Instance.Node").msgclass Instance::Node::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.memcache.v1beta2.Instance.Node.State").enummodule Instance::InstanceMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.memcache.v1beta2.Instance.InstanceMessage").msgclass Instance::InstanceMessage::Code = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.memcache.v1beta2.Instance.InstanceMessage.Code").enummodule Instance::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.memcache.v1beta2.Instance.State").enummodule MaintenancePolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.memcache.v1beta2.MaintenancePolicy").msgclass WeeklyMaintenanceWindow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.memcache.v1beta2.WeeklyMaintenanceWindow").msgclass MaintenanceSchedule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.memcache.v1beta2.MaintenanceSchedule").msgclass ListInstancesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.memcache.v1beta2.ListInstancesRequest").msgclass ListInstancesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.memcache.v1beta2.ListInstancesResponse").msgclass GetInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.memcache.v1beta2.GetInstanceRequest").msgclass CreateInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.memcache.v1beta2.CreateInstanceRequest").msgclass UpdateInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.memcache.v1beta2.UpdateInstanceRequest").msgclass DeleteInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.memcache.v1beta2.DeleteInstanceRequest").msgclass RescheduleMaintenanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.memcache.v1beta2.RescheduleMaintenanceRequest").msgclass RescheduleMaintenanceRequest::RescheduleType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.memcache.v1beta2.RescheduleMaintenanceRequest.RescheduleType").enummodule ApplyParametersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.memcache.v1beta2.ApplyParametersRequest").msgclass UpdateParametersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.memcache.v1beta2.UpdateParametersRequest").msgclass ApplySoftwareUpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.memcache.v1beta2.ApplySoftwareUpdateRequest").msgclass MemcacheParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.memcache.v1beta2.MemcacheParameters").msgclass OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.memcache.v1beta2.OperationMetadata").msgclass LocationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.memcache.v1beta2.LocationMetadata").msgclass ZoneMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.memcache.v1beta2.ZoneMetadata").msgclass MemcacheVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.memcache.v1beta2.MemcacheVersion").enummodule end end end end