github.com/mutagen-io/mutagen@v0.18.0-rc1/pkg/synchronization/stage_mode.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.33.0
     4  // 	protoc        v5.26.1
     5  // source: synchronization/stage_mode.proto
     6  
     7  package synchronization
     8  
     9  import (
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    12  	reflect "reflect"
    13  	sync "sync"
    14  )
    15  
    16  const (
    17  	// Verify that this generated code is sufficiently up-to-date.
    18  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    19  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    21  )
    22  
    23  // StageMode specifies the mode for file staging.
    24  type StageMode int32
    25  
    26  const (
    27  	// StageMode_StageModeDefault represents an unspecified staging mode. It
    28  	// should be converted to one of the following values based on the desired
    29  	// default behavior.
    30  	StageMode_StageModeDefault StageMode = 0
    31  	// StageMode_StageModeMutagen specifies that files should be staged in the
    32  	// Mutagen data directory.
    33  	StageMode_StageModeMutagen StageMode = 1
    34  	// StageMode_StageModeNeighboring specifies that files should be staged in a
    35  	// directory which neighbors the synchronization root.
    36  	StageMode_StageModeNeighboring StageMode = 2
    37  	// StageMode_StageModeInternal specified that files should be staged in a
    38  	// directory contained within a synchronization root. This mode will only
    39  	// function if the synchronization root already exists.
    40  	StageMode_StageModeInternal StageMode = 3
    41  )
    42  
    43  // Enum value maps for StageMode.
    44  var (
    45  	StageMode_name = map[int32]string{
    46  		0: "StageModeDefault",
    47  		1: "StageModeMutagen",
    48  		2: "StageModeNeighboring",
    49  		3: "StageModeInternal",
    50  	}
    51  	StageMode_value = map[string]int32{
    52  		"StageModeDefault":     0,
    53  		"StageModeMutagen":     1,
    54  		"StageModeNeighboring": 2,
    55  		"StageModeInternal":    3,
    56  	}
    57  )
    58  
    59  func (x StageMode) Enum() *StageMode {
    60  	p := new(StageMode)
    61  	*p = x
    62  	return p
    63  }
    64  
    65  func (x StageMode) String() string {
    66  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    67  }
    68  
    69  func (StageMode) Descriptor() protoreflect.EnumDescriptor {
    70  	return file_synchronization_stage_mode_proto_enumTypes[0].Descriptor()
    71  }
    72  
    73  func (StageMode) Type() protoreflect.EnumType {
    74  	return &file_synchronization_stage_mode_proto_enumTypes[0]
    75  }
    76  
    77  func (x StageMode) Number() protoreflect.EnumNumber {
    78  	return protoreflect.EnumNumber(x)
    79  }
    80  
    81  // Deprecated: Use StageMode.Descriptor instead.
    82  func (StageMode) EnumDescriptor() ([]byte, []int) {
    83  	return file_synchronization_stage_mode_proto_rawDescGZIP(), []int{0}
    84  }
    85  
    86  var File_synchronization_stage_mode_proto protoreflect.FileDescriptor
    87  
    88  var file_synchronization_stage_mode_proto_rawDesc = []byte{
    89  	0x0a, 0x20, 0x73, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f,
    90  	0x6e, 0x2f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f,
    91  	0x74, 0x6f, 0x12, 0x0f, 0x73, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74,
    92  	0x69, 0x6f, 0x6e, 0x2a, 0x68, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x67, 0x65, 0x4d, 0x6f, 0x64, 0x65,
    93  	0x12, 0x14, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x67, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x44, 0x65, 0x66,
    94  	0x61, 0x75, 0x6c, 0x74, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x67, 0x65, 0x4d,
    95  	0x6f, 0x64, 0x65, 0x4d, 0x75, 0x74, 0x61, 0x67, 0x65, 0x6e, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14,
    96  	0x53, 0x74, 0x61, 0x67, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x4e, 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f,
    97  	0x72, 0x69, 0x6e, 0x67, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x74, 0x61, 0x67, 0x65, 0x4d,
    98  	0x6f, 0x64, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x10, 0x03, 0x42, 0x33, 0x5a,
    99  	0x31, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x75, 0x74, 0x61,
   100  	0x67, 0x65, 0x6e, 0x2d, 0x69, 0x6f, 0x2f, 0x6d, 0x75, 0x74, 0x61, 0x67, 0x65, 0x6e, 0x2f, 0x70,
   101  	0x6b, 0x67, 0x2f, 0x73, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69,
   102  	0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   103  }
   104  
   105  var (
   106  	file_synchronization_stage_mode_proto_rawDescOnce sync.Once
   107  	file_synchronization_stage_mode_proto_rawDescData = file_synchronization_stage_mode_proto_rawDesc
   108  )
   109  
   110  func file_synchronization_stage_mode_proto_rawDescGZIP() []byte {
   111  	file_synchronization_stage_mode_proto_rawDescOnce.Do(func() {
   112  		file_synchronization_stage_mode_proto_rawDescData = protoimpl.X.CompressGZIP(file_synchronization_stage_mode_proto_rawDescData)
   113  	})
   114  	return file_synchronization_stage_mode_proto_rawDescData
   115  }
   116  
   117  var file_synchronization_stage_mode_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   118  var file_synchronization_stage_mode_proto_goTypes = []interface{}{
   119  	(StageMode)(0), // 0: synchronization.StageMode
   120  }
   121  var file_synchronization_stage_mode_proto_depIdxs = []int32{
   122  	0, // [0:0] is the sub-list for method output_type
   123  	0, // [0:0] is the sub-list for method input_type
   124  	0, // [0:0] is the sub-list for extension type_name
   125  	0, // [0:0] is the sub-list for extension extendee
   126  	0, // [0:0] is the sub-list for field type_name
   127  }
   128  
   129  func init() { file_synchronization_stage_mode_proto_init() }
   130  func file_synchronization_stage_mode_proto_init() {
   131  	if File_synchronization_stage_mode_proto != nil {
   132  		return
   133  	}
   134  	type x struct{}
   135  	out := protoimpl.TypeBuilder{
   136  		File: protoimpl.DescBuilder{
   137  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   138  			RawDescriptor: file_synchronization_stage_mode_proto_rawDesc,
   139  			NumEnums:      1,
   140  			NumMessages:   0,
   141  			NumExtensions: 0,
   142  			NumServices:   0,
   143  		},
   144  		GoTypes:           file_synchronization_stage_mode_proto_goTypes,
   145  		DependencyIndexes: file_synchronization_stage_mode_proto_depIdxs,
   146  		EnumInfos:         file_synchronization_stage_mode_proto_enumTypes,
   147  	}.Build()
   148  	File_synchronization_stage_mode_proto = out.File
   149  	file_synchronization_stage_mode_proto_rawDesc = nil
   150  	file_synchronization_stage_mode_proto_goTypes = nil
   151  	file_synchronization_stage_mode_proto_depIdxs = nil
   152  }