...

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

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

     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.12.2
    19  // source: google/cloud/batch/v1alpha1/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 and mount parameters to be associated with a TaskSpec. A TaskSpec
    39  // might describe zero, one, or multiple volumes to be mounted as part of the
    40  // task.
    41  type Volume struct {
    42  	state         protoimpl.MessageState
    43  	sizeCache     protoimpl.SizeCache
    44  	unknownFields protoimpl.UnknownFields
    45  
    46  	// The source for the volume.
    47  	//
    48  	// Types that are assignable to Source:
    49  	//	*Volume_Nfs
    50  	//	*Volume_Pd
    51  	//	*Volume_Gcs
    52  	Source isVolume_Source `protobuf_oneof:"source"`
    53  	// Mount path for the volume, e.g. /mnt/share
    54  	MountPath string `protobuf:"bytes,4,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
    55  	// Mount options
    56  	// For Google Cloud Storage, mount options are the global options supported by
    57  	// gcsfuse tool. Batch will use them to mount the volume with the following
    58  	// command:
    59  	// "gcsfuse [global options] bucket mountpoint".
    60  	// For PD, NFS, mount options are these supported by /etc/fstab. Batch will
    61  	// use Fstab to mount such volumes.
    62  	// https://help.ubuntu.com/community/Fstab
    63  	MountOptions []string `protobuf:"bytes,5,rep,name=mount_options,json=mountOptions,proto3" json:"mount_options,omitempty"`
    64  }
    65  
    66  func (x *Volume) Reset() {
    67  	*x = Volume{}
    68  	if protoimpl.UnsafeEnabled {
    69  		mi := &file_google_cloud_batch_v1alpha1_volume_proto_msgTypes[0]
    70  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    71  		ms.StoreMessageInfo(mi)
    72  	}
    73  }
    74  
    75  func (x *Volume) String() string {
    76  	return protoimpl.X.MessageStringOf(x)
    77  }
    78  
    79  func (*Volume) ProtoMessage() {}
    80  
    81  func (x *Volume) ProtoReflect() protoreflect.Message {
    82  	mi := &file_google_cloud_batch_v1alpha1_volume_proto_msgTypes[0]
    83  	if protoimpl.UnsafeEnabled && x != nil {
    84  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    85  		if ms.LoadMessageInfo() == nil {
    86  			ms.StoreMessageInfo(mi)
    87  		}
    88  		return ms
    89  	}
    90  	return mi.MessageOf(x)
    91  }
    92  
    93  // Deprecated: Use Volume.ProtoReflect.Descriptor instead.
    94  func (*Volume) Descriptor() ([]byte, []int) {
    95  	return file_google_cloud_batch_v1alpha1_volume_proto_rawDescGZIP(), []int{0}
    96  }
    97  
    98  func (m *Volume) GetSource() isVolume_Source {
    99  	if m != nil {
   100  		return m.Source
   101  	}
   102  	return nil
   103  }
   104  
   105  func (x *Volume) GetNfs() *NFS {
   106  	if x, ok := x.GetSource().(*Volume_Nfs); ok {
   107  		return x.Nfs
   108  	}
   109  	return nil
   110  }
   111  
   112  func (x *Volume) GetPd() *PD {
   113  	if x, ok := x.GetSource().(*Volume_Pd); ok {
   114  		return x.Pd
   115  	}
   116  	return nil
   117  }
   118  
   119  func (x *Volume) GetGcs() *GCS {
   120  	if x, ok := x.GetSource().(*Volume_Gcs); ok {
   121  		return x.Gcs
   122  	}
   123  	return nil
   124  }
   125  
   126  func (x *Volume) GetMountPath() string {
   127  	if x != nil {
   128  		return x.MountPath
   129  	}
   130  	return ""
   131  }
   132  
   133  func (x *Volume) GetMountOptions() []string {
   134  	if x != nil {
   135  		return x.MountOptions
   136  	}
   137  	return nil
   138  }
   139  
   140  type isVolume_Source interface {
   141  	isVolume_Source()
   142  }
   143  
   144  type Volume_Nfs struct {
   145  	// An NFS source for the volume (could be a Filestore, for example).
   146  	Nfs *NFS `protobuf:"bytes,1,opt,name=nfs,proto3,oneof"`
   147  }
   148  
   149  type Volume_Pd struct {
   150  	// A persistent disk source for the volume.
   151  	Pd *PD `protobuf:"bytes,2,opt,name=pd,proto3,oneof"`
   152  }
   153  
   154  type Volume_Gcs struct {
   155  	// A Google Cloud Storage source for the volume.
   156  	Gcs *GCS `protobuf:"bytes,3,opt,name=gcs,proto3,oneof"`
   157  }
   158  
   159  func (*Volume_Nfs) isVolume_Source() {}
   160  
   161  func (*Volume_Pd) isVolume_Source() {}
   162  
   163  func (*Volume_Gcs) isVolume_Source() {}
   164  
   165  // Represents an NFS server and remote path: <server>:<remote_path>
   166  type NFS struct {
   167  	state         protoimpl.MessageState
   168  	sizeCache     protoimpl.SizeCache
   169  	unknownFields protoimpl.UnknownFields
   170  
   171  	// URI of the NFS server, e.g. an IP address.
   172  	Server string `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
   173  	// Remote source path exported from NFS, e.g., "/share".
   174  	RemotePath string `protobuf:"bytes,2,opt,name=remote_path,json=remotePath,proto3" json:"remote_path,omitempty"`
   175  }
   176  
   177  func (x *NFS) Reset() {
   178  	*x = NFS{}
   179  	if protoimpl.UnsafeEnabled {
   180  		mi := &file_google_cloud_batch_v1alpha1_volume_proto_msgTypes[1]
   181  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   182  		ms.StoreMessageInfo(mi)
   183  	}
   184  }
   185  
   186  func (x *NFS) String() string {
   187  	return protoimpl.X.MessageStringOf(x)
   188  }
   189  
   190  func (*NFS) ProtoMessage() {}
   191  
   192  func (x *NFS) ProtoReflect() protoreflect.Message {
   193  	mi := &file_google_cloud_batch_v1alpha1_volume_proto_msgTypes[1]
   194  	if protoimpl.UnsafeEnabled && x != nil {
   195  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   196  		if ms.LoadMessageInfo() == nil {
   197  			ms.StoreMessageInfo(mi)
   198  		}
   199  		return ms
   200  	}
   201  	return mi.MessageOf(x)
   202  }
   203  
   204  // Deprecated: Use NFS.ProtoReflect.Descriptor instead.
   205  func (*NFS) Descriptor() ([]byte, []int) {
   206  	return file_google_cloud_batch_v1alpha1_volume_proto_rawDescGZIP(), []int{1}
   207  }
   208  
   209  func (x *NFS) GetServer() string {
   210  	if x != nil {
   211  		return x.Server
   212  	}
   213  	return ""
   214  }
   215  
   216  func (x *NFS) GetRemotePath() string {
   217  	if x != nil {
   218  		return x.RemotePath
   219  	}
   220  	return ""
   221  }
   222  
   223  // Represents a GCP persistent disk
   224  type PD struct {
   225  	state         protoimpl.MessageState
   226  	sizeCache     protoimpl.SizeCache
   227  	unknownFields protoimpl.UnknownFields
   228  
   229  	// PD disk name, e.g. pd-1.
   230  	Disk string `protobuf:"bytes,1,opt,name=disk,proto3" json:"disk,omitempty"`
   231  	// PD device name, e.g. persistent-disk-1.
   232  	Device   string `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"`
   233  	Existing bool   `protobuf:"varint,3,opt,name=existing,proto3" json:"existing,omitempty"`
   234  }
   235  
   236  func (x *PD) Reset() {
   237  	*x = PD{}
   238  	if protoimpl.UnsafeEnabled {
   239  		mi := &file_google_cloud_batch_v1alpha1_volume_proto_msgTypes[2]
   240  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   241  		ms.StoreMessageInfo(mi)
   242  	}
   243  }
   244  
   245  func (x *PD) String() string {
   246  	return protoimpl.X.MessageStringOf(x)
   247  }
   248  
   249  func (*PD) ProtoMessage() {}
   250  
   251  func (x *PD) ProtoReflect() protoreflect.Message {
   252  	mi := &file_google_cloud_batch_v1alpha1_volume_proto_msgTypes[2]
   253  	if protoimpl.UnsafeEnabled && x != nil {
   254  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   255  		if ms.LoadMessageInfo() == nil {
   256  			ms.StoreMessageInfo(mi)
   257  		}
   258  		return ms
   259  	}
   260  	return mi.MessageOf(x)
   261  }
   262  
   263  // Deprecated: Use PD.ProtoReflect.Descriptor instead.
   264  func (*PD) Descriptor() ([]byte, []int) {
   265  	return file_google_cloud_batch_v1alpha1_volume_proto_rawDescGZIP(), []int{2}
   266  }
   267  
   268  func (x *PD) GetDisk() string {
   269  	if x != nil {
   270  		return x.Disk
   271  	}
   272  	return ""
   273  }
   274  
   275  func (x *PD) GetDevice() string {
   276  	if x != nil {
   277  		return x.Device
   278  	}
   279  	return ""
   280  }
   281  
   282  func (x *PD) GetExisting() bool {
   283  	if x != nil {
   284  		return x.Existing
   285  	}
   286  	return false
   287  }
   288  
   289  // Represents a Google Cloud Storage volume source config.
   290  type GCS struct {
   291  	state         protoimpl.MessageState
   292  	sizeCache     protoimpl.SizeCache
   293  	unknownFields protoimpl.UnknownFields
   294  
   295  	// Remote path, either a bucket name or a subdirectory of a bucket, e.g.:
   296  	// bucket_name, bucket_name/subdirectory/
   297  	RemotePath string `protobuf:"bytes,1,opt,name=remote_path,json=remotePath,proto3" json:"remote_path,omitempty"`
   298  }
   299  
   300  func (x *GCS) Reset() {
   301  	*x = GCS{}
   302  	if protoimpl.UnsafeEnabled {
   303  		mi := &file_google_cloud_batch_v1alpha1_volume_proto_msgTypes[3]
   304  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   305  		ms.StoreMessageInfo(mi)
   306  	}
   307  }
   308  
   309  func (x *GCS) String() string {
   310  	return protoimpl.X.MessageStringOf(x)
   311  }
   312  
   313  func (*GCS) ProtoMessage() {}
   314  
   315  func (x *GCS) ProtoReflect() protoreflect.Message {
   316  	mi := &file_google_cloud_batch_v1alpha1_volume_proto_msgTypes[3]
   317  	if protoimpl.UnsafeEnabled && x != nil {
   318  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   319  		if ms.LoadMessageInfo() == nil {
   320  			ms.StoreMessageInfo(mi)
   321  		}
   322  		return ms
   323  	}
   324  	return mi.MessageOf(x)
   325  }
   326  
   327  // Deprecated: Use GCS.ProtoReflect.Descriptor instead.
   328  func (*GCS) Descriptor() ([]byte, []int) {
   329  	return file_google_cloud_batch_v1alpha1_volume_proto_rawDescGZIP(), []int{3}
   330  }
   331  
   332  func (x *GCS) GetRemotePath() string {
   333  	if x != nil {
   334  		return x.RemotePath
   335  	}
   336  	return ""
   337  }
   338  
   339  var File_google_cloud_batch_v1alpha1_volume_proto protoreflect.FileDescriptor
   340  
   341  var file_google_cloud_batch_v1alpha1_volume_proto_rawDesc = []byte{
   342  	0x0a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
   343  	0x61, 0x74, 0x63, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x6f,
   344  	0x6c, 0x75, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x67, 0x6f, 0x6f, 0x67,
   345  	0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76,
   346  	0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x22, 0xf5, 0x01, 0x0a, 0x06, 0x56, 0x6f, 0x6c, 0x75,
   347  	0x6d, 0x65, 0x12, 0x34, 0x0a, 0x03, 0x6e, 0x66, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
   348  	0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62,
   349  	0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4e, 0x46,
   350  	0x53, 0x48, 0x00, 0x52, 0x03, 0x6e, 0x66, 0x73, 0x12, 0x31, 0x0a, 0x02, 0x70, 0x64, 0x18, 0x02,
   351  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
   352  	0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
   353  	0x61, 0x31, 0x2e, 0x50, 0x44, 0x48, 0x00, 0x52, 0x02, 0x70, 0x64, 0x12, 0x34, 0x0a, 0x03, 0x67,
   354  	0x63, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   355  	0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31,
   356  	0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x43, 0x53, 0x48, 0x00, 0x52, 0x03, 0x67, 0x63,
   357  	0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18,
   358  	0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x68,
   359  	0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
   360  	0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x70,
   361  	0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22,
   362  	0x3e, 0x0a, 0x03, 0x4e, 0x46, 0x53, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
   363  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x1f,
   364  	0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20,
   365  	0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x22,
   366  	0x4c, 0x0a, 0x02, 0x50, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x69, 0x73, 0x6b, 0x18, 0x01, 0x20,
   367  	0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x69, 0x73, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x76,
   368  	0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63,
   369  	0x65, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20,
   370  	0x01, 0x28, 0x08, 0x52, 0x08, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x22, 0x26, 0x0a,
   371  	0x03, 0x47, 0x43, 0x53, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70,
   372  	0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74,
   373  	0x65, 0x50, 0x61, 0x74, 0x68, 0x42, 0x78, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f,
   374  	0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e,
   375  	0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
   376  	0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x40, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   377  	0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72,
   378  	0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63,
   379  	0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70,
   380  	0x68, 0x61, 0x31, 0x3b, 0x62, 0x61, 0x74, 0x63, 0x68, 0xa2, 0x02, 0x03, 0x47, 0x43, 0x42, 0x62,
   381  	0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   382  }
   383  
   384  var (
   385  	file_google_cloud_batch_v1alpha1_volume_proto_rawDescOnce sync.Once
   386  	file_google_cloud_batch_v1alpha1_volume_proto_rawDescData = file_google_cloud_batch_v1alpha1_volume_proto_rawDesc
   387  )
   388  
   389  func file_google_cloud_batch_v1alpha1_volume_proto_rawDescGZIP() []byte {
   390  	file_google_cloud_batch_v1alpha1_volume_proto_rawDescOnce.Do(func() {
   391  		file_google_cloud_batch_v1alpha1_volume_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_batch_v1alpha1_volume_proto_rawDescData)
   392  	})
   393  	return file_google_cloud_batch_v1alpha1_volume_proto_rawDescData
   394  }
   395  
   396  var file_google_cloud_batch_v1alpha1_volume_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   397  var file_google_cloud_batch_v1alpha1_volume_proto_goTypes = []interface{}{
   398  	(*Volume)(nil), // 0: google.cloud.batch.v1alpha1.Volume
   399  	(*NFS)(nil),    // 1: google.cloud.batch.v1alpha1.NFS
   400  	(*PD)(nil),     // 2: google.cloud.batch.v1alpha1.PD
   401  	(*GCS)(nil),    // 3: google.cloud.batch.v1alpha1.GCS
   402  }
   403  var file_google_cloud_batch_v1alpha1_volume_proto_depIdxs = []int32{
   404  	1, // 0: google.cloud.batch.v1alpha1.Volume.nfs:type_name -> google.cloud.batch.v1alpha1.NFS
   405  	2, // 1: google.cloud.batch.v1alpha1.Volume.pd:type_name -> google.cloud.batch.v1alpha1.PD
   406  	3, // 2: google.cloud.batch.v1alpha1.Volume.gcs:type_name -> google.cloud.batch.v1alpha1.GCS
   407  	3, // [3:3] is the sub-list for method output_type
   408  	3, // [3:3] is the sub-list for method input_type
   409  	3, // [3:3] is the sub-list for extension type_name
   410  	3, // [3:3] is the sub-list for extension extendee
   411  	0, // [0:3] is the sub-list for field type_name
   412  }
   413  
   414  func init() { file_google_cloud_batch_v1alpha1_volume_proto_init() }
   415  func file_google_cloud_batch_v1alpha1_volume_proto_init() {
   416  	if File_google_cloud_batch_v1alpha1_volume_proto != nil {
   417  		return
   418  	}
   419  	if !protoimpl.UnsafeEnabled {
   420  		file_google_cloud_batch_v1alpha1_volume_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   421  			switch v := v.(*Volume); i {
   422  			case 0:
   423  				return &v.state
   424  			case 1:
   425  				return &v.sizeCache
   426  			case 2:
   427  				return &v.unknownFields
   428  			default:
   429  				return nil
   430  			}
   431  		}
   432  		file_google_cloud_batch_v1alpha1_volume_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   433  			switch v := v.(*NFS); i {
   434  			case 0:
   435  				return &v.state
   436  			case 1:
   437  				return &v.sizeCache
   438  			case 2:
   439  				return &v.unknownFields
   440  			default:
   441  				return nil
   442  			}
   443  		}
   444  		file_google_cloud_batch_v1alpha1_volume_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   445  			switch v := v.(*PD); i {
   446  			case 0:
   447  				return &v.state
   448  			case 1:
   449  				return &v.sizeCache
   450  			case 2:
   451  				return &v.unknownFields
   452  			default:
   453  				return nil
   454  			}
   455  		}
   456  		file_google_cloud_batch_v1alpha1_volume_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   457  			switch v := v.(*GCS); i {
   458  			case 0:
   459  				return &v.state
   460  			case 1:
   461  				return &v.sizeCache
   462  			case 2:
   463  				return &v.unknownFields
   464  			default:
   465  				return nil
   466  			}
   467  		}
   468  	}
   469  	file_google_cloud_batch_v1alpha1_volume_proto_msgTypes[0].OneofWrappers = []interface{}{
   470  		(*Volume_Nfs)(nil),
   471  		(*Volume_Pd)(nil),
   472  		(*Volume_Gcs)(nil),
   473  	}
   474  	type x struct{}
   475  	out := protoimpl.TypeBuilder{
   476  		File: protoimpl.DescBuilder{
   477  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   478  			RawDescriptor: file_google_cloud_batch_v1alpha1_volume_proto_rawDesc,
   479  			NumEnums:      0,
   480  			NumMessages:   4,
   481  			NumExtensions: 0,
   482  			NumServices:   0,
   483  		},
   484  		GoTypes:           file_google_cloud_batch_v1alpha1_volume_proto_goTypes,
   485  		DependencyIndexes: file_google_cloud_batch_v1alpha1_volume_proto_depIdxs,
   486  		MessageInfos:      file_google_cloud_batch_v1alpha1_volume_proto_msgTypes,
   487  	}.Build()
   488  	File_google_cloud_batch_v1alpha1_volume_proto = out.File
   489  	file_google_cloud_batch_v1alpha1_volume_proto_rawDesc = nil
   490  	file_google_cloud_batch_v1alpha1_volume_proto_goTypes = nil
   491  	file_google_cloud_batch_v1alpha1_volume_proto_depIdxs = nil
   492  }
   493  

View as plain text