...

Source file src/google.golang.org/genproto/googleapis/cloud/batch/v1alpha/volume.pb.go

Documentation: google.golang.org/genproto/googleapis/cloud/batch/v1alpha

     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/batch/v1alpha/volume.proto
    20  
    21  package batch
    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  )
    30  
    31  const (
    32  	// Verify that this generated code is sufficiently up-to-date.
    33  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    34  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    35  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    36  )
    37  
    38  // Volume describes a volume and parameters for it to be mounted to a VM.
    39  type Volume struct {
    40  	state         protoimpl.MessageState
    41  	sizeCache     protoimpl.SizeCache
    42  	unknownFields protoimpl.UnknownFields
    43  
    44  	// The source for the volume.
    45  	//
    46  	// Types that are assignable to Source:
    47  	//
    48  	//	*Volume_Nfs
    49  	//	*Volume_Pd
    50  	//	*Volume_Gcs
    51  	//	*Volume_DeviceName
    52  	Source isVolume_Source `protobuf_oneof:"source"`
    53  	// The mount path for the volume, e.g. /mnt/disks/share.
    54  	MountPath string `protobuf:"bytes,4,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
    55  	// For Google Cloud Storage (GCS), mount options are the options supported by
    56  	// the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
    57  	// For existing persistent disks, mount options provided by the
    58  	// mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except
    59  	// writing are supported. This is due to restrictions of multi-writer mode
    60  	// (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms).
    61  	// For other attached disks and Network File System (NFS), mount options are
    62  	// these supported by the mount command
    63  	// (https://man7.org/linux/man-pages/man8/mount.8.html).
    64  	MountOptions []string `protobuf:"bytes,5,rep,name=mount_options,json=mountOptions,proto3" json:"mount_options,omitempty"`
    65  }
    66  
    67  func (x *Volume) Reset() {
    68  	*x = Volume{}
    69  	if protoimpl.UnsafeEnabled {
    70  		mi := &file_google_cloud_batch_v1alpha_volume_proto_msgTypes[0]
    71  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    72  		ms.StoreMessageInfo(mi)
    73  	}
    74  }
    75  
    76  func (x *Volume) String() string {
    77  	return protoimpl.X.MessageStringOf(x)
    78  }
    79  
    80  func (*Volume) ProtoMessage() {}
    81  
    82  func (x *Volume) ProtoReflect() protoreflect.Message {
    83  	mi := &file_google_cloud_batch_v1alpha_volume_proto_msgTypes[0]
    84  	if protoimpl.UnsafeEnabled && x != nil {
    85  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    86  		if ms.LoadMessageInfo() == nil {
    87  			ms.StoreMessageInfo(mi)
    88  		}
    89  		return ms
    90  	}
    91  	return mi.MessageOf(x)
    92  }
    93  
    94  // Deprecated: Use Volume.ProtoReflect.Descriptor instead.
    95  func (*Volume) Descriptor() ([]byte, []int) {
    96  	return file_google_cloud_batch_v1alpha_volume_proto_rawDescGZIP(), []int{0}
    97  }
    98  
    99  func (m *Volume) GetSource() isVolume_Source {
   100  	if m != nil {
   101  		return m.Source
   102  	}
   103  	return nil
   104  }
   105  
   106  func (x *Volume) GetNfs() *NFS {
   107  	if x, ok := x.GetSource().(*Volume_Nfs); ok {
   108  		return x.Nfs
   109  	}
   110  	return nil
   111  }
   112  
   113  // Deprecated: Do not use.
   114  func (x *Volume) GetPd() *PD {
   115  	if x, ok := x.GetSource().(*Volume_Pd); ok {
   116  		return x.Pd
   117  	}
   118  	return nil
   119  }
   120  
   121  func (x *Volume) GetGcs() *GCS {
   122  	if x, ok := x.GetSource().(*Volume_Gcs); ok {
   123  		return x.Gcs
   124  	}
   125  	return nil
   126  }
   127  
   128  func (x *Volume) GetDeviceName() string {
   129  	if x, ok := x.GetSource().(*Volume_DeviceName); ok {
   130  		return x.DeviceName
   131  	}
   132  	return ""
   133  }
   134  
   135  func (x *Volume) GetMountPath() string {
   136  	if x != nil {
   137  		return x.MountPath
   138  	}
   139  	return ""
   140  }
   141  
   142  func (x *Volume) GetMountOptions() []string {
   143  	if x != nil {
   144  		return x.MountOptions
   145  	}
   146  	return nil
   147  }
   148  
   149  type isVolume_Source interface {
   150  	isVolume_Source()
   151  }
   152  
   153  type Volume_Nfs struct {
   154  	// A Network File System (NFS) volume. For example, a
   155  	// Filestore file share.
   156  	Nfs *NFS `protobuf:"bytes,1,opt,name=nfs,proto3,oneof"`
   157  }
   158  
   159  type Volume_Pd struct {
   160  	// Deprecated: please use device_name instead.
   161  	//
   162  	// Deprecated: Do not use.
   163  	Pd *PD `protobuf:"bytes,2,opt,name=pd,proto3,oneof"`
   164  }
   165  
   166  type Volume_Gcs struct {
   167  	// A Google Cloud Storage (GCS) volume.
   168  	Gcs *GCS `protobuf:"bytes,3,opt,name=gcs,proto3,oneof"`
   169  }
   170  
   171  type Volume_DeviceName struct {
   172  	// Device name of an attached disk volume, which should align with a
   173  	// device_name specified by
   174  	// job.allocation_policy.instances[0].policy.disks[i].device_name or
   175  	// defined by the given instance template in
   176  	// job.allocation_policy.instances[0].instance_template.
   177  	DeviceName string `protobuf:"bytes,6,opt,name=device_name,json=deviceName,proto3,oneof"`
   178  }
   179  
   180  func (*Volume_Nfs) isVolume_Source() {}
   181  
   182  func (*Volume_Pd) isVolume_Source() {}
   183  
   184  func (*Volume_Gcs) isVolume_Source() {}
   185  
   186  func (*Volume_DeviceName) isVolume_Source() {}
   187  
   188  // Represents an NFS volume.
   189  type NFS struct {
   190  	state         protoimpl.MessageState
   191  	sizeCache     protoimpl.SizeCache
   192  	unknownFields protoimpl.UnknownFields
   193  
   194  	// The IP address of the NFS.
   195  	Server string `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
   196  	// Remote source path exported from the NFS, e.g., "/share".
   197  	RemotePath string `protobuf:"bytes,2,opt,name=remote_path,json=remotePath,proto3" json:"remote_path,omitempty"`
   198  }
   199  
   200  func (x *NFS) Reset() {
   201  	*x = NFS{}
   202  	if protoimpl.UnsafeEnabled {
   203  		mi := &file_google_cloud_batch_v1alpha_volume_proto_msgTypes[1]
   204  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   205  		ms.StoreMessageInfo(mi)
   206  	}
   207  }
   208  
   209  func (x *NFS) String() string {
   210  	return protoimpl.X.MessageStringOf(x)
   211  }
   212  
   213  func (*NFS) ProtoMessage() {}
   214  
   215  func (x *NFS) ProtoReflect() protoreflect.Message {
   216  	mi := &file_google_cloud_batch_v1alpha_volume_proto_msgTypes[1]
   217  	if protoimpl.UnsafeEnabled && x != nil {
   218  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   219  		if ms.LoadMessageInfo() == nil {
   220  			ms.StoreMessageInfo(mi)
   221  		}
   222  		return ms
   223  	}
   224  	return mi.MessageOf(x)
   225  }
   226  
   227  // Deprecated: Use NFS.ProtoReflect.Descriptor instead.
   228  func (*NFS) Descriptor() ([]byte, []int) {
   229  	return file_google_cloud_batch_v1alpha_volume_proto_rawDescGZIP(), []int{1}
   230  }
   231  
   232  func (x *NFS) GetServer() string {
   233  	if x != nil {
   234  		return x.Server
   235  	}
   236  	return ""
   237  }
   238  
   239  func (x *NFS) GetRemotePath() string {
   240  	if x != nil {
   241  		return x.RemotePath
   242  	}
   243  	return ""
   244  }
   245  
   246  // Deprecated: please use device_name instead.
   247  type PD struct {
   248  	state         protoimpl.MessageState
   249  	sizeCache     protoimpl.SizeCache
   250  	unknownFields protoimpl.UnknownFields
   251  
   252  	// PD disk name, e.g. pd-1.
   253  	Disk string `protobuf:"bytes,1,opt,name=disk,proto3" json:"disk,omitempty"`
   254  	// PD device name, e.g. persistent-disk-1.
   255  	Device string `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"`
   256  	// Whether this is an existing PD. Default is false. If false, i.e., new
   257  	// PD, we will format it into ext4 and mount to the given path. If true, i.e.,
   258  	// existing PD, it should be in ext4 format and we will mount it to the given
   259  	// path.
   260  	//
   261  	// Deprecated: Do not use.
   262  	Existing bool `protobuf:"varint,3,opt,name=existing,proto3" json:"existing,omitempty"`
   263  }
   264  
   265  func (x *PD) Reset() {
   266  	*x = PD{}
   267  	if protoimpl.UnsafeEnabled {
   268  		mi := &file_google_cloud_batch_v1alpha_volume_proto_msgTypes[2]
   269  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   270  		ms.StoreMessageInfo(mi)
   271  	}
   272  }
   273  
   274  func (x *PD) String() string {
   275  	return protoimpl.X.MessageStringOf(x)
   276  }
   277  
   278  func (*PD) ProtoMessage() {}
   279  
   280  func (x *PD) ProtoReflect() protoreflect.Message {
   281  	mi := &file_google_cloud_batch_v1alpha_volume_proto_msgTypes[2]
   282  	if protoimpl.UnsafeEnabled && x != nil {
   283  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   284  		if ms.LoadMessageInfo() == nil {
   285  			ms.StoreMessageInfo(mi)
   286  		}
   287  		return ms
   288  	}
   289  	return mi.MessageOf(x)
   290  }
   291  
   292  // Deprecated: Use PD.ProtoReflect.Descriptor instead.
   293  func (*PD) Descriptor() ([]byte, []int) {
   294  	return file_google_cloud_batch_v1alpha_volume_proto_rawDescGZIP(), []int{2}
   295  }
   296  
   297  func (x *PD) GetDisk() string {
   298  	if x != nil {
   299  		return x.Disk
   300  	}
   301  	return ""
   302  }
   303  
   304  func (x *PD) GetDevice() string {
   305  	if x != nil {
   306  		return x.Device
   307  	}
   308  	return ""
   309  }
   310  
   311  // Deprecated: Do not use.
   312  func (x *PD) GetExisting() bool {
   313  	if x != nil {
   314  		return x.Existing
   315  	}
   316  	return false
   317  }
   318  
   319  // Represents a Google Cloud Storage volume.
   320  type GCS struct {
   321  	state         protoimpl.MessageState
   322  	sizeCache     protoimpl.SizeCache
   323  	unknownFields protoimpl.UnknownFields
   324  
   325  	// Remote path, either a bucket name or a subdirectory of a bucket, e.g.:
   326  	// bucket_name, bucket_name/subdirectory/
   327  	RemotePath string `protobuf:"bytes,1,opt,name=remote_path,json=remotePath,proto3" json:"remote_path,omitempty"`
   328  }
   329  
   330  func (x *GCS) Reset() {
   331  	*x = GCS{}
   332  	if protoimpl.UnsafeEnabled {
   333  		mi := &file_google_cloud_batch_v1alpha_volume_proto_msgTypes[3]
   334  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   335  		ms.StoreMessageInfo(mi)
   336  	}
   337  }
   338  
   339  func (x *GCS) String() string {
   340  	return protoimpl.X.MessageStringOf(x)
   341  }
   342  
   343  func (*GCS) ProtoMessage() {}
   344  
   345  func (x *GCS) ProtoReflect() protoreflect.Message {
   346  	mi := &file_google_cloud_batch_v1alpha_volume_proto_msgTypes[3]
   347  	if protoimpl.UnsafeEnabled && x != nil {
   348  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   349  		if ms.LoadMessageInfo() == nil {
   350  			ms.StoreMessageInfo(mi)
   351  		}
   352  		return ms
   353  	}
   354  	return mi.MessageOf(x)
   355  }
   356  
   357  // Deprecated: Use GCS.ProtoReflect.Descriptor instead.
   358  func (*GCS) Descriptor() ([]byte, []int) {
   359  	return file_google_cloud_batch_v1alpha_volume_proto_rawDescGZIP(), []int{3}
   360  }
   361  
   362  func (x *GCS) GetRemotePath() string {
   363  	if x != nil {
   364  		return x.RemotePath
   365  	}
   366  	return ""
   367  }
   368  
   369  var File_google_cloud_batch_v1alpha_volume_proto protoreflect.FileDescriptor
   370  
   371  var file_google_cloud_batch_v1alpha_volume_proto_rawDesc = []byte{
   372  	0x0a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
   373  	0x61, 0x74, 0x63, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x76, 0x6f, 0x6c,
   374  	0x75, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   375  	0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31,
   376  	0x61, 0x6c, 0x70, 0x68, 0x61, 0x22, 0x99, 0x02, 0x0a, 0x06, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
   377  	0x12, 0x33, 0x0a, 0x03, 0x6e, 0x66, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e,
   378  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74,
   379  	0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4e, 0x46, 0x53, 0x48, 0x00,
   380  	0x52, 0x03, 0x6e, 0x66, 0x73, 0x12, 0x34, 0x0a, 0x02, 0x70, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
   381  	0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
   382  	0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x50,
   383  	0x44, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x02, 0x70, 0x64, 0x12, 0x33, 0x0a, 0x03, 0x67,
   384  	0x63, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   385  	0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31,
   386  	0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x47, 0x43, 0x53, 0x48, 0x00, 0x52, 0x03, 0x67, 0x63, 0x73,
   387  	0x12, 0x21, 0x0a, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
   388  	0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e,
   389  	0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x74,
   390  	0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61,
   391  	0x74, 0x68, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69,
   392  	0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x6f, 0x75, 0x6e, 0x74,
   393  	0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63,
   394  	0x65, 0x22, 0x3e, 0x0a, 0x03, 0x4e, 0x46, 0x53, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x76,
   395  	0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
   396  	0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18,
   397  	0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x74,
   398  	0x68, 0x22, 0x50, 0x0a, 0x02, 0x50, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x69, 0x73, 0x6b, 0x18,
   399  	0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x69, 0x73, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x64,
   400  	0x65, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x76,
   401  	0x69, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x08, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x18,
   402  	0x03, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x08, 0x65, 0x78, 0x69, 0x73, 0x74,
   403  	0x69, 0x6e, 0x67, 0x22, 0x26, 0x0a, 0x03, 0x47, 0x43, 0x53, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65,
   404  	0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
   405  	0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x42, 0xd0, 0x01, 0x0a, 0x1e,
   406  	0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
   407  	0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x0b,
   408  	0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3f, 0x67,
   409  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67,
   410  	0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   411  	0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68,
   412  	0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x62, 0x61, 0x74, 0x63, 0x68, 0xa2, 0x02,
   413  	0x03, 0x47, 0x43, 0x42, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c,
   414  	0x6f, 0x75, 0x64, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x56, 0x31, 0x41, 0x6c, 0x70, 0x68,
   415  	0x61, 0xca, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64,
   416  	0x5c, 0x42, 0x61, 0x74, 0x63, 0x68, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0xea, 0x02,
   417  	0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a,
   418  	0x42, 0x61, 0x74, 0x63, 0x68, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x62, 0x06,
   419  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   420  }
   421  
   422  var (
   423  	file_google_cloud_batch_v1alpha_volume_proto_rawDescOnce sync.Once
   424  	file_google_cloud_batch_v1alpha_volume_proto_rawDescData = file_google_cloud_batch_v1alpha_volume_proto_rawDesc
   425  )
   426  
   427  func file_google_cloud_batch_v1alpha_volume_proto_rawDescGZIP() []byte {
   428  	file_google_cloud_batch_v1alpha_volume_proto_rawDescOnce.Do(func() {
   429  		file_google_cloud_batch_v1alpha_volume_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_batch_v1alpha_volume_proto_rawDescData)
   430  	})
   431  	return file_google_cloud_batch_v1alpha_volume_proto_rawDescData
   432  }
   433  
   434  var file_google_cloud_batch_v1alpha_volume_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   435  var file_google_cloud_batch_v1alpha_volume_proto_goTypes = []interface{}{
   436  	(*Volume)(nil), // 0: google.cloud.batch.v1alpha.Volume
   437  	(*NFS)(nil),    // 1: google.cloud.batch.v1alpha.NFS
   438  	(*PD)(nil),     // 2: google.cloud.batch.v1alpha.PD
   439  	(*GCS)(nil),    // 3: google.cloud.batch.v1alpha.GCS
   440  }
   441  var file_google_cloud_batch_v1alpha_volume_proto_depIdxs = []int32{
   442  	1, // 0: google.cloud.batch.v1alpha.Volume.nfs:type_name -> google.cloud.batch.v1alpha.NFS
   443  	2, // 1: google.cloud.batch.v1alpha.Volume.pd:type_name -> google.cloud.batch.v1alpha.PD
   444  	3, // 2: google.cloud.batch.v1alpha.Volume.gcs:type_name -> google.cloud.batch.v1alpha.GCS
   445  	3, // [3:3] is the sub-list for method output_type
   446  	3, // [3:3] is the sub-list for method input_type
   447  	3, // [3:3] is the sub-list for extension type_name
   448  	3, // [3:3] is the sub-list for extension extendee
   449  	0, // [0:3] is the sub-list for field type_name
   450  }
   451  
   452  func init() { file_google_cloud_batch_v1alpha_volume_proto_init() }
   453  func file_google_cloud_batch_v1alpha_volume_proto_init() {
   454  	if File_google_cloud_batch_v1alpha_volume_proto != nil {
   455  		return
   456  	}
   457  	if !protoimpl.UnsafeEnabled {
   458  		file_google_cloud_batch_v1alpha_volume_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   459  			switch v := v.(*Volume); i {
   460  			case 0:
   461  				return &v.state
   462  			case 1:
   463  				return &v.sizeCache
   464  			case 2:
   465  				return &v.unknownFields
   466  			default:
   467  				return nil
   468  			}
   469  		}
   470  		file_google_cloud_batch_v1alpha_volume_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   471  			switch v := v.(*NFS); i {
   472  			case 0:
   473  				return &v.state
   474  			case 1:
   475  				return &v.sizeCache
   476  			case 2:
   477  				return &v.unknownFields
   478  			default:
   479  				return nil
   480  			}
   481  		}
   482  		file_google_cloud_batch_v1alpha_volume_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   483  			switch v := v.(*PD); i {
   484  			case 0:
   485  				return &v.state
   486  			case 1:
   487  				return &v.sizeCache
   488  			case 2:
   489  				return &v.unknownFields
   490  			default:
   491  				return nil
   492  			}
   493  		}
   494  		file_google_cloud_batch_v1alpha_volume_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   495  			switch v := v.(*GCS); i {
   496  			case 0:
   497  				return &v.state
   498  			case 1:
   499  				return &v.sizeCache
   500  			case 2:
   501  				return &v.unknownFields
   502  			default:
   503  				return nil
   504  			}
   505  		}
   506  	}
   507  	file_google_cloud_batch_v1alpha_volume_proto_msgTypes[0].OneofWrappers = []interface{}{
   508  		(*Volume_Nfs)(nil),
   509  		(*Volume_Pd)(nil),
   510  		(*Volume_Gcs)(nil),
   511  		(*Volume_DeviceName)(nil),
   512  	}
   513  	type x struct{}
   514  	out := protoimpl.TypeBuilder{
   515  		File: protoimpl.DescBuilder{
   516  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   517  			RawDescriptor: file_google_cloud_batch_v1alpha_volume_proto_rawDesc,
   518  			NumEnums:      0,
   519  			NumMessages:   4,
   520  			NumExtensions: 0,
   521  			NumServices:   0,
   522  		},
   523  		GoTypes:           file_google_cloud_batch_v1alpha_volume_proto_goTypes,
   524  		DependencyIndexes: file_google_cloud_batch_v1alpha_volume_proto_depIdxs,
   525  		MessageInfos:      file_google_cloud_batch_v1alpha_volume_proto_msgTypes,
   526  	}.Build()
   527  	File_google_cloud_batch_v1alpha_volume_proto = out.File
   528  	file_google_cloud_batch_v1alpha_volume_proto_rawDesc = nil
   529  	file_google_cloud_batch_v1alpha_volume_proto_goTypes = nil
   530  	file_google_cloud_batch_v1alpha_volume_proto_depIdxs = nil
   531  }
   532  

View as plain text