func file_operations_proto_init()

in proto/go/gitalypb/operations.pb.go [5393:5487]


func file_operations_proto_init() {
	if File_operations_proto != nil {
		return
	}
	file_errors_proto_init()
	file_lint_proto_init()
	file_shared_proto_init()
	file_operations_proto_msgTypes[2].OneofWrappers = []any{
		(*UserCreateBranchError_CustomHook)(nil),
	}
	file_operations_proto_msgTypes[7].OneofWrappers = []any{
		(*UserDeleteBranchError_AccessCheck)(nil),
		(*UserDeleteBranchError_ReferenceUpdate)(nil),
		(*UserDeleteBranchError_CustomHook)(nil),
	}
	file_operations_proto_msgTypes[12].OneofWrappers = []any{
		(*UserCreateTagError_AccessCheck)(nil),
		(*UserCreateTagError_ReferenceUpdate)(nil),
		(*UserCreateTagError_CustomHook)(nil),
		(*UserCreateTagError_ReferenceExists)(nil),
	}
	file_operations_proto_msgTypes[15].OneofWrappers = []any{
		(*UserMergeBranchError_AccessCheck)(nil),
		(*UserMergeBranchError_ReferenceUpdate)(nil),
		(*UserMergeBranchError_CustomHook)(nil),
		(*UserMergeBranchError_MergeConflict)(nil),
	}
	file_operations_proto_msgTypes[21].OneofWrappers = []any{
		(*UserFFBranchError_CustomHook)(nil),
		(*UserFFBranchError_ReferenceUpdate)(nil),
	}
	file_operations_proto_msgTypes[26].OneofWrappers = []any{
		(*UserCherryPickError_CherryPickConflict)(nil),
		(*UserCherryPickError_TargetBranchDiverged)(nil),
		(*UserCherryPickError_ChangesAlreadyApplied)(nil),
		(*UserCherryPickError_AccessCheck)(nil),
	}
	file_operations_proto_msgTypes[29].OneofWrappers = []any{
		(*UserRevertError_MergeConflict)(nil),
		(*UserRevertError_ChangesAlreadyApplied)(nil),
		(*UserRevertError_CustomHook)(nil),
		(*UserRevertError_NotAncestor)(nil),
	}
	file_operations_proto_msgTypes[31].OneofWrappers = []any{
		(*UserCommitFilesAction_Header)(nil),
		(*UserCommitFilesAction_Content)(nil),
	}
	file_operations_proto_msgTypes[33].OneofWrappers = []any{
		(*UserCommitFilesRequest_Header)(nil),
		(*UserCommitFilesRequest_Action)(nil),
	}
	file_operations_proto_msgTypes[35].OneofWrappers = []any{
		(*UserCommitFilesError_AccessCheck)(nil),
		(*UserCommitFilesError_IndexUpdate)(nil),
		(*UserCommitFilesError_CustomHook)(nil),
	}
	file_operations_proto_msgTypes[36].OneofWrappers = []any{
		(*UserRebaseConfirmableRequest_Header_)(nil),
		(*UserRebaseConfirmableRequest_Apply)(nil),
	}
	file_operations_proto_msgTypes[37].OneofWrappers = []any{
		(*UserRebaseConfirmableResponse_RebaseSha)(nil),
		(*UserRebaseConfirmableResponse_RebaseApplied)(nil),
	}
	file_operations_proto_msgTypes[40].OneofWrappers = []any{
		(*UserRebaseConfirmableError_RebaseConflict)(nil),
		(*UserRebaseConfirmableError_AccessCheck)(nil),
	}
	file_operations_proto_msgTypes[41].OneofWrappers = []any{
		(*UserSquashError_ResolveRevision)(nil),
		(*UserSquashError_RebaseConflict)(nil),
	}
	file_operations_proto_msgTypes[42].OneofWrappers = []any{
		(*UserApplyPatchRequest_Header_)(nil),
		(*UserApplyPatchRequest_Patches)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_operations_proto_rawDesc), len(file_operations_proto_rawDesc)),
			NumEnums:      2,
			NumMessages:   48,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_operations_proto_goTypes,
		DependencyIndexes: file_operations_proto_depIdxs,
		EnumInfos:         file_operations_proto_enumTypes,
		MessageInfos:      file_operations_proto_msgTypes,
	}.Build()
	File_operations_proto = out.File
	file_operations_proto_goTypes = nil
	file_operations_proto_depIdxs = nil
}